POST /v1/platform-customers/payment-methods
POST
/v1/platform-customers/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/jsonenvironmentstringrequiredAllowed:
sandboxproductionplatformMerchantAccountIdstringrequiredmin length 1
externalCustomerIdstringrequiredmin length 1
methodTypestringrequiredAllowed:
cardachbank_accountproviderInstrumentRefobjectrequiredShow propertiesHide properties
providerstringrequiredmin length 1
objectTypestringrequiredmin length 1
objectIdstringrequiredmin length 1
relationshipstringrequiredmin length 1
recordedAtstringrequiredmin length 1
consentTextstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullconsentTextVersionstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulllast4string | nullShow propertiesHide properties
Any of:
string
stringnull
nullbrandstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexpMonthnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullexpYearnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullResponses
201
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
platformCustomerProfileIdstringrequiredmin length 1
methodTypestringrequiredmin length 1
last4string | nullShow propertiesHide properties
Any of:
string
stringnull
nullbrandstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullexpMonthnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullexpYearnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullstatusstringrequiredmin length 1
requestIdstringrequiredmin length 1