Request parameters.
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.
Weight: 1
Request parameters.
This API is for fetching the RSA Public Key. This RSA Public key will be used to encrypt the card code.
Please note that the RSA Public key fetched is valid only for the current day.*
Weight: 1
Request parameters.
This API is to help you verify which tokens are available for you to create Stablecoin-Denominated gift cards as mentioned in section 2 and its’ limitation.
Weight: 1
Request parameters.
This API is for redeeming a Binance Gift Card Once redeemed, the coins will be deposited in your funding wallet.
Parameter code can be sent in two formats: Plaintext Encrypted
Sending code in Encrypted format provides more security than sending it as a plaintext. To send card code in encrypted format the following steps must be followed:
Fetch RSA public key from api stated below.
Use the below algorithm to encrypt the card code using the RSA public key fetched above: RSA/ECB/OAEPWithSHA-256AndMGF1Padding
A sample code snippet (JAVA) is stated below for reference, the same approach can be used for different languages like C#, PERL, PYTHON, SHELL etc.:*
Weight: 1
Request parameters.
Generic function to send a request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
A promise resolving to the response data object.
Generic function to send a signed request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
A promise resolving to the response data object.
This API is for verifying whether the Binance Gift Card is valid or not by entering Gift Card Number.
Please note that if you enter the wrong Gift Card Number 5 times within an hour, you will no longer be able to verify any Gift Card Number for that hour.*
Weight: 1
Request parameters.
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.
Weight: 1