Payment
Add Payment Method
Create a new payment method and select it. Currently, only Stripe VBAN transfer is supported. To add credit cards or direct debit, create a Payment Session and collect the data using Wingback.js.
POST
/
v1
/
c
/
customer
/
{customer_id}
/
payment
/
method
Authorizations
wb-key
string
headerrequiredPath Parameters
customer_id
string
requiredId of the customer
Response
200 - application/json
provider
enum<string>
requiredThe payment providers known by the backend.
Those variants MUST be kept identical to the variants of the payment_provider enum of the postgres database
Available options:
authorize
, self_handled
, stripe
type
enum<string>
requiredType of the payment method to create
Available options:
vban_bank_transfer_eu