Skip to main content
Skip to main content

PaymentContext

PaymentContext: Object

Type declaration

amountnumberRequired
cartobjectRequired
cart.billing_addressAddress | null
cart.contextRecord<string, unknown>Required
cart.emailstringRequired
cart.idstringRequired
cart.shipping_addressAddress | nullRequired
cart.shipping_methodsShippingMethod[]Required
currency_codestringRequired
customerCustomer
A customer can make purchases in your store and manage their profile.
paymentSessionDataRecord<string, unknown>Required
resource_idstringRequired
Was this section helpful?