POST /v1/payment-method-setup-sessions
POST
/v1/payment-method-setup-sessionsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredHeader parameters
Idempotency-KeystringRequired for production-safe retries on mutating routes. Reusing a key with a different request body returns 409.
min length 1
Request body
requiredapplication/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullownerTypestringrequiredAllowed:
customermerchantownerIdstringrequiredmin length 1
methodTypestringrequiredmin length 1
setAsDefaultboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
environmentstringrequiredAllowed:
sandboxproductionmerchantAccountIdstringrequiredmin length 1
ownerTypestringrequiredAllowed:
customermerchantownerIdstringrequiredmin length 1
methodTypestringrequiredmin length 1
statusstringrequiredmin length 1
clientSecretstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullsetAsDefaultbooleanrequiredexpiresAtstringrequiredmin length 1
createdAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
requestIdstringrequiredmin length 1