Skip to main content
Creates a new collection order. The gateway generates a unique deposit address for the specified blockchain and token. Your customer sends funds to this address, and the blockchain scanner detects the transaction automatically.

Request

POST http://your-gateway:180/v1/order/createCollection

Headers

Body Parameters (data field)

string
required
The payment amount as a decimal string, e.g. "100.00". Must be greater than zero.
string
required
The token symbol to accept, e.g. "USDT". Must be a supported symbol on the specified chain.
string
required
The blockchain network:
  • TRON — TRC20 tokens (USDT, USDC)
  • ETH — Ethereum ERC20
  • BSC — BNB Smart Chain BEP20
  • POLYGON — Polygon
  • AVAX_C_CHAIN — Avalanche C-Chain
  • SUI — SUI Network
string
Your unique order identifier. Required for V3 merchants. Used to correlate the collection with your internal order system.
string
Your internal user identifier. Required for V2 merchants. Cannot be "0".

cURL

Node.js


Response

A successful request returns HTTP 200 with the R<PaymentAddress> envelope.

PaymentAddress Object

string
The generated deposit address where the customer sends funds. Example: "TWkKZkmuB8DpVeiMoHiKf99ZoFHzk73CqR".
string
The collection amount as a decimal string. Matches the request amount.
string
The token symbol for this collection. Example: "USDT".
string
The blockchain network. Example: "TRON".
string
Your order identifier, echoed back from the request.
string
Your user identifier, echoed back from the request.
integer
Unix timestamp when this collection expires. After expiry, the deposit address is no longer valid for new transactions.
string
URL to the hosted checkout page where the customer can view payment instructions and a QR code.

Example Response


Error Responses

400 — Validation Error

429 — Rate Limit Exceeded

Last modified on June 26, 2026