Payment Method - Delete
Delete a payment method by its unique identifier.
Request
DELETE /v2/payment-methods/{id}
curl --request DELETE \
--url https://sandbox.hyperswitch.io/v2/payment-methods/{id} \
--header 'api-key: <api-key>'Authorization
api-key (header, string, required)
Use the API key created under your merchant account from the HyperSwitch dashboard. API key is used to authenticate API requests from your merchant server only. Don't expose this key on a website or embed it in a mobile application.
Do not expose the API key on a website or embed it in a mobile application.
Path Parameters
id (string, required) — The unique identifier for the Payment Method
Response
200 — application/json
Example:
Response fields:
id (string, required) — The unique identifier of the Payment method Example:
"12345_pm_01926c58bc6e77c09e809964e72af8c8"
Edit / Report
Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/v2/payment-methods/payment-method--delete.mdx
Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v2/payment-methods/payment-method--delete