Skip to main content
DELETE
/
v1
/
payment-methods
/
{id}
Payment Method - Delete
curl --request DELETE \
  --url https://sandbox.hyperswitch.io/v1/payment-methods/{id} \
  --header 'Authorization: <api-key>' \
  --header 'X-Profile-Id: <x-profile-id>'
{
  "id": "12345_pm_01926c58bc6e77c09e809964e72af8c8"
}

Documentation Index

Fetch the complete documentation index at: https://api-reference.hyperswitch.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Format: api-key=<api_key>

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.

Headers

X-Profile-Id
string
required

Profile ID associated to the payment method

Path Parameters

id
string
required

The unique identifier for the Payment Method

Response

Payment Method Retrieved

id
string
required

The unique identifier of the Payment method

Example:

"12345_pm_01926c58bc6e77c09e809964e72af8c8"