Skip to main content
POST
/
api
/
v1
/
payments
Create payment
curl --request POST \
  --url https://live.launcx.com/api/v1/payments \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-timestamp: <x-timestamp>' \
  --data '
{
  "expiresIn": 123,
  "flow": "<string>",
  "playerId": "<string>",
  "price": 123
}
'
{
  "data": {
    "checkoutUrl": "<string>",
    "orderId": "<string>",
    "playerId": "<string>",
    "qrPayload": "<string>",
    "totalAmount": 123
  },
  "success": true
}

Headers

x-api-key
string
required

Client API Key

x-timestamp
string
required

Unix timestamp in milliseconds

Body

application/json

Payment creation request

expiresIn
integer
flow
string
playerId
string
price
number

Response

Payment created successfully

data
object
success
boolean