Create a single-token gift card (USER_DATA)
API Description
This API is for creating a Binance Gift Card.
To get started with, please make sure:
- You have a Binance account
- You have passed KYB
- You have a sufficient balance(Gift Card amount and fee amount) in your Binance funding wallet
- You need
Enable Withdrawals
for the API Key which requests this endpoint.
HTTP Request
POST /sapi/v1/giftcard/createCode
Request Weight(IP)
1
- Monthly creation volume: 4,200,000 USDC / month / account
- Monthly creation quantity: 6,000 Gift Cards / month / account
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
token | STRING | YES | The token type contained in the Binance Gift Card |
amount | DOUBLE | YES | The amount of the token contained in the Binance Gift Card |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Response Example
{
"code": "000000",
"message": "success",
"data": {
"referenceNo": "0033002144060553",
"code": "6H9EKF5ECCWFBHGE",
"expiredTime": 1727417154000
},
"success": true
}