GSM (Global Status Mapping)
Gsm - Update
Get Started
Essentials
API Reference
- Payments
- Payment Methods
- Customers
- Mandates
- Refunds
- Disputes
- Payouts
- Event
- Poll
- Blocklist
- Routing
- Relay
- Schemas
Admin API based
- Organization
- Merchant Account
- Business Profile
- API Key
- Merchant Connector Account
- GSM (Global Status Mapping)
- Event
GSM (Global Status Mapping)
Gsm - Update
Updates a Gsm Rule
POST
/
gsm
/
update
curl --request POST \
--url https://sandbox.hyperswitch.io/gsm/update \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"connector": "<string>",
"flow": "<string>",
"sub_flow": "<string>",
"code": "<string>",
"message": "<string>",
"status": "<string>",
"router_error": "<string>",
"decision": "retry",
"step_up_possible": true,
"unified_code": "<string>",
"unified_message": "<string>",
"error_category": "frm_decline",
"clear_pan_possible": true
}'
{
"connector": "<string>",
"flow": "<string>",
"sub_flow": "<string>",
"code": "<string>",
"message": "<string>",
"status": "<string>",
"router_error": "<string>",
"decision": "<string>",
"step_up_possible": true,
"unified_code": "<string>",
"unified_message": "<string>",
"error_category": "frm_decline",
"clear_pan_possible": true
}
Authorizations
Admin API keys allow you to perform some privileged actions such as creating a merchant account and Merchant Connector account.
Body
application/json
Response
200
application/json
Gsm updated
The response is of type object
.
curl --request POST \
--url https://sandbox.hyperswitch.io/gsm/update \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"connector": "<string>",
"flow": "<string>",
"sub_flow": "<string>",
"code": "<string>",
"message": "<string>",
"status": "<string>",
"router_error": "<string>",
"decision": "retry",
"step_up_possible": true,
"unified_code": "<string>",
"unified_message": "<string>",
"error_category": "frm_decline",
"clear_pan_possible": true
}'
{
"connector": "<string>",
"flow": "<string>",
"sub_flow": "<string>",
"code": "<string>",
"message": "<string>",
"status": "<string>",
"router_error": "<string>",
"decision": "<string>",
"step_up_possible": true,
"unified_code": "<string>",
"unified_message": "<string>",
"error_category": "frm_decline",
"clear_pan_possible": true
}