Skip to content

Dispute Inquiry

Request URL

HTTP
https://{{gateway_domain}}/pg/v2/dispute/query

Request Parameters

HTTP Method

POST

HTTP Header

FieldData TypeLength LimitRequiredDescription
Content-TypeStringN/AYESThis field value only supports application/json.
AcceptStringN/AYESThis field value only supports application/json.
AuthorizationStringYESAuthorization: {type} {credentials}, refer to the Signature specification

HTTP Body

FieldData TypeLength LimitRequiredDescription
merchantTradeNoString50Choose one of disputeNo, paymentNo, merchantTradeNoMerchant order number
disputeNoString32Choose one of disputeNo, paymentNo, merchantTradeNoDispute number
paymentNoString32Choose one of disputeNo, paymentNo, merchantTradeNoPayment number

Response Data

HTTP Header

FieldData TypeRequiredDescription
Content-TypeStringYESThis field value only supports application/json.
AuthorizationStringYESAuthorization: {type} {credentials}, refer to the Signature specification

HTTP Body

FieldData TypeRequiredDescription
codeStringYESRefer to the response codes
errorMessageStringNOError message
dataJSON ObjectNO

Description of data field

FieldData TypeRequiredDescription
disputeNoStringYESDispute number generated by the payment platform
paymentNoStringYESPayment number
merchantTradeNoStringYESMerchant order number
statusStringYESSee Dispute Status
typeStringNODispute type
rrnStringNOChannel retrieval reference number, depends on channel
deadlineStringNODispute deadline
paymentAmountStringYESOrder amount
disputeAmountStringYESDispute amount
currencyStringYESCurrency
disputeReasonStringYESDispute reason
createdTimeStringYESDispute creation time (local time, with timezone)

Examples

Request

HTTP
curl https://{{gateway_domain}}/pg/v2/dispute/query \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H 'Authorization: V2_SHA256 appId=1111b620f93b48c5904210ff47bb1111,sign=9e494e8a91bcdd08f18ad5b2cfdbfd5654f5c00c89f8216eebd7c1637b6ce01b,timestamp=1714128828114,nonce=C7CA27DC6D55DA935DFC8450C721CC99' \
  -d '{
  "merchantTradeNo": "MTOU-0211"
}'

Response

HTTP
HTTP/1.1 200 OK
Content-Type: application/json
Server: nginx/1.18.0
Date: Mon, 06 Mar 2024 12:00:00 GMT
Authorization: V2_SHA256 appId=1111b620f93b48c5904210ff47bb1111,sign=ac6ae72f8c46f5c2092c3dab9bb0e08b6cdb6d5e7ff8ad190499a8955d57f297,timestamp=1714128245401,nonce=28FA11BF8FD1309767551B4FD8A57BD5

{
    "code": "OK",
    "errorMessage": null,
    "data": {
      "disputeNo": "1234567890",
      "paymentNo": "1234567890",
      "merchantTradeNo": "MTOU-0211",
      "status": "OPEN",
      "type": "FRAUD",
      "rrn": "123456789",
      "paymentAmount": "1.00",
      "disputeAmount": "1.00",
      "currency": "INR",
      "disputeReason": "FRAUD",
      "createdTime": "2024-04-23T22:10:45+08:00",
      "deadline": "2024-04-23T22:10:45+08:00"
    }
}

Dispute Status

StatusDescription
OPENDispute created
UNDER_REVIEWUnder review
WONWon
LOSTLost
CLOSEDClosed

Dispute Type

TypeDescription
FRAUDFraud
RETRIEVALRetrieval
BO_RBI_COMPLAINTRBI complaint
ARBITRATION_RAISEArbitration raise
PRE_ARBITRATION_RAISEPre-arbitration raise
DIFFERED_CHARGEBACK_RAISEDiffered chargeback raise
CHARGEBACK_RAISEChargeback raise
CHARGEBACKChargeback
CYBER_CRIME_CASECyber crime case
USER_COMPLAINTUser complaint
UNKNOWNUnknown