Skip to main content

Initiate Recharge

Initiate Recharge

Postman Collection

URL

POST : /v1/service/recharge/initiate

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

circleId  (String)   Required
Circle Id (You will get circleId from the Get Circle API) (Max Length: 5)
operatorId  (String)   Required
operator Id (You will get operatorId from Get Operator API ) (Max Length: 3)
phone  (String)   Required
Customer Phone Number Or Customer Id (for DTH) (Max Length: 10)
amount  (String)   Required
Recharge Amount (Max Length: 5)
clientRefId  (Number)   Required
Unique Reference number (Max Length: 30)

Request

Example Request
    curl --location '/v1/service/recharge/initiate' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"circleId" : "20",
"operatorId" : "5",
"phone" : "9651XXXX86",
"amount" : "10",
"clientRefId" : "RECH_798099XXXX093009"
}'

Response Samples

    {
"code": "0x0200",
"message": "Recharge successfully.",
"status": "SUCCESS",
"data": {
"amount": "10",
"txnId": "W2312301XXXX1BRBN",
"venderId": "UEH2312301XXXX80037",
"customerNumber": null,
"remarks": "Transaction Successful",
"merchantCode": null
}
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING