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].

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

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

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.

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