Get Payment Order
GET/openapi/2024-07/shoplazza-payment/payment-orders/:id
Retrieves the details of a PaymentOrder that has previously been created
Request
Path Parameters
id
Responses
- 200
- 500
OK
- application/json
- Schema
- Example
Schema
error code
error message
data object
Request: Retrieve payment order
payment_order object
Payment order details
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
{
"code": "string",
"message": "string",
"data": {
"payment_order": {
"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"
}
}
}
UnknownError
- application/json
- Schema
- Example
- Example
Schema
error code
error message
{
"code": "string",
"message": "string"
}
{
"code": "InvalidParameter",
"message": "Unknown error, please contact shoplazza technical support to resolve the issue."
}