Get Payment Order Details

Retrieve details of a specific payment order using its unique identifier.

🔒

Requires read_finance access scope.

The Get Payment Order API retrieves detailed information about a specific payment order. This enables users to review payment details, including status, amount, associated customer, and transaction history.

This API is especially useful for:
1. Verifying payment order details for auditing or reporting.
2. Troubleshooting payment issues with specific orders.
3. Displaying order-specific payment data in custom applications or dashboards.

Request Parameters

Public Request Parameters

📘

Path Parameters

FieldTypeRequiredExampleDescription
idstringYespy_2oFAVxHstl9rUnique identifier of the payment order.

Response Explanation

Public Response Parameters

📘

Successful Response

Field Type Example Description
code string Success The status of the API response.
message string Success A descriptive message for the response status.
data object Contains the main response data.
data.payment_order.
id
string 123456789 The unique ID of the payment order.
data.payment_order.
fee_details
object { ... } Contains details about transaction fees.
data.payment_order.
fee_details.
trans_fee_amount
string 10.00 The transaction fee amount.
data.payment_order.
fee_details.
fee_currency
string USD The currency of the transaction fee.
data.payment_order.
fee_details.
foreign_settlement_fee
string 5.00 The foreign settlement fee.
data.payment_order.
created_at
string 2024-04-28T06:00:00Z The creation timestamp of the payment order.
data.payment_order.
finished_at
string 2024-04-28T06:05:00Z The completion timestamp of the payment order.
data.payment_order.
payment_status
string succeeded The current payment status of the order.
data.payment_order.
payment_method
string credit_card The payment method used (e.g., credit card, PayPal).
data.payment_order.
card_brand
string Visa The brand of the credit card used.
data.payment_order.
pay_currency
string USD The currency in which the payment was made.
data.payment_order.
pay_amount
string 100.00 The payment amount in the specified currency.
data.payment_order.
converted_amount
string 130.00 The converted amount in the store's base currency.
data.payment_order.
reserve_amount
string 50.00 The reserved amount, if applicable.
data.payment_order.
order_id
string 987654321 The ID of the associated order.

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!