PaymentIntentCheckoutDetails
The checkout details for a payment intent.
Contents
- merchant
-
The merchant (payee) that receives this payment. The service records the merchant when the buyer approves the payment intent, so the agent doesn't provide it at authorization.
Type: Merchant object
Required: Yes
- totalAmount
-
The total amount of this payment intent.
Type: PaymentIntentAmount object
Required: Yes
- amountBreakdown
-
The shipping, tax, and discount that make up
totalAmounttogether with the line items. If you omit it, none of them apply.Type: PaymentIntentAmountBreakdown object
Required: No
- amountMode
-
How the service interprets
totalAmount. If you omit it, the default isEXACT. Valid values:-
EXACT- Charges exactly the total amount. This is the default, for a purchase that the buyer completes now. -
UPTO- Treats the total amount as a maximum. Off-session charges can add up to this amount, and the service rejects any charge that would take the total above it. Use it with theSETUPcapture strategy.
Type: String
Valid Values:
EXACT | UPTORequired: No
-
- lineItems
-
The line items in this payment intent. When you provide line items, the sum of
amount×quantityacross them, plusamountBreakdown.shippingandamountBreakdown.tax, minusamountBreakdown.discount, must equaltotalAmount. For a payment intent that uses theUPTOamount mode, wheretotalAmountis a maximum, the sum must not exceed it.Type: Array of PaymentLineItem objects
Array Members: Minimum number of 0 items. Maximum number of 100 items.
Required: No
- referenceId
-
Your reference for this payment intent, such as an order number. The service sends it to the payment provider.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 127.
Required: No
- returnUrl
-
The URL to redirect the buyer to after they select a payment method.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: