Retrieves the details of a PaymentOrder that has previously been created
🔒
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.
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
Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.
Field
Type
Description
Example
code
string
The error code indicating the type of issue.
InvalidParameter
message
string
A detailed message describing the error.
wrong cursor
Field
Type
Example
Description
error
String
"store is not active"
Indicates an error encountered during the process
Error Detail
Status Code
Message
Possible Reason
Example Response
400
Bad Request
Invalid input format or request structure (e.g., missing required fields or incorrect data types).
Bad Request
Unauthorized
The request is missing valid authentication credentials or the credentials provided are invalid.
Unauthorized
500
UnknownError
invalid or empty id input
"Unknown error, please contact shoplazza technical support to resolve the issue."
API Structure Overview
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!