Fetch All Service Requests API

The Fetch All Service Requests API is used to fetch all the service requests raised during the date range..

Environment

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:

ParameterTypeParameter RequirementDescription
responseDateTimeNumeric(14)MandatoryResponse date time in the format YYYYMMDDHHMMSS with time in 24-hour format
urnnumeric (6)MandatoryEchoed from the request.
cardNumbernumeric (16)OptionalCard number of the card holder.
serviceRequestObject arrayMandatoryList 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 CodeDescription
00SUCCESS
14Service request does not exist
9007INVALID BANK ID
9008INVALID CLIENT ID
9009BANK CLIENT ID MISMATCH
9028INVALID CUSTOMER ID
9030INVALID MOBILE NUMBER
9031INVALID SERVICE STATUS
9032SERVICE STATUS NOT CONFIGURED
9033FROM DATE IS MANDATORY
9034TO DATE IS MANDATORY

Request parameters

Reason IDs

Reason IDDescription
1I did not do this transaction
2I have been billed multiple times for the same transaction
3I still have not received my refund
4Money got debited from my account but merchant did not receive payment
5Mismatch between amount debited from my A/C and amount billed by the merchant
6Goods or Services Not Provided / Not Received
7Others
8Transaction drop
9Amount not credited back to source
10Cash back queries
11Delay in loading of wallets
12Related to Fees/charges/disclosures
Language
URL
Click Try It! to start a request and see the response here!