PaymentDetails
Version 2024-11-01
Important
The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.
Overview
Details about a payment made for an order or specific line item.
Fields
Field | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aliases ([Alias]) | Aliases referencing a related entity such as a charge in an external payment system. | ||||||||||||||||||||||
amount (Money required) | The payment amount. | ||||||||||||||||||||||
createdAt (String) | The Date Time in ISO 8601 format when the payment was created. | ||||||||||||||||||||||
id (ID) | A unique identifier to represent the payment. It is not acceptable for multiple payments to have the same ID within a single list of payments. | ||||||||||||||||||||||
payer (Payer) | The person or entity making the payment. | ||||||||||||||||||||||
paymentMethod (PaymentMethod required) | The payment method associated with the payment. | ||||||||||||||||||||||
state (String) | The current state of the payment. The value is constrained to one of the following
| ||||||||||||||||||||||
updatedAt (String) | The Date Time in ISO 8601 format when the payment was last updated. |
Updated about 4 hours ago