Skip to main content
POST
/
api
/
v1
/
checkouts
/
{id}
/
attempts
/
binance-pay
Create a new binance pay checkout attempt
curl --request POST \
  --url https://api.zenobank.io/api/v1/checkouts/{id}/attempts/binance-pay \
  --header 'Content-Type: application/json' \
  --data '
{
  "tokenId": "USDC_BINANCE_PAY",
  "checkoutId": "ckl1234567890"
}
'
{
  "depositAccountId": "568321",
  "tokenPayAmount": "100",
  "binanceTokenId": "USDC",
  "qrPaymentLink": "https://app.binance.com/qr/dplk5a5a5f871aa84c62861ae075ee15a1fb"
}

Path Parameters

id
string
required

Body

application/json
tokenId
string
required

Token ID to use for this attempt

Maximum string length: 256
Example:

"USDC_BINANCE_PAY"

checkoutId
string
required

Checkout ID to use for this attempt

Maximum string length: 256
Example:

"ckl1234567890"

Response

201 - application/json
depositAccountId
string
required

Deposit Binance ID for the payment attempt

Example:

"568321"

tokenPayAmount
string
required

Token pay amount for the payment attempt

Example:

"100"

binanceTokenId
string
required

Binance token ID for the payment attempt

Example:

"USDC"

QR payment link for the payment attempt

Example:

"https://app.binance.com/qr/dplk5a5a5f871aa84c62861ae075ee15a1fb"