Gsm - Delete

POST /gsm/delete

cURL

cURL
curl --request POST \
  --url https://sandbox.hyperswitch.io/gsm/delete \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "connector": "<string>",
  "flow": "<string>",
  "sub_flow": "<string>",
  "code": "<string>",
  "message": "<string>"
}
'

Response (200)

application/json
{
  "gsm_rule_delete": true,
  "connector": "<string>",
  "flow": "<string>",
  "sub_flow": "<string>",
  "code": "<string>"
}

Authorizations

  • Header: api-key (string) — required Admin API keys allow you to perform some privileged actions such as creating a merchant account and Merchant Connector account.

Body (application/json)

  • connector — string (required) The connector through which payment has gone through

  • flow — string (required) The flow in which the code and message occurred for a connector

  • sub_flow — string (required) The sub_flow in which the code and message occurred for a connector

  • code — string (required) code received from the connector

  • message — string (required) message received from the connector

Response (application/json)

200 — Gsm deleted

  • gsm_rule_delete — boolean (required)

  • connector — string (required) The connector through which payment has gone through

  • flow — string (required) The flow in which the code and message occurred for a connector

  • sub_flow — string (required) The sub_flow in which the code and message occurred for a connector

  • code — string (required) code received from the connector


Was this page helpful? Yes / No

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

Related:

  • Gsm - Update: https://api-reference.hyperswitch.io/v1/gsm/gsm--update

  • Events - List: https://api-reference.hyperswitch.io/v1/event/events--list