Skip to main content

Get Account Info

Get Account Info:

Postman Collection

URL

GET : /v1/common/account/info

Headers

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

Request

Example Request
curl --location --request GET '/v1/common/account/info' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data ''

Response Samples

    {
"code": "0x0200",
"message": "Record fetched successfully.",
"status": "SUCCESS",
"data":
{
"primaryAccount": {
"accountNumber": 556000000001,
"tradeBalance": "350.00",
"blockedBalance": "0.00"
},
"serviceAccount": [
{
"serviceName": "AEPS",
"accountNumber": 200000000001,
"tradeBalance": "0.00",
"blockedBalance": "0.00"
},
{
"serviceName": "DMT",
"accountNumber": 900000000001,
"tradeBalance": "0.00",
"blockedBalance": "0.00"
},
{
"serviceName": "Smart Payout",
"accountNumber": 100000000001,
"tradeBalance": "82.56",
"blockedBalance": "0.00"
},
{
"serviceName": "Recharge",
"accountNumber": 400000000001,
"tradeBalance": "380.00",
"blockedBalance": "0.00"
},
{
"serviceName": "Pan",
"accountNumber": 600000000001,
"tradeBalance": "98.00",
"blockedBalance": "0.00"
}
]
}
}

Response Code

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