GET
/
v1
/
c
/
customer
/
{customer_id}
/
payment
/
method
/
{method_id}

Authorizations

wb-key
string
headerrequired

Path Parameters

customer_id
string
required

Id of the customer

method_id
string
required

Id of the payment method

Response

200 - application/json
created
string
required

Date the payment method was configured

details
object
required

Details about the configured payment method

  • Card - credit card
  • SepaDebit - SEPA bank payments
holder_name
string | null

Name on the credit card

id
string
required

Unique identifier of an object. Consists of object class prefix and a UUID

method_type
enum<string>
required

Type 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>
required

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

Available options:
authorize,
self_handled,
stripe
status
enum<string>
required

Payment 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