PaymentProcessorContext
A payment's context.
emailstringRequiredThe customer's email.
currency_codestringRequiredThe selected currency code, typically associated with the customer's cart.
amountnumberRequiredThe payment's amount.
resource_idstringRequiredThe ID of the resource the payment is associated with. For example, the cart's ID.
contextRecord<string, unknown>RequiredThe cart's context.
paymentSessionDataRecord<string, unknown>RequiredIf the payment session hasn't been created or initiated yet, it'll be an empty object.
If the payment session exists, it'll be the value of the payment session's
data field.billing_addressnull | AddressThe payment's billing address.
customerCustomerThe customer associated with this payment.
customerCustomerWas this section helpful?