Payment
Get Saved Payment Method
Return a specific payment method found by its id, checking it belongs to that wb_customer and customer
GET
/
v1
/
c
/
customer
/
{customer_id}
/
payment
/
method
/
{method_id}
Authorizations
wb-key
string
headerrequiredPath Parameters
customer_id
string
requiredId of the customer
method_id
string
requiredId of the payment method
Response
200 - application/json
created
string
requiredDate the payment method was configured
details
object
requiredDetails about the configured payment method
- Card - credit card
- SepaDebit - SEPA bank payments
holder_name
string | null
Name on the credit card
id
string
requiredUnique identifier of an object. Consists of object class prefix and a UUID
method_type
enum<string>
requiredType of the Payment Method:
- Card - Credit Card
- SepaDebit - SEPA bank transfer
Available options:
card
, sepa_debit
, vban_bank_transfer_eu
preference
integer | null
Priority of the configured payment method. Smaller number is higher priority
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
status
enum<string>
requiredPayment Method Status:
- Active - can be used
- Inactive - disabled. Might be re-enabled
- Detached - disabled, can not be re-activated
- Invalid - error using payment method
Available options:
active
, inactive
, detached
, invalid