Payment Method
Upload a document for a payment method
Upload a document for a payment method, e.g. a signed sepa mandate
Required permissions:payment-method:write
POST
Authorizations
Value for the Authorization header parameter.
Path Parameters
PaymentMethod identifier
Body
The new PaymentMethod resource
Example:
"https://example.com/"
Available options:
wallet
, sepa_debit
, stripe
, fake_provider
, paypal
, bank_transfer
, go_cardless
, testing
Available options:
sepa_debit
, card
, paypal
, bank_transfer
, wallet
, fake_provider
Available options:
active
, action_required
, expired
, revoked
, gateway_unconfigured
Example:
"active"
Available options:
checkout
, customerfront
, api
, add_link
Example:
"api"
Response
201
application/json
PaymentMethod resource created
Example:
"https://example.com/"
Available options:
wallet
, sepa_debit
, stripe
, fake_provider
, paypal
, bank_transfer
, go_cardless
, testing
Available options:
sepa_debit
, card
, paypal
, bank_transfer
, wallet
, fake_provider
Available options:
active
, action_required
, expired
, revoked
, gateway_unconfigured
Example:
"active"
Available options:
checkout
, customerfront
, api
, add_link
Example:
"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"
Was this page helpful?