PaymentDetailsInput

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.

Arguments

ArgumentDescription
aliases ([AliasInput])

Aliases referencing a related entity such as a charge in an external payment system.

amount (MoneyInput 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 (PayerInput)

The person or entity making the payment.

paymentMethod (PaymentMethodInput required)

The payment method associated with the payment.

state (PaymentStateInput)

The state of the payment.

updatedAt (String)

The Date Time in ISO 8601 format when the payment was last updated.