PaymentProcessorContext
A payment's context.
email
stringRequiredThe customer's email.
currency_code
stringRequiredThe selected currency code, typically associated with the customer's cart.
amount
numberRequiredThe payment's amount.
resource_id
stringRequiredThe ID of the resource the payment is associated with. For example, the cart's ID.
context
Record<string, unknown>RequiredThe cart's context.
paymentSessionData
Record<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_address
null | AddressThe payment's billing address.
customer
CustomerThe customer associated with this payment.
customer
CustomerWas this section helpful?