PUT /v1/payment-methods/{paymentMethodId}
PUT
/v1/payment-methods/{paymentMethodId}Authorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
paymentMethodIdstringrequiredmin length 1
Header 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/jsonidstringrequiredmin length 1
environmentstringrequiredAllowed:
sandboxproductionmerchantAccountIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullownerTypestringrequiredAllowed:
customermerchantownerIdstringrequiredmin length 1
methodTypestringrequiredmin length 1
brandSummarystring | 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
nullstatusstringrequiredAllowed:
activepending_verificationdisabledarchivedisDefaultbooleanrequiredfingerprintstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnetworkTokenEnabledboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullnetworkTokenStatestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullprocessorInstrumentRefsobject[]requiredShow propertiesHide properties
Array of
objectproviderstringrequiredmin length 1
objectTypestringrequiredmin length 1
objectIdstringrequiredmin length 1
relationshipstringrequiredmin length 1
recordedAtstringrequiredmin length 1
createdAtstringrequiredmin length 1
updatedAtstringrequiredmin length 1
archivedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
200
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
environmentstringrequiredAllowed:
sandboxproductionrequestIdstringrequiredmin length 1