Retrieve a list of all payment orders with pagination.
Requiresread_financeaccess scope.
The List Payment Orders API returns a list of payment orders. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
This API is especially useful for:
- Retrieving a paginated list of payment orders.
- Filtering payment orders based on their creation date.
- Identifying payment statuses for order processing.
Request Parameters
Public Request Parameters
Query Parameters
Field | Type | Required | Example | Description |
|---|---|---|---|---|
| string | No |
| Cursor for pagination, use the cursor from the response to retrieve the next page. |
| int32 | No |
| A limit on the number of objects to be returned. Ranges from 1 to 100. Default is 10. |
| string | No |
| Filters payment orders created after a specified timestamp (Unix format). |
| string | No |
| Filters payment orders created before a specified timestamp (Unix format). |
| string | No |
| Filter payment orders by status. Valid values are:
|
Response Explanation
Public Response Parameters
Successful Response
| Field | Type | Example | Description |
|---|---|---|---|
code |
string | Success |
The status of the API response. |
data |
array | |
A descriptive message for the response status. |
data.has_more |
boolean | true |
Indicates whether there are more results to retrieve. |
data.cursor |
string | c3VwZXItY3Vyc29y |
The cursor for the next page of results. |
data.list |
array[PaymentOrder] | A list of payment order objects. | |
data.list[]. |
string | 123456789 |
The unique ID of the payment order. |
data.list[]. |
object | { ... } |
Contains details about transaction fees. |
data.list[]. |
string | 10.00 |
The transaction fee amount. |
data.list[]. |
string | USD |
The currency of the transaction fee. |
data.list[]. |
string | 5.00 |
The foreign settlement fee. |
data.list[]. |
string | 2024-04-28T06:00:00Z |
The creation timestamp of the payment order. |
data.list[]. |
string | 2024-04-28T06:05:00Z |
The completion timestamp of the payment order. |
data.list[]. |
string | succeeded |
The current payment status of the order. |
data.list[]. |
string | credit_card |
The payment method used (e.g., credit card, PayPal). |
data.list[]. |
string | Visa |
The brand of the credit card used. |
data.list[]. |
string | USD |
The currency in which the payment was made. |
data.list[]. |
string | 100.00 |
The payment amount in the specified currency. |
data.list[]. |
string | 130.00 |
The converted amount in the store's base currency. |
data.list[]. |
string | 50.00 |
The reserved amount, if applicable. |
data.list[]. |
string | 987654321 |
The ID of the associated order. |
data.list[].
| string | "1.00" |
total amount of service charge. |
Error Response
| Field | Type | Example | Description |
|---|---|---|---|
code | string | InvalidParameter | Error http message |
message | string | `` | Error message |
