Skip to main content
GET
Retrieve transaction history

Overview

This page documents the GET /v1/pay/bill/orderlist endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.

Notes

Headers

X-GatePay-Certificate-ClientId
string
required

The clientId assigned when the merchant registers an application in the Gate merchant console.

Example:

"4186d0c6-6a35-55a9-8dc6-5312769dbff8"

X-GatePay-Signature
string
required

Request signature. GatePay uses this signature to verify whether the request is valid.

X-GatePay-Timestamp
string
required

Millisecond timestamp; the difference from server time must not exceed 30 seconds.

Example:

"1672905655498"

X-GatePay-Nonce
string
required

Random string. Must comply with HTTP header rules; recommended length is within 32 characters, composed of digits and letters.

Example:

"9578"

Query Parameters

startTime
integer<int64>
required

Start time in milliseconds

endTime
integer<int64>
required

End time in milliseconds

page
integer
required

Page number, starting from 1

count
integer
required

Number of records per page, up to 500

currency
string

Currency to search

financialType
enum<string>

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).

Available options:
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
orderType
integer

Order type to query:1-Merchant order ID 2-GatePay order ID 3-Transaction history order ID

orderIdNo
string

Order ID to query

transactionType
integer

Transaction type: 1-Income 2-Expense

sortType
string

Sort order: pay_time_desc-Descending by posting time, pay_time_asc-Ascending by posting time. Default: pay_time_desc

Response

200 - application/json

Success

status
enum<string>
required

API response result, SUCCESS or FAIL.

Available options:
SUCCESS,
FAIL
code
string
required

Response error code.

errorMessage
string

Error description.

data
object