Skip to main content
Skip to main content

CreatePaymentInput

CreatePaymentInput: Object

Type declaration

amountnumberRequired
cart_idstring
currency_codestringRequired
payment_sessionPaymentSessionRequired
A Payment Session is created when a Customer initilizes the checkout flow, and can be used to hold the state of a payment flow. Each Payment Session is controlled by a Payment Provider, which is responsible for the communication with external payment services. Authorized Payment Sessions will eventually get promoted to Payments to indicate that they are authorized for payment processing such as capture or refund. Payment sessions can also be used as part of payment collections.
provider_idstring
resource_idstring
Was this section helpful?