Set up a payment method
Creates a setup intent for collecting payment method details.
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Body
The type of the payment method to set up.
autogiro, bacs_debit, bank_transfer, card, onemove, pay_by_bank, sepa_debit The consumer user link to associate with the setup session.
The URL to redirect the user to after the setup is complete.
Whether the resulting payment method should be limited to a single use.
Whether to use the Yorlet SDK to complete the setup.
Response
Returns a setup 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.