> 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/create-binance-pay-deposit.md).

# Create Binance Pay Deposit

{% 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
```

Creates a deposit request via Binance Pay. Returns a QR code and a direct payment URL for the client to complete the payment.

* **Method:** `POST`
* **Endpoint:** `https://app.0xprocessing.com/api/binancepaydeposit`

#### Request Body (x-www-form-urlencoded)

| Parameter      | Type   | Required | Description                                 |
| -------------- | ------ | :------: | ------------------------------------------- |
| **Token**      | string |    Yes   | Currency code (e.g., `USDT`).               |
| **ClientId**   | string |    Yes   | Client identifier in the merchant's system. |
| **ExternalId** | string |    Yes   | Unique transaction ID on the merchant side. |
| **Email**      | string |    Yes   | Client's email address.                     |
| **Amount**     | number |    Yes   | Deposit amount.                             |

#### Response Example

```json
{
    "id": 50683108,
    "binanceId": "436472398856937472",
    "amount": 3.0,
    "token": "USDT",
    "qrLink": "https://public.bnbstatic.com/static/payment/20260610/63775572-6951-4452-99dd-f553f0c17174.jpg",
    "url": "https://pay.binance.com/en/checkout/3023473eefb64933a901f155dfbad543"
}
```

#### Response Fields

| Field         | Type    | Description                                   |
| ------------- | ------- | --------------------------------------------- |
| **id**        | integer | Internal deposit ID in 0xProcessing.          |
| **binanceId** | string  | Binance transaction ID.                       |
| **amount**    | number  | Deposit amount.                               |
| **token**     | string  | Currency code.                                |
| **qrLink**    | string  | URL of the QR code image for Binance Pay.     |
| **url**       | string  | Direct link to the Binance Pay checkout page. |

{% hint style="info" %}
**Implementation Note** Direct the client to the `url` or display the `qrLink` in your payment interface. The client must scan the QR code or open the link in the Binance app to complete the payment.
{% endhint %}
