POST /v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-methods/{paymentMethodId}/disable
POST
/v1/merchant-accounts/{merchantAccountId}/customers/{customerId}/payment-methods/{paymentMethodId}/disableAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
merchantAccountIdstringrequiredmin length 1
customerIdstringrequiredmin length 1
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/jsonenvironmentstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullpaymentMethodIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullreasonstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullidempotencyKeystring | nullShow propertiesHide properties
Any of:
string
stringnull
nullResponses
200
Success
dataobjectrequiredShow propertiesHide properties
idstringrequiredmin length 1
ownerTypestringrequiredAllowed:
customermerchantownerIdstringrequiredmin length 1
methodTypestringrequiredmin length 1
statusstringrequiredAllowed:
activepending_verificationdisabledarchivedisDefaultbooleanrequiredbrandSummarystring | 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
nullrequestIdstringrequiredmin length 1