Delete a Payment Method
delete
/paymentMethod/{paymentMethodId}
Deletes the specified payment method.
Request
Path Parameters
-
paymentMethodId(required): string
The ID of the payment method to delete.
There's no request body for this operation.
Back to TopResponse
204 Response
The payment method was deleted successfully.
400 Response
Invalid Token
401 Response
Unauthorized
403 Response
Forbidden
404 Response
Not Found
405 Response
Method not Allowed
500 Response
Internal Server Error
Examples
This example shows how to delete a payment method by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see "Use cURL".
curl -X DELETE 'http://hostname:port/brm/paymentMethods/version/paymentMethod/0.0.0.1+-payinfo-cc+238991'
Example of the Response Body
If successful, the response code 204 is returned with no response body.