Fetch the current status and full details of any order (collection or payout) by itsDocumentation Index
Fetch the complete documentation index at: https://docs.xpaylabs.com/llms.txt
Use this file to discover all available pages before exploring further.
orderId. This endpoint is authenticated and intended for merchant server-to-server use.
Request
GET http://your-gateway:3010/v1/order/status/{orderId}
Path Parameters
The order identifier you specified when creating the collection or payout. Example:
order_1042.cURL
Response
A successful request returns HTTP200 with the R<NotifyOrder> envelope.
NotifyOrder Object
The order identifier that was used when creating the collection or payout.
The user identifier associated with the order, if provided.
The type of order:
COLLECTION or PAYOUT.Current order status:
INIT— Order created, awaiting customer paymentPENDING— Transaction detected, awaiting confirmationsPENDING_CONFIRMATION— Waiting for block confirmationsSUCCESS— Payment confirmed successfullyEXPIRED— Order expired without paymentFAILED— Transaction failed
If the order failed or expired, this field contains the reason.
null otherwise.The requested amount as a decimal string (e.g.,
"250.00").The actual amount received/paid. May differ from
amount due to network fees or partial fills. null until confirmed.The platform handling fee deducted (if applicable).
"0" for zero-fee configurations.Blockchain transaction details.
null until a transaction is detected. See below.Transaction Object
The blockchain network (e.g.,
"TRON", "ETH", "BSC").The token symbol (e.g.,
"USDT").The blockchain transaction hash.
The sender’s blockchain address.
The receiver’s blockchain address.
The transfer amount in decimal format.
The block number where the transaction was included.
The number of block confirmations received.
Blockchain transaction status:
PENDING, SUCCESS, or FAILED.Unix timestamp of when the transaction was included in a block.

