curl --request GET \
--url https://openplatform.gateapi.io/v1/pay/address/query \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>'{
"prepayId": "1661239048576446",
"merchantId": 10002,
"merchantTradeNo": "43959345943769874395",
"transactionId": "347827943294834379",
"goodsName": "abc",
"fromAddress": "",
"currency": "BTC",
"orderAmount": "9.88",
"payCurrency": "USDT",
"payAmount": "197600",
"surchargeAmount": "",
"fiatCurrency": "",
"fiatAmount": "",
"fiatRate": "",
"rate": "20000",
"status": "PENDING",
"createTime": 1663657128148,
"expireTime": 1664089128000,
"transactTime": 1663829928000,
"order_name": "orderName",
"transaction_info": {
"done_amount": "10.11",
"done_amount_total": "10.11",
"confirming_list": [
{
"amount": "0.35",
"confirm": 3
},
{
"amount": "0.65",
"confirm": 4
}
],
"done_tx_item_list": [
{
"chain": "BSC",
"address": "0x5E86088F084dD253fBd6d5ad955af6f53EFC8073",
"fullCurrType": "USDT_BSC",
"amount": "10.11",
"txId": "D1758212402891",
"utcCreateTime": "2025-09-18 08:20:03",
"utcUpdateTime": "2025-09-18 08:20:03",
"fromAddress": "LHDwcMPVPXXvrmSlRVeEcxsLUCvtThHLa"
}
],
"confirming_tx_item_list": [
{
"chain": "BSC",
"address": "0x5E86088F084dD253fBd6d5ad955af6f53EFC8022",
"fullCurrType": "USDT_BSC",
"amount": "10.11",
"txId": "D1758212402811",
"utcCreateTime": "2025-09-18 08:20:03",
"utcUpdateTime": "2025-09-18 08:20:03",
"fromAddress": "LHDwcMPVPXXvrmSlRVeEcxsLUCvtThHLa"
}
]
},
"channelId": "123456",
"chain": "ETN",
"address": "0x67C30f439D7734f393c2F4a587B198b8F4086Ccb"
}Check the details of the new address payment order, the specified parameters must correspond to the address payment order, otherwise an error message will be returned.
curl --request GET \
--url https://openplatform.gateapi.io/v1/pay/address/query \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>'{
"prepayId": "1661239048576446",
"merchantId": 10002,
"merchantTradeNo": "43959345943769874395",
"transactionId": "347827943294834379",
"goodsName": "abc",
"fromAddress": "",
"currency": "BTC",
"orderAmount": "9.88",
"payCurrency": "USDT",
"payAmount": "197600",
"surchargeAmount": "",
"fiatCurrency": "",
"fiatAmount": "",
"fiatRate": "",
"rate": "20000",
"status": "PENDING",
"createTime": 1663657128148,
"expireTime": 1664089128000,
"transactTime": 1663829928000,
"order_name": "orderName",
"transaction_info": {
"done_amount": "10.11",
"done_amount_total": "10.11",
"confirming_list": [
{
"amount": "0.35",
"confirm": 3
},
{
"amount": "0.65",
"confirm": 4
}
],
"done_tx_item_list": [
{
"chain": "BSC",
"address": "0x5E86088F084dD253fBd6d5ad955af6f53EFC8073",
"fullCurrType": "USDT_BSC",
"amount": "10.11",
"txId": "D1758212402891",
"utcCreateTime": "2025-09-18 08:20:03",
"utcUpdateTime": "2025-09-18 08:20:03",
"fromAddress": "LHDwcMPVPXXvrmSlRVeEcxsLUCvtThHLa"
}
],
"confirming_tx_item_list": [
{
"chain": "BSC",
"address": "0x5E86088F084dD253fBd6d5ad955af6f53EFC8022",
"fullCurrType": "USDT_BSC",
"amount": "10.11",
"txId": "D1758212402811",
"utcCreateTime": "2025-09-18 08:20:03",
"utcUpdateTime": "2025-09-18 08:20:03",
"fromAddress": "LHDwcMPVPXXvrmSlRVeEcxsLUCvtThHLa"
}
]
},
"channelId": "123456",
"chain": "ETN",
"address": "0x67C30f439D7734f393c2F4a587B198b8F4086Ccb"
}Merchant client ID, obtained from GatePay platform
HMAC-SHA256 signature for request validation
Timestamp in milliseconds, must not differ from server time by more than 5 minutes
Random nonce for replay attack prevention
Prepay order ID for address payment
Merchant system transaction number
SUCCESS
Response parameters
Payment order ID
Gate UID used to apply for a merchant account
Merchant system transaction number
Transaction ID
Product name provided by the merchant when creating the order
Currency of the order
Amount of the order
Amount of the surcharge
Tolerance Amount:If the remaining unpaid amount is less than or equal to the configured tolerance amount, the order will be automatically marked as Paid, with no further payment required.
After payment is completed, the remaining payment amount
Fiat order currency.
Fiat order amount.
Fiat rate.
Currency that the user actually paid, which is the same as the order currency in non-flash payment orders
Amount that the user should pay
Exchange rate between the order currency and the user's payment currency, for example, 1 BTC for 20,000 USDT
Order status, PENDING for processing, PROCESS for payment enough but not yet confirmed on the blockchain within the order validity period, PAID for payment success, EXPIRED for order expired
Order creation time
Order expiration time
Time when the order was traded within Gate
Order name
Show child attributes
Client Name
Network name
Collection address
The from address