Delete a Payment Method
delete
/bcws/webresources/v1.0/paymentmethods/{id}
Deletes the payment method that matches the specfied ID.
Request
Path Parameters
-
id(required): string
The ID of the payment method.
There's no request body for this operation.
Back to TopResponse
200 Response
The payment method was deleted successfully.
500 Response
An internal server error occurred.
Examples
This example shows how to get delete a payment method by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see "Use cURL".
cURL Command
curl -X DELETE 'http://hostname:port/bcws/webresources/version/paymentmethods/0.0.0.1+-payinfo-invoice+59663'
where:
- hostname is the URL for the Billing Care REST server.
- port is the port for the Billing Care REST server.
- version is the version of the API you're using, such as v1.0.
Example of Response Body
If successful, the response code 200 is returned with no response body.