Query Pay-in Order Status

Queries pay-in order details by platform order number, returning the current status and key timestamps.

GET/openapi/payin/orders/{orderNo}

Request Headers

FieldTypeRequiredDescription
x-api-keystringYesMerchant API Key. Use the value beginning with mch_ from the merchant API settings page.
x-merchant-uidstringYesMerchant UID.
x-timestampstringYes13-digit millisecond timestamp. The default allowed clock drift is 5 minutes.
x-noncestringYesUnique random string for each request, up to 128 characters. Reuse is rejected.
x-signaturestringYesHex signature generated with HMAC-SHA256. The payload contains Merchant UID, timestamp, nonce, method, path, canonical query, and canonical body.

Request Parameters

FieldTypeRequiredDescription
orderNostringYesPath parameter. The platform order number returned when creating the pay-in order.

Request Example

GET /openapi/payin/orders/PI1776193200123ABCD1234

Response Fields

FieldTypeRequiredDescription
orderNostringYesPlatform order number.
merchantOrderNostring | nullYesMerchant order number.
bindKeystring | nullYesBinding key for member recharge. Usually empty for shared pay-in orders.
amountstring | nullYesOrder amount.
paidAmountstring | nullYesPaid amount.
addressstring | nullYesReceiving address.
cashierUrlstring | nullYesCheckout URL.
paymentUristring | nullYesWallet payment URI.
expireAtstring | nullYesOrder expiration time.
createdAtstring | nullYesCreated time.
detectedAtstring | nullYesPayment detected time.
confirmedAtstring | nullYesConfirmation time.
completedAtstring | nullYesCompletion time.
statusstringYesOrder status.

Response Example

{
  "orderNo": "PI1776193200123ABCD1234",
  "merchantOrderNo": "M202604150001",
  "bindKey": "USER_90001",
  "amount": "100.000000",
  "paidAmount": "100.000000",
  "address": "TXYZ3x9nJ5J4xP2gh6mQW7rT31jB8Y2pA9",
  "cashierUrl": "https://open.uugate.com/SK/PI1776193200123ABCD1234",
  "paymentUri": "TRON:TXYZ3x9nJ5J4xP2gh6mQW7rT31jB8Y2pA9?token=USDT&amount=100.000000",
  "expireAt": "2026-04-18T06:30:00.000Z",
  "createdAt": "2026-04-18T06:00:00.000Z",
  "detectedAt": "2026-04-18T06:08:15.000Z",
  "confirmedAt": "2026-04-18T06:09:02.000Z",
  "completedAt": "2026-04-18T06:09:02.000Z",
  "status": "completed"
}

Code Examples

cURL Request Example
curl 'https://api.uugate.com/openapi/payin/orders/PI1776193200123ABCD1234' \
  -H 'x-api-key: mch_xxxxxxxxxxxxxxxxxxxx' \
  -H 'x-merchant-uid: 880001' \
  -H 'x-timestamp: 1776193500000' \
  -H 'x-nonce: 0d51f901bb7340ffb0cf70f5f0f26018' \
  -H 'x-signature: <SIGNATURE_HEX>'

Notes

  • For final business success, use status=completed.