Skip to main content

Native APIs

Our Payment APIs allows you to handle 100% of your front-end interactions. Use our APIs and build your own checkout page with full control over your design.

How it works#

  1. Merchants integrate APIs to get QR codes/ App Deeplink from the Binance server.
  2. Merchants display the QR codes / App Deeplink on their websites.
  3. Customers scan QR / Open Binance App and pay.
1

Step 1

Create your own checkout page and call our APIs to get the Binance Pay QR/App Deeplink.

2

Step 2

Users can select over 50 cryptocurrencies to pay with.

3

Step 3

Users enter their Pay PIN.

4

Step 4

Payment successful. BUSD will be sent to your account.

Create Order API#

You can use the “Create Order” API to initiate an order. You will receive a checkoutURL in the API response. Redirect users to the checkoutURL and they can complete the payment on our Binance hosted checkout page.

End Point#
POST /binancepay/openapi/v2/order
Request Example#

For full API specification, please go to API Request Reference.

{  "env" : {    "terminalType": "APP"  },  "merchantTradeNo": "9825382937292",  "orderAmount": 25.17,  "currency": "BUSD",  "goods" : {    "goodsType": "01",    "goodsCategory": "D000",    "referenceGoodsId": "7876763A3B",    "goodsName": "Ice Cream",    "goodsDetail": "Greentea ice cream cone"  }}
Response Example#

For full API specification, please go to API Response Reference. By default, the link will expire after 1 hour.

{  "status": "SUCCESS",  "code": "000000",  "data": {    "prepayId": "29383937493038367292",    "terminalType": "APP",    "expireTime": 121123232223,    "qrcodeLink": "https://qrservice.dev.com/en/qr/dplkb005181944f84b84aba2430e1177012b.jpg",    "qrContent": "https://qrservice.dev.com/en/qr/dplk12121112b",    "checkoutUrl": "https://pay.binance.com/checkout/dplk12121112b",    "deeplink": "bnc://app.binance.com/payment/secpay/xxxxxx"  },  "errorMessage": ""}

“prepayId” is the unique ID to identify the transaction. Please save it in your database so you can track the transaction status afterwards.

You can retrieve the QR code and app deeplink from the Create Order API response.

1

Step 1

Get the QR code link from the parameter "qrcodeLink"

2

Step 2

Get the app deep link from the parameter “qrContent” to redirect your customers to the Binance App to pay