Endpoints
Get Account Holder
Retrieve details of an account holder by their ID
GET
Get Account Holder
This endpoint allows you to retrieve details of an account holder by their unique identifier. Endpoint:GET /v1/accountholders/{accountHolderId}
Path Parameter
- accountHolderId (string, required): The unique identifier of the account holder to retrieve.
- Example:
233559400612
- Example:
Responses
200 OK - Success Response
Returns account holder details when found.404 Not Found - Account Holder Not Found
401 Unauthorized - Invalid Credentials
Response Fields
- statusCode (string): Status code indicating the result of the request
"0000": Successful"0404": Account holder not found"0401": Unauthorized
- statusMessage (string): Human-readable status message
- transactionId (string): Unique transaction identifier for tracking
- sequenceNo (string): Sequence number for the request
- data (object): Account holder information when successful
- accountName (string): Account holder’s full name
- msisdn (string): Mobile subscriber identifier
- network (string): Mobile network provider (e.g., MTN, Vodafone)
- links (array): HATEOAS links for related actions
Usage Example
The examples above show how to authenticate and retrieve account holder information using different programming languages.Authorizations
Basic authentication using base64 encoded username:password
Path Parameters
The unique identifier of the account holder
Response
Account holder details retrieved successfully
Status code indicating the result of the request
Example:
"0000"
Human-readable status message
Example:
"Successful"
Unique transaction identifier for tracking
Example:
"454545455"
Sequence number for the request
Example:
"030720241222005656869"
Account holder information when successful
HATEOAS links for related actions