v1

latestOpenAPI 3.0.02026-07-26168846732.2 KB
Routing

Routing - Feedback

Update gateway scores for dynamic routing

post/routing/feedback

Request body

merchantIdstring required

Profile ID of the merchant

gatewaystring required

Payment Gateway identifier

status'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' required
paymentIdstring required

Payment ID associated with the transaction

Example request

{
  "merchantId": "pro_aMoPnEkgCVnh2WVsFe32",
  "gateway": "stripe:mca1",
  "paymentId": "pay_1234"
}

Response

Gateway score updated successfully

messagestring required

Status message indicating the result of the score update

Example response

{
  "message": "Gateway score updated successfully"
}