post https://payusandbox-kong.pc.enstage-sas.com/hexappiuat/api/v2/qa/payuppi/odrService/api/odr/v2/viewservicerequests
The Fetch All Service Requests API is used to fetch all the service requests raised during the date range..
Environment
Sandbox | https://payusandbox-kong.pc.enstage-sas.com/hexappiuat/api/v2/qa/payuppi/odrService/api/odr/v2/viewservicerequests> |
Production | Contact your WIBMO KAM or support. |
Sample request
curl --request POST \
--url https://payusandbox-kong.pc.enstage-sas.com/hexappiuat/api/v2/qa/payuppi/odrService/api/odr/v2/viewservicerequests \
--header 'X-Consumer-Custom-ID: 8654891RYY57Q0C54329BAD9C7A2DU0G1' \
--header 'bankId: 6060' \
--header 'clientId: 2040' \
--header 'content-type: application/json' \
--header 'entityId: 100' \
--header 'secureCode: FSeAh0yFMopKgU6UNuYLk6' \
--header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
--data '
{
"token": "cbmybddd/blVjlCsFeyyva3WxJaMO0uxS+Mn/IsXi2zFi5W1M6tJYceQ4sUFJ8FZR0FmBklVbctfiSHBR4Yw/G0vFzJHby6O1CjVpYLRnMKnmDraLKcXxRqXmEc2x2fhsbhOe/9IDdnvTAnoeBizkygnUaMxWTh3mqrPBrhIR+jhbpLRATv+USKxccqmWXd7wW38KAql8uK4AbY6802/sw=="
}
'
Response parameters (Decrypted)
This API will provide a token in the response that must be decrypted using the Decrypt API. The decrypted response is similar to the following:
Parameter | Type | Parameter Requirement | Description |
---|---|---|---|
responseDateTime | Numeric(14) | Mandatory | Response date time in the format YYYYMMDDHHMMSS with time in 24-hour format |
urn | numeric (6) | Mandatory | Echoed from the request. |
cardNumber | numeric (16) | Optional | Card number of the card holder. |
serviceRequest | Object array | Mandatory | List of SRs for the customer. |
Sample response (Decrypted)
{
"responseCode": "00",
"responseMessage": "Success",
"responseDateTime": "12-12-2023 16:24:42",
"bankId": 6010,
"serviceRequest": [
{
"serviceRequestNo": 92,
"currentStatus": "OPEN",
"txnDateTime": "2023-01-24 05:14:25",
"transactionId": "16578",
"merchantName": "unnati",
"txnAmount": "100",
"urn": 70000000996,
"createdBy": "admin",
"disputeReason": "I have been billed multiple times for the
same transaction",
"disputeComment": "testing for QA",
"createdDateTime": "2023-12-08 06:05:30",
"csrFileName": "NA",
"lastModifyBy": "NA",
"requestSource": "CSR"
},
{
"serviceRequestNo": 100,
"currentStatus": "OPEN",
"txnDateTime": "2023-12-20 06:30:00",
"transactionId": "44022",
"merchantName": "Kee",
"txnAmount": "1000.50",
"urn": 70XXXXXX6,
"createdBy": "admin",
"disputeReason": "I have been billed multiple times for the
same transaction",
"disputeComment": "Testing",
"createdDateTime": "2023-12-12 10:52:44",
"csrFileName": "NA",
"lastModifyBy": "NA",
"requestSource": "API"
}
]
}
Error codes
Error Code | Description |
---|---|
00 | SUCCESS |
14 | Service request does not exist |
9007 | INVALID BANK ID |
9008 | INVALID CLIENT ID |
9009 | BANK CLIENT ID MISMATCH |
9028 | INVALID CUSTOMER ID |
9030 | INVALID MOBILE NUMBER |
9031 | INVALID SERVICE STATUS |
9032 | SERVICE STATUS NOT CONFIGURED |
9033 | FROM DATE IS MANDATORY |
9034 | TO DATE IS MANDATORY |
Request parameters
Reason IDs
Reason ID | Description |
---|---|
1 | I did not do this transaction |
2 | I have been billed multiple times for the same transaction |
3 | I still have not received my refund |
4 | Money got debited from my account but merchant did not receive payment |
5 | Mismatch between amount debited from my A/C and amount billed by the merchant |
6 | Goods or Services Not Provided / Not Received |
7 | Others |
8 | Transaction drop |
9 | Amount not credited back to source |
10 | Cash back queries |
11 | Delay in loading of wallets |
12 | Related to Fees/charges/disclosures |