Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

CreatePaymentSessionDTO

The payment session to be created.

Properties

provider_idstringRequired
The provider's ID.
currency_codestringRequired
The ISO 3 character currency code of the payment session.
amountBigNumberInputRequired
The amount to be authorized.
dataRecord<string, unknown>Required
Necessary data for the associated payment provider to process the payment.
Necessary context data for the associated payment provider.
Was this section helpful?