Get Payment By Order ID
This endpoint retrieves an individual payment along with its order details.
**Connection Timeouts**
| Timeout | Time (Seconds) |
|---------|----------------|
| Open | 10 |
| Read | 20 |
Authentication
AuthorizationBasic
Basic authentication of the form Basic <username:password>
.
Path parameters
orderId
The unique ID of the Cash App Afterpay Order, for which a Payment event has been completed.
Headers
User-Agent
Accept
Response
Returns a Payment object in response.
id
The unique, permanent, Cash App Afterpay generated Order ID.
token
The token obtained from the checkout call
status
represents the status of the order
Allowed values:
created
is the UTC timestamp of when the payment was completed.
originalAmount
Object containing amount and currency
openToCaptureAmount
Object containing amount and currency
paymentState
is the current state for capturing payments
merchantReference
is the merchant’s order id/reference that the payment corresponds to.
refunds
orderDetails
This comprehensive schema is designed to store an entire transaction's detail, covering crucial aspects like consumer information, billing and shipping details, courier particulars, item list, discounts, tax, and shipping amount.
events