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

CreatePaymentDTO

The payment to be created.

Properties

amountBigNumberInputRequired
The amount of the payment.
currency_codestringRequired
The ISO 3 character currency code of the payment.
provider_idstringRequired
The associated provider's ID.
dataRecord<string, unknown>Required
The data necessary for the associated payment provider to process the payment.
payment_session_idstringRequired
The ID of the payment session this payment was created from.
payment_collection_idstringRequired
The associated payment collection's ID.
cart_idstring
The associated cart's ID.
order_idstring
The associated order's ID.
order_edit_idstring
The associated order edit's ID.
customer_idstring
The associated customer's ID.
Was this section helpful?