Skip to main content
Skip to main content

PaymentProcessorContext

A payment's context.

Properties

amountnumberRequired
The payment's amount.
contextRecord<string, unknown>Required
The cart's context.
currency_codestringRequired
The selected currency code, typically associated with the customer's cart.
emailstringRequired
The customer's email.
paymentSessionDataRecord<string, unknown>Required
If 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.
resource_idstringRequired
The ID of the resource the payment is associated with. For example, the cart's ID.
billing_addressnull | Address
The payment's billing address.
customerCustomer
The customer associated with this payment.
Was this section helpful?