Mobile & DTH Recharge
POST Transaction
https://www.apilogin.in/partner/api/recharge/transaction
This API is used to recharge.
Checksum generation Logic:
Input: {user_id}|{timestamp}|{number}|{order_id}
Input Type: Text
Key: {secret_key}
Key Type: HEX
SHA variant: SHA512
Output type: BASE-64
Example Request
curl --location --request POST 'https://www.apilogin.in/partner/api/recharge/transaction' \
--data-raw '{
"user_id": "FISPL604796",
"token": "Nrp4IKotcC5brQLddiNoQr8KY99ym1sq",
"number": "9836114520",
"amount": "10",
"operator_code": "RJP",
"order_id": "R19909145177137",
"timestamp": "1609145161385",
"checksum": "upHKjMwihKlxg4+NHQImZ+88LqAH2ViLWLF4q+DCGt34sr/V+rPewt66zH7EPpLpG2mOLtwKznw1EEwY556Wwg=="
}'
BODY raw
{
"user_id": "FISPL604796",
"token": "Nrp4IKotcC5brQLddiNoQr8KY99ym1sq",
"number": "9073***444",
"amount": "10",
"operator_code": "RJP",
"order_id": "R19909145177137",
"timestamp": "1609145161385",
"checksum": "upHKjMwihKlxg4+NHQImZ+88LqAH2ViLWLF4q+DCGt34sr/V+rPewt66zH7EPpLpG2mOLtwKznw1EEwY556Wwg=="
}
Example Response
Body
{
"status": "SUCCESS",
"message": "Transaction Successful",
"data": {
"fpay_id": "RCH300874073984JLPGI",
"operator_id": "BR0005MIKE46"
}
}
Header
Date: Mon, 28 Dec 2020 09:21:48 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
POST Check Transaction Status
https://www.apilogin.in/partner/api/recharge/check_status
{
"user_id": "FISPL604796",
"token": "Nrp4IKotcC5brQLddiNoQr8KY99ym1sq",
"order_id": "R19909145177137",
"timestamp": "1609150901086",
"checksum": "GqyOm+djRkYGvU+k0eWtC0LvvdTDL1iOpxOMQvkShTCj1Eux7TsDv68FZuOmLfHhz/jvtkQAMgrnRHuc4iRt4Q=="
}
Example Request
curl --location --request POST 'https://www.apilogin.in/partner/api/recharge/check_status' \
--data-raw '{
"user_id": "FISPL604796",
"token": "Nrp4IKotcC5brQLddiNoQr8KY99ym1sq",
"order_id": "R19909145177137",
"timestamp": "1609150901086",
"checksum": "GqyOm+djRkYGvU+k0eWtC0LvvdTDL1iOpxOMQvkShTCj1Eux7TsDv68FZuOmLfHhz/jvtkQAMgrnRHuc4iRt4Q=="
}'
POST Fetch Operator
https://www.apilogin.in/partner/api/plans/fetch_operator
BODY raw
{"user_id":"FISPL604796","token":"Nrp4IKotcC5brQLddiNoQr8KY99ym1sq","mobile":"9073196444"}
Example Response
Body
{
"status": "SUCCESS",
"message": "Operator fetched successfully",
"data": {
"operator": "Vi",
"circle": "Kolkata"
}
}
Header
Date: Wed, 30 Dec 2020 11:59:24 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8