Set the default payment method for a customer
Required permissions:payment-method:write, customer:payment-method:changeBearer authentication header of the form Bearer <token>, where <token> is your auth token.
PaymentMethod identifier
The updated PaymentMethod resource
The new default payment method which should be used for new invoices, subscriptions and other offers.
PaymentMethod resource updated
"https://example.com/"
wallet, sepa_debit, stripe, fake_provider, paypal, bank_transfer, go_cardless, testing sepa_debit, card, paypal, bank_transfer, wallet, fake_provider, null active, action_required, expired, revoked, gateway_unconfigured "active"
checkout, customerfront, api, add_link "api"
The sepa mandate of the payment method, if the gatewayName is "payment_sepa"
The card data of the payment method, if the type is "card"
The sepa mandate data of the payment method, if the type is "sepa_debit"
The paypal data of the payment method, if the type is "paypal"