Create a payment method
Creates a new payment method.
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Body
The ID of the customer the payment method is for.
The type of the payment method.
alipay, autogiro, bacs_debit, bank_transfer, card_present, card, direct_transfer, pay_by_bank, sepa_debit, test_card, wechat_pay Bank transfer specific options for the payment method.
Response
Returns a payment method object if successful.
- Bacs debit
- Bank transfer
- Card present
- Card
- Direct transfer
- Pay by bank
- Sepa debit
The Bacs debit payment method.
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
payment_method Billing information associated with the payment method.
The customer this payment method is attached to.
The current status of the payment method.
chargeable, pending, failed The type of the payment method.
bacs_debit Information about the Bacs Direct Debit payment method.
The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.