For the complete documentation index, see llms.txt. This page is also available as Markdown.

Automatic POSTBACK

The method allows you to automatically receive notifications about invoice confirmation.

After the invoice is successfully confirmed, a POST request with payment information is sent to the notification URL specified in the project settings.

The system supports two POSTBACK formats:

  1. JSON

  2. application/x-www-form-urlencoded

To configure the POSTBACK format, go to your project settings and open the «Integration & API» section.

After successful payment execution, a POST request with information about the payment is sent to the notification URL specified in the project settings.

What the method allows you to do

  • Automatically sends a POST request to the URL you specified after the invoice is confirmed by the system.

  • The POSTBACK format can be configured.

Postback parameters

Name
Type
Example
Description

status

string

success

Request execution status

invoice_id

string

89UX09KA

Unique payment identifier without the INV prefix

amount_crypto

float

0.000113

Payment amount in cryptocurrency

currency

string

BNB

Currency code BTC, LTC, TRX, SOL, TON, BNB, ETH, ETH_ARB, ETH_BASE, ETH_OPT, USDT_ARB, USDT_BSC, USDT_ERC20, USDT_OPT, USDT_SOL, USDT_TON, USDT_TRC20, USDC_ARB, USDC_BASE, USDC_BSC, USDC_ERC20, USDC_OPT, USDC_SOL, DAI_ARB, DAI_BASE, DAI_BSC, DAI_ERC20, DAI_OPT, USDD_TRC20, PYUSD_ERC20, PYUSD_SOL, XAUT_ERC20, XAUT_TON, ARB_ARB, OP_OPT, PEPE_BSC, PEPE_ERC20, SHIB_BSC, SHIB_ERC20, TRUMP_SOL

order_id

string

ORDER_93223

Custom invoice number in the external system

token

string

eyJ0eXAiOiJKV1QiLCJhbGciOiJIAcI1NiJ9.eyJpZCI6MTMsImV4cCI6MTYzMTc4NjQyNn0.HQavV3z8dFnk56bX3MSY5X9lR6qVa9YhAoeTEHkaAzs

JWT token — server response signature

invoice_info

dict

"invoice_info": {

"uuid": "INV-ILRAJE1Q",

"created": "2026-01-01 10:20:04.222439",

"address": "0x635DBa<...>2Ec029fc555af05d2",

"currency": {

"id": 20,

"code": "BNB",

"fullcode": "BNB",

"network": {

"code": "BSC",

"id": 20,

"icon": "https://cdn.trybit.com/img/network/BSC.svg",

"fullname": "BNB Smart Chain"

}

Detailed invoice information. Available only in JSON.

JWT token — a signature of the server response. It is signed with the secret key (SECRET KEY) generated in the project settings. The token is valid for 5 minutes after the notification is created. A new token is generated each time a payment notification is sent.

Encryption algorithm — HS256.

JSON Postback example

JSON Postback handler examples

These examples show how you can handle POSTBACK notifications in JSON format on your project side.

Example of a POSTBACK handler for application/x-www-form-urlencoded:

These examples show how you can handle POSTBACK notifications in application/x-www-form-urlencoded format on your project side.

Last updated

Was this helpful?