PaymentMethod

📘

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

A payment method associated with a payment.

Fields

FieldDescription
displayString (String)

A customer friendly representation of the payment method. E.g. 'Visa ending in 1234'.

type (String)

The type of the payment method.

The value is constrained to one of the following

valuedescription
AMAZON_PAYDenotes the payment method type Amazon Pay.
AMAZON_PAY_EXPRESSDenotes the payment method type Amazon Pay Express.
PAYPALDenotes the payment method type PayPal.
PAYPAL_EXPRESSDenotes the payment method type PayPal Express.
CARDDenotes the payment method type is Debit/Credit Card.
GIFT_CARDDenotes the payment method type Gift card.
SHOPIFY_PAYMENTSDenotes the payment method type Shopify Payments.