v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Gift Card

Fetch Token Limit (USER_DATA)

This API is to help you verify which tokens are available for you to purchase fixed-value gift cards as mentioned in section 2 and it's limitation.

Weight(IP): 1

get/sapi/v1/giftcard/buyCode/token-limit

Query parameters

baseTokenstring required

The token you want to pay, example BUSD

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Token limit

codestring required
messagestring required
successboolean required

Example response

{
  "code": "000000",
  "message": "success",
  "data": {
    "coin": "BNB",
    "fromMin": "0.01",
    "fromMax": "1"
  }
}