How to Download and Set up Binance Gift Card API

2022-01-12 08:19

Effective from 20 July 2023, only verified entity accounts can create and transfer Binance Gift Cards, including the use of the Binance Gift Card API to do so. If you wish to create and transfer gift cards, please register for an entity account and complete Entity Verification. If you already have a verified entity account, you can download the API here.

Note: Please sign out of your existing Binance account before attempting to register for a new entity account.

Download API here

Step 1: Create credential

Register and log in to your Binance account, then go to [API Management]. Enter the label API key and click [Create API].

image


Upon successful creation, you can get the API Key and Secret Key. Never share your API key or secret key with anyone.

image

For “/createCode” API, you need to select [Enable Withdrawals] and enter your request IP for the API key.

image

Step 2: Call Binance Gift Card API to generate signature and timestamp

Each API must pass the timestamp and signature parameter, please refer to the Binance official API document.

image

Each API must add X-MBX-APIKEY: "YOUR_API_KEY" as the request header.