> For the complete documentation index, see [llms.txt](https://docs.0xprocessing.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0xprocessing.com/0xprocessing-api/binance-pay.md).

# Binance Pay

### Authorization

{% hint style="danger" %}
**Authentication Rule** The request must contain an **`APIKEY`** header with your API key. The key can be generated in the merchant dashboard under **Settings \ API .**
{% endhint %}

All requests must include the following header:

```http
APIKEY: your_api_key_here
Content-Type: application/x-www-form-urlencoded
```

***

{% content-ref url="/pages/zsjgOVVS4bdCc4boIcOq" %}
[Create Binance Pay Deposit](/0xprocessing-api/binance-pay/create-binance-pay-deposit.md)
{% endcontent-ref %}

{% content-ref url="/pages/dkJcXQW0pKj5xgKpu9ON" %}
[List Supported Coins (Binance Pay ID)](/0xprocessing-api/binance-pay/list-supported-coins-binance-pay-id.md)
{% endcontent-ref %}

{% content-ref url="/pages/q1XhEkCaHTyEskBfJmgd" %}
[Withdraw to Binance Pay ID](/0xprocessing-api/binance-pay/withdraw-to-binance-pay-id.md)
{% endcontent-ref %}

{% content-ref url="/pages/etUDXAqcEDgKWdHHZ2AY" %}
[List Coins for On-Chain Withdrawal](/0xprocessing-api/binance-pay/list-coins-for-on-chain-withdrawal.md)
{% endcontent-ref %}

{% content-ref url="/pages/ikmlUypdukphNnKO4XOk" %}
[On-Chain Withdrawal via Binance pay](/0xprocessing-api/binance-pay/on-chain-withdrawal-via-binance-pay.md)
{% endcontent-ref %}

{% content-ref url="/pages/tLiTkVfAL1iV2E3ltuit" %}
[Webhooks](/0xprocessing-api/binance-pay/webhooks.md)
{% endcontent-ref %}

***

### Important Notes

* **ExternalId Uniqueness**: The `ExternalId` must be unique per transaction in your system. It is used for idempotency — submitting the same `ExternalId` twice will return the existing transaction data instead of creating a duplicate.
* **txId Availability**: For on-chain withdrawals, `txId` is null while the transaction is pending. It is populated once the transaction is broadcast to the blockchain.
* **binanceId in Response**: The `binanceId` in the withdrawal response becomes available after Binance processes the request. It is null immediately after creation.
* Currency format for on-chain: Always use the exact name returned by `/BinanceOnchainWithdrawCoins` in the  &#x20;Currency field — including the network suffix, e.g. USDT (BEP20).
* Deposit flow: After calling `/binancepaydeposit`, redirect the client to the url field or display the qrLink. The client  &#x20;must complete payment in the Binance app.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.0xprocessing.com/0xprocessing-api/binance-pay.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
