Create Payment Session
Create a Payment Session to collect credit card/direct debit information from the customer using Wingback.js.
Authorizations
Path Parameters
Id of the customer
Body
An inbound payment session for creation (a different one is used for updating, see FI-360)
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
Payment Session used to configure Payment Method
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 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
Payment Configuration setup intent