curl --request GET \
--url https://openplatform.gateapi.io/v1/pay/wallet/withdrawals \
--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>'[
{
"id": "w1879219868",
"currency": "USDT",
"address": "THISISTESTADDRESSFORGATEPAY",
"amount": "4.023",
"fee": "0",
"txid": "Internal transaction 260594131",
"chain": "BSC",
"timestamp": "1745220149",
"status": "DONE",
"withdraw_order_id": "202504211521368538928",
"block_number": "1000",
"fail_reason": "",
"type": "appbankgp",
"timestamp2": "1745220149",
"memo": ""
}
]Query account withdrawal records list based on filter criteria.
curl --request GET \
--url https://openplatform.gateapi.io/v1/pay/wallet/withdrawals \
--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>'[
{
"id": "w1879219868",
"currency": "USDT",
"address": "THISISTESTADDRESSFORGATEPAY",
"amount": "4.023",
"fee": "0",
"txid": "Internal transaction 260594131",
"chain": "BSC",
"timestamp": "1745220149",
"status": "DONE",
"withdraw_order_id": "202504211521368538928",
"block_number": "1000",
"fail_reason": "",
"type": "appbankgp",
"timestamp2": "1745220149",
"memo": ""
}
]The clientId assigned when the merchant registers an application in the Gate merchant console.
"4186d0c6-6a35-55a9-8dc6-5312769dbff8"
Request signature. GatePay uses this signature to verify whether the request is valid.
UTC timestamp in milliseconds when the request is generated. GatePay will not process requests where the difference from the receive time exceeds 10 seconds.
"1672905655498"
Random string. Must comply with HTTP header rules; recommended length is within 32 characters, composed of digits and letters.
"9578"
Specify currency to query, returns all currencies if empty.
Withdrawal record ID (starts with 'w', e.g. w1879219868), queries single record if specified
Currency type (Main/Pilot zone), empty by default. Values: SPOT, PILOT.
SPOT, PILOT User-defined withdrawal order number for specific record query
Start timestamp (Unix) units in seconds, defaults to last 7 days. Query time range cannot exceed 30 days.
End timestamp (Unix) units in seconds, defaults to current time.
Maximum number of records to return.
Return record offset (starts from 0).
Withdrawal records list
Transaction record ID.
Blockchain transaction hash
Block number
Client order ID (max 32 chars, only allows numbers/letters/_/-/.).
Operation time (Unix timestamp in seconds).
Amount of currency.
Fee amount.
Currency name.
Withdrawal address.
Failure reason (only when status = CANCEL).
Final status time: CANCEL - Cancellation time; DONE (block_number>0) - Success time.
Transaction memo/notes.
Transaction status: DONE (Completed, block_number > 0 means on-chain confirmed), CANCEL (Cancelled), REQUEST (Requesting), MANUAL (Pending manual review), BCODE (Top-up code operation), EXTPEND (Sent awaiting confirmation), FAIL (On-chain failure awaiting confirmation), INVALID (Invalid order), VERIFY (Verifying), PROCES (Processing), PEND (Processing), DMOVE (Pending manual review), REVIEW (Under review).
Withdrawal chain name.