Account Enquiry

POST
/account-enquiry

Authorization

AuthorizationRequiredBasic <token>

In: header

Request Body

application/jsonRequired
  • identifier (phone / email)
identifierRequiredstring

Response Body

The request was successful, and a new resource was created.

TypeScript Definitions

Use the response body type in TypeScript.

statusCodeRequiredinteger
successRequiredboolean
dataRequiredobject
messageRequiredstring
curl -X POST "https://testcbrs.eaglelionsystems.com/v1.0/cbrs-api/connect/account-enquiry" \
  -H "Authorization: Basic <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "identifier": "+251964019942"
  }'
{
  "statusCode": 200,
  "success": true,
  "data": {
    "_id": "68774b604ed43305e1d0e1f6",
    "email": "mehertu.abreham@gmail.com",
    "phoneNumber": "+251964019942"
  },
  "message": "Account found successfully"
}