Authorizations
HMAC signature authentication. The Authorization header must contain your public key
and HMAC signature in the format: public_key:signature
Format: Authorization: public_key:signature
Example: Authorization: pub_abc123xyz:abc123def456ghi789...
The signature is generated by creating an HMAC hash of the request body (JSON stringified) using your secret key. Contact your account manager to obtain your public key and secret key for generating signatures.
Body
User's email address
"john.doe@example.com"
User's first name
"John"
User's last name
"Doe"
User's mobile phone number (must be a valid Ghanaian mobile number)
"+233241234567"
User's date of birth
"1990-05-15"
User's Ghana Card number
"GHA-123456789-1"
User's middle name or other name (optional)
"Michael"
Type of account (MONO for Mobile Money, BANK for bank account). Required if account details are provided.
MONO, BANK "MONO"
Account number. Required if accountType is provided.
"0241234567"
Mobile Money network. Required if accountType is MONO.
MTN, AIRTEL_TIGO, TELECEL "MTN"
Bank name. Required if accountType is BANK.
"Ghana Commercial Bank"
Name on the account. Required if accountType is provided.
"John Doe"
Response
User created or added to institution successfully
User information
Unique identifier of the user
"550e8400-e29b-41d4-a716-446655440000"
User's first name
"John"
User's last name
"Doe"
User's middle name or other name
"Michael"
User's email address
"john.doe@example.com"
User's mobile phone number
"+233241234567"
Date and time when the user was created
"2024-01-15T10:30:00Z"
