Payment Method - Delete

Deletes a Payment Method.

cURL
curl --request DELETE \
  --url https://sandbox.hyperswitch.io/payment_methods/{method_id} \
  --header 'api-key: <api-key>'

Authorizations


Path parameters

Name
Type
Required
Description

method_id

string

yes

The unique identifier for the Payment Method


Response

Status: 200 Content-Type: application/json Description: Payment Method deleted

Example response:

{
  "payment_method_id": "card_rGK4Vi5iSW70MY7J2mIg",
  "deleted": true
}

Response fields:

  • payment_method_id (string, required) — The unique identifier of the Payment method Example: "card_rGK4Vi5iSW70MY7J2mIg"

  • deleted (boolean, required) — Whether payment method was deleted or not Example: true


Suggest edits: https://github.com/juspay/hyperswitch/edit/main/api-reference/v1/payment-methods/payment-method--delete.mdx Raise issue: https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs&body=Path:%20/v1/payment-methods/payment-method--delete