CreatePaymentSessionStepInput

The data to create a payment session.

payment_collection_idstring
The ID of the payment collection that the session belongs to.
provider_idstring
The ID of the payment provider that the payment session is associated with.
The payment session's amount.
currency_codestring
The currency code of the payment session.
contextPaymentProviderContextOptional
Additional context that's useful for the payment provider to process the payment session.
dataRecord<string, unknown>Optional
Custom data relevant for the payment provider to process the payment session. Learn more in this documentation.
Was this page helpful?
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