Create Service Request API

The Create Service Request API is used to raise a successful dispute service request, it creates a request for a particular transaction sent in the request with the proper reason to raise a request. If raised successfully, this API shares the generated service request and its details in its response.

Environment

  
Sandboxhttps://payusandbox-kong.pc.enstage-sas.com/api/odr/v2/createServiceRequest
ProductionContact 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/createservicerequest \
     --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": "U+IrMhO6ah2GUXOkMLYIwc++wkJZHYJ3s9Xux+qw8U8nlnPs5Yg00tXpGronm5OPs9vYMxaQ7v23KR8SYSfqrjnCuJwsGF8Np3Ujlasbm+abukdLt0ord0Es36AzlBSaLX7Eq9khCcye2DAa5a6nFl3+IsQPUacRN0CB8vz06JrGZ6iXrMk5/7O9rnHXzKMrMimddP0oKIoXfCNdeVflOpTGFLJX+71MdoiVbun2SQ//Do/uXiTEodN9NSqMuYaqZMzBHPB7uLo+XFe4TFrq5a3j2/LAoFzKh13AISN2bkGpiYj3bKr7E1QhXrQIpCopl3JYLzNkGcvlOCzs3aATczY+CxqVPbNjBm1WCXyQkAi3aswCxiHwenMYB9GidHrBUCo3sarBNRn48GK8/LQDMFCcvTjcyDBcVrn8YzVfIOTkwk69cgStQjKf1efb+5xeTGpHDwrAWE/k4ifFs3gadq5k8nnNSkPy4dhv1RGhFHAfeUsy9aDbHjTPDvJtQP1m"
}
'
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
bankIdnumeric(4)ConditionalValue echoed from the request.
clientTxnIdString(100)MandatoryUnique ID generated by the calling application for each API request.
responseCodeString(4)MandatoryContains the status of the transaction.
responseMessageString (15)MandatoryResponse message based on the response code.
serviceRequestNonumeric(4)ConditionalA Unique ID generated for each service request.
responseDateTimenumeric(14)MandatoryResponse date time in the format YYYYMMDDHHMMSS with time in 24-hour format
Sample response (Decrypted)
{
    "responseCode": "00",
    "responseMessage": "Success",
    "responseDateTime": "12-12-2023 16:35:33",
    "bankId": 6010,
    "clientTxnId": "test131",
    "serviceRequestNo": 101
}
Error codes
Error CodeDescription
00SUCCESS
03INVALID REGISTERED MOBILE NUMBER
04INVALID BENEFICIARY MOBILE NUMBER
05INVALID REGISTERED EMAIL ID
06ALREADY OPEN SERVICE REQUEST EXIST FOR THE GIVEN TRANSACTION
08ALREADY SERVICE REQUEST HAS BEEN SETTLED FOR THE GIVEN TRANSACTION
12INTERNAL SERVER ERROR
14REJECTED SERVICE REQUEST COUNT EXCEEDED FOR THE GIVEN TRANSACTION
155SERVICE UNAVAILABLE
1001CARD NOT FOUND
1303CUSTOMER DETAILS NOT PRESENT
1304MORE THAN ONE CUSTOMER IDENTIFIER NOT ALLOWED
9004INVALID FIELD FORMAT
9007INVALID BANK ID
9008INVALID CLIENT ID
9009BANK CLIENT ID MISMATCH
9010REQUEST SOURCE IS MANDATORY
9011REQUEST SOURCE CAN EITHER BE CSR OR API
9012TRANSACTION ID IS MANDATORY
9013TRANSACTION ID SHOULD CONTAIN ONLY NUMBERS
9014DISPUTE COMMENT IS MANDATORY
9015DISPUTE REASON ID IS MANDATORY
9016TRANSACTION AMOUNT IS MANDATORY
9017INVALID TRANSACTION AMOUNT
9018TXN DATE TIME IS MANDATORY
9019INVALID TXN DATE FORMAT
9020CLIENT TXN ID IS MANDATORY
9021INVALID CLIENT TXN ID
9023DISPUTE REASON ID NOT CONFIGURED
9024TRANSACTION ID MISMATCH FOR GIVEN DETAILS
9025TRANSACTION ID NOT PRESENT IN DB
9026INVALID TXN DATE
9027NO UNIQUE IDENTIFIER PROVIDED
9028INVALID CUSTOMER ID
9029INVALID DISPUTE COMMENT
9029INVALID DISPUTE COMMENT
9030INVALID MOBILE NUMBER

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!