API Gift Card Endpoints
- Source
Methods
giftCardCreateCode(token, amount, optionsopt)
Create a Binance Code (USER_DATA)
POST /sapi/v1/giftcard/createCode
https://binance-docs.github.io/apidocs/spot/en/#create-a-binance-code-user_data
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
token | string | The coin type contained in the Binance Code | |||||||||
amount | number | The amount of the coin | |||||||||
options | object | <optional> | Properties
|
- Source
giftCardRedeemCode(code, optionsopt)
Redeem a Binance Code (USER_DATA)
POST /sapi/v1/giftcard/redeemCode
https://binance-docs.github.io/apidocs/spot/en/#redeem-a-binance-code-user_data
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code | string | Binance Code | |||||||||||||
options | object | <optional> | Properties
|
- Source
giftCardRsaPublicKey(optionsopt)
Fetch RSA Public Key (USER_DATA)
GET /sapi/v1/giftcard/cryptography/rsa-public-key
https://binance-docs.github.io/apidocs/spot/en/#fetch-rsa-public-key-user_data
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
giftCardVerifyCode(referenceNo, optionsopt)
Verify a Binance Code (USER_DATA)
GET /sapi/v1/giftcard/verify
https://binance-docs.github.io/apidocs/spot/en/#verify-a-binance-code-user_data
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
referenceNo | string | reference number | |||||||||
options | object | <optional> | Properties
|
- Source