POST
/
gsm
/
delete
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>"
}'
{
  "gsm_rule_delete": true,
  "connector": "<string>",
  "flow": "<string>",
  "sub_flow": "<string>",
  "code": "<string>"
}

Authorizations

api-key
string
header
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

200
application/json
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