List Payment Orders
GET/openapi/2024-07/shoplazza-payment/payment-orders
Returns a paginated list of payment orders, optionally filtered by status and creation time range.
Request
Query Parameters
cursor for pagination, use the cursor from the response for pagination
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
Filter option: created_at, in Unix timestamp
Filter option: created_at, in Unix timestamp
succeeded: The payment has been completed successfully, and the funds are confirmed. failed: The payment has failed, and the funds were not successfully processed. requires_action: Additional action is required to complete the payment, such as user verification (e.g., 3D authentication) or additional information. init: The payment order has been created but not yet processed. canceled: The payment order has been canceled, and no funds were processed or they have been returned. processing: The payment is currently in process, with the final result pending confirmation.
Responses
- 200
- 422
OK
- application/json
- Schema
- Example
Schema
- Array [
- ]
error code
error message
data object
Response: Payment order list
Whether there is more data
list object[]
List of payment orders
Payment order ID
fee_details object
Fee details
Acquiring fee amount
Fee currency
Foreign settlement fee
Creation time, in Unix timestamp
Payment completion time, in Unix timestamp
Payment status (e.g., "succeeded", "failed","requires_action","init","canceled","processing") succeeded: The payment has been completed successfully, and the funds are confirmed. failed: The payment has failed, and the funds were not successfully processed. requires_action: Additional action is required to complete the payment, such as user verification (e.g., 3D authentication) or additional information. init: The payment order has been created but not yet processed. canceled: The payment order has been canceled, and no funds were processed or they have been returned. processing: The payment is currently in process, with the final result pending confirmation.
Payment method
Card brand (e.g., Visa, Mastercard)
Transaction currency
Transaction amount in the original currency
Amount after currency conversion
Frozen reserve amount
Order number
cursor for pagination
{
"code": "string",
"message": "string",
"data": {
"has_more": true,
"list": [
{
"id": "string",
"fee_details": {
"trans_fee_amount": "string",
"fee_currency": "string",
"foreign_settlement_fee": "string"
},
"created_at": "string",
"finished_at": "string",
"payment_status": "string",
"payment_method": "string",
"card_brand": "string",
"pay_currency": "string",
"pay_amount": "string",
"converted_amount": "string",
"reserve_amount": "string",
"order_id": "string"
}
],
"cursor": "string"
}
}
invalid parameter
- application/json
- Schema
- Example
- Example
Schema
error code
error message
{
"code": "string",
"message": "string"
}
{
"code": "InvalidParameter",
"message": "wrong cursor"
}