Tokenize a payment method
Requires the PAYMENT_METHOD.CREATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
payment_acceptor_id
Resource ID of type PAYMENT_ACCEPTOR
customer_id
Resource ID of type CUSTOMER
payment_gateway_variant
Allowed values:
stripe
adyen
context
pricing_plan_subscription_id
Resource ID of type PRICING_PLAN_SUBSCRIPTION
return_url
Response
OK
status
Allowed values:
payment_method
payment
action
Errors
401
Unauthorized Error
403
Forbidden Error