POST /v1/payment-methods
POST
/v1/payment-methodsAuthorization
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
nullpaymentMethodSetupSessionIdstringrequiredmin length 1
setupTokenstringrequiredmin length 1
idempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
merchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullownerTypestringrequiredAllowed:
customermerchantownerIdstringrequiredmin length 1
methodTypestringrequiredmin length 1
statusstringrequiredmin length 1
isDefaultbooleanrequiredbrandSummarystring | nullShow propertiesHide properties
Any of:
string
stringnull
nulllast4string | nullShow propertiesHide properties
Any of:
string
stringnull
nullexpiryMonthnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullexpiryYearnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullfraudSessionIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnetworkTokenEnabledboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullnetworkTokenStatestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullmicrodepositVerificationobject | nullShow propertiesHide properties
Any of:
object
microdepositIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullverificationUrlstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnull
nullrequestIdstringrequiredmin length 1