This endpoint retrieves an individual payment along with its order details.

Log in to see full request history

Successful Response (200)

Returns a Payment object in response.

Connection Timeouts

TimeoutTime (Seconds)
Open10
Read20

Errors

In addition to the GET Errors applicable to all GET endpoints, the following errors are specific to Get Payment By Order ID:

HTTP Status CodeerrorCodeDescription
404
Not Found
not_foundNo Afterpay Order was found matching the orderId provided.
Path Params
string
required

The unique ID of the Afterpay Order, for which a Payment event has been completed.

Headers
string
required
Defaults to Readme.io API Simulator
string
Defaults to application/json
Language
Credentials
:
Click Try It! to start a request and see the response here!