POST
/
routing
/
feedback
Routing - Feedback
curl --request POST \
  --url https://sandbox.hyperswitch.io/routing/feedback \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "merchantId": "<string>",
  "gateway": "<string>",
  "status": "STARTED",
  "paymentId": "<string>"
}'
{
  "message": "<string>"
}

Authorizations

api-key
string
header
required

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.

Body

application/json
merchantId
string
required
gateway
string
required
status
enum<string>
required
Available options:
STARTED,
AUTHENTICATION_FAILED,
JUSPAY_DECLINED,
PENDING_VBV,
V_B_V_SUCCESSFUL,
AUTHORIZED,
AUTHORIZATION_FAILED,
CHARGED,
AUTHORIZING,
C_O_D_INITIATED,
VOIDED,
VOIDED_POST_CHARGE,
VOID_INITIATED,
NOP,
CAPTURE_INITIATED,
CAPTURE_FAILED,
VOID_FAILED,
AUTO_REFUNDED,
PARTIAL_CHARGED,
TO_BE_CHARGED,
PENDING,
FAILURE,
DECLINED
paymentId
string
required

Response

Gateway score updated successfully

message
string
required