Delete a Payment Method

delete

/paymentMethod/{paymentMethodId}

Deletes the specified payment method.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

204 Response

The payment method was deleted successfully.

400 Response

The request isn't valid.

401 Response

The client doesn't have the correct privileges.

403 Response

The request wasn't authorized.

404 Response

The requested resource couldn't be found.

405 Response

This method is not allowed.

500 Response

The system encountered an internal error.
Back to Top

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 200 is returned with no response body.

Back to Top