PaymentProviderContext

Context data provided to the payment provider when authorizing a payment session.

billing_addressPartial<AddressDTO>Optional
The payment's billing address.
emailstringOptional
The associated customer's email.
session_idstringOptional
The ID of payment session the provider payment is associated with.
customerPartial<CustomerDTO>Optional
The customer associated with this payment.
extraRecord<string, unknown>Optional
The extra fields specific to the provider session.
Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break