Skip to main content
GET
Retrieve transaction history

Overview

This page documents the GET /payment/open/institution/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"

X-GatePay-On-Behalf-Of
string
required

Required delegated-subject header. Provide the initiating account ID for this request. For institution merchant APIs, this is typically the target sub-account ID; for institution charge and transfer APIs, it can be either an institution account ID or a sub-account ID.

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
string

Refers to the type of financial transaction. Includes: receipt_fi (receipt), giftCard_fi (gift card), reward_fi (reward), distribution_fi (distribution/withdrawal), refund_fi (refund), refund_to_merchant_fi (merchant refund), transfer_fi (transfer), convert_buy_fi (convert buy), convert_sell_fi (convert sell), convert_refund_fi (convert refund), otcRecharge_add_fi (fiat deposit), otcWithdraw_fi (fiat withdrawal), and others_fi (others).

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

timeType
integer<int64>

Time query type: 1-Creation time 2-Refund fund time

status
string

Refund status: SUCCESS-Success FAIL-Failure

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