Skip to main content

Delete a payment method

API operation: Open the endpoint in Scalar

Use DELETE /paymethods/{paymethod} to delete one project-level payment-method definition. The operation documented here is Paymethod.delete.

The final path parameter paymethod identifies the payment-method definition to delete.

The documented operation uses super-administrator middleware. Deletion is destructive and may affect business credentials or product payment flows that refer to the definition. Resolve the ID and its dependencies before sending the request, and verify the response.

OpenAPI reference​

Operation: DELETE /paymethods/{paymethod}

Path parameters

NameTypeRequiredDescription
paymethodintegerYes—

Responses

CodeDescription
200OK
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference