Funds Ledger
Merchants can query the transaction history of their balance accounts through this API. It supports pagination to handle large volumes of data, filtering by time range, and precise searches by financial type, order ID, currency, and other fields. This helps merchants efficiently reconcile funds and manage their finances.
Overview
This page documents theGET /v1/pay/bill/orderlist endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.
Notes
- Authentication uses the standard GatePay signed headers.
- This page documents the standard merchant endpoint.
- For shared signing rules, see /api-reference/version/100/en/common/securityAndSignature.
Headers
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.
Millisecond timestamp; the difference from server time must not exceed 30 seconds.
"1672905655498"
Random string. Must comply with HTTP header rules; recommended length is within 32 characters, composed of digits and letters.
"9578"
Query Parameters
Start time in milliseconds
End time in milliseconds
Page number, starting from 1
Number of records per page, up to 500
Currency to search
Financial type. Available values: Collection (receipt_fi), Gift Card (giftCard_fi), Gift Card voided (gift_voided), Reward (reward_fi), Transfer (payout) (distribution_fi), Refund (refund_fi), Refund to Merchant (refund_to_merchant_fi), Transfer (transfer_fi), Convert(Buy) (convert_buy_fi), Convert(Sell) (convert_sell_fi), Convert (Refund) (convert_refund_fi), Deposit Fiat (otcRecharge_add_fi), Deposit (fiatRecharge_add_fi), Fiat Withdrawal (otcWithdraw_fi), Payout (disburse_fi), Refund (Payout Failure) (refund_disburse_failed_fi), Interest Distribution (dividend), institution Fee Amount (agent_fee_fi), Crypto Recharge (crypto_recharge_fi), fiat pay (fiat_pay), main account fee (main_account_fee), main account refund fee (main_account_refund_fee), fee (refund_fee_fi), fee refund (refund_fee_return_fi), Others (others_fi).
receipt_fi, giftCard_fi, gift_voided, reward_fi, distribution_fi, refund_fi, refund_to_merchant_fi, transfer_fi, convert_buy_fi, convert_sell_fi, convert_refund_fi, otcRecharge_add_fi, fiatRecharge_add_fi, otcWithdraw_fi, disburse_fi, refund_disburse_failed_fi, dividend, agent_fee_fi, crypto_recharge_fi, fiat_pay, main_account_fee, main_account_refund_fee, refund_fee_fi, refund_fee_return_fi, others_fi Order type to query:1-Merchant order ID 2-GatePay order ID 3-Transaction history order ID
Order ID to query
Transaction type: 1-Income 2-Expense
Sort order: pay_time_desc-Descending by posting time, pay_time_asc-Ascending by posting time. Default: pay_time_desc

