Create a new institution member (user) programmatically. This endpoint allows you to register individual members with their personal information and optional account details.
User Creation:
Account Details:
accountType, accountNumber, network, and accountNameaccountType, accountNumber, bankName, and accountNameMOMO (Mobile Money) or BANKMTN, AIRTEL_TIGO, or TELECELValidation:
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 for POST/PUT requests. For GET requests, the signature is generated using the query parameters (JSON stringified) instead of the request body. Contact your account manager to obtain your public key and secret key for generating signatures.
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 Ghana Card number
"GHA-123456789-1"
User's monthly income
5000
User's middle name or other name (optional)
"Michael"
User's date of birth (optional)
"1990-05-15"
Type of account (MOMO for Mobile Money, BANK for bank account). Required if account details are provided.
MOMO, BANK "MOMO"
Account number. Required if accountType is provided.
"0241234567"
Mobile Money network. Required if accountType is MOMO.
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"
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"
User's Ghana Card number
"GHA-123456789-1"
User's account details (Mobile Money or Bank account)
Date and time when the user was created
"2024-01-15T10:30:00Z"