Create Payment Session
Create a Payment Session to collect credit card/direct debit information from the customer using Wingback.js.
Authorizations
Body
whether to collect billing address
The purpose of a payment session:
- AddMethod - add a new payment method
add_method
Unique identifier of an object. Consists of object class prefix and a UUID
Unique identifier of an object. Consists of object class prefix and a UUID
The payment providers known by the backend.
Those variants MUST be kept identical to the variants of the payment_provider enum of the postgres database
authorize
, self_handled
, stripe
Response
Indicates whether address is required
Unique identifier of an object. Consists of object class prefix and a UUID
Determines whether previous payment method will be disabled and deregistered once current setup succeeds
The purpose of a payment session:
- AddMethod - add a new payment method
add_method
The payment providers known by the backend.
Those variants MUST be kept identical to the variants of the payment_provider enum of the postgres database
authorize
, self_handled
, stripe
Payment Configuration setup intent
Payment Session Status
Unique identifier of an object. Consists of object class prefix and a UUID
Unique identifier of an object. Consists of object class prefix and a UUID