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

# How Payments Work

This page explains how a payment moves through the Bitnbox system from creation to fulfillment. Read this before starting your integration.

## Payment flow

{% stepper %}
{% step %}

### Payment creation

Your server calls `POST /v1/payment`. Bitnbox validates the parameters and generates a satellite wallet address reserved exclusively for this payment.
{% endstep %}

{% step %}

### Address returned to merchant

Bitnbox returns the `payAddress`, `payQrCodeUri`, and `checkoutUrl`. You display the address to your customer or redirect them to the hosted checkout page.
{% endstep %}

{% step %}

### Customer sends funds

The customer has **15 minutes** to transfer the required amount to the wallet address. The address itself remains reserved for the merchant for **3 hours** after the transaction completes before it can be reassigned to another payment.
{% endstep %}

{% step %}

### Blockchain monitoring

Bitnbox monitors the blockchain for an incoming transaction. External providers are used: Moralis for EVM networks, CryptoAPIs for Tron. A backup cron process handles any missed events.
{% endstep %}

{% step %}

### Confirmations + KYT check

Once the transaction is detected, Bitnbox waits for the required number of network confirmations. In parallel, an AML/KYT check runs on the sender's wallet (Crystal Intelligence + Chainalysis).
{% endstep %}

{% step %}

### Webhook sent to merchant

On every status change, Bitnbox sends a POST request to your `webhookUrl`. The final `paid` status means funds are credited to your balance and it is safe to fulfill the order.
{% endstep %}

{% step %}

### Order fulfillment

Your server processes the `paid` webhook and fulfills the order — delivers goods or credits the user's account balance.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
See [Transaction Statuses ](https://docs.bitnbox.com/payments/transaction-statuses.md)for the full list of statuses and what to do on each one.
{% endhint %}

{% hint style="info" %}
See [Webhooks Set Up](https://docs.bitnbox.com/guides/webhooks-set-up.md) for payload structure and signature verification.
{% endhint %}

## Specifics of on-chain payments

**Currency and network**

Every on-chain payment requires both a `currency` and a `network`. For example, USDT on Ethereum and USDT on Tron are different combinations — the customer must send using the exact pair specified in the invoice. Sending the wrong currency or network requires manual recovery.

{% hint style="info" %}
See [Edge Cases](https://docs.bitnbox.com/payments/edge-cases.md) for what to do if the wrong currency or network is used.
{% endhint %}

**Satellite wallets**

Each payment gets a dedicated satellite wallet address that is locked to that single transaction until it completes. If no free wallets are available, a new one is generated automatically.

A payment address remains reserved for **3 hours after the transaction completes**. After that, it may be reassigned to a different payment for any merchant. If funds arrive at a previously used address after this window, contact your Customer Success Manager.

**Payment methods**

| Method       | Description                                                                          |
| ------------ | ------------------------------------------------------------------------------------ |
| `crypto`     | Unified method – used for all crypto payments, including Binance Pay and KuCoin Pay. |
| `binancepay` | Deprecated                                                                           |
| `kucoinpay`  | Deprecated                                                                           |
