Create member
Registers an individual or business member at a branch.
POST
https://app.zung.ai/connector/api/banking/members
Banking API — authenticate with a staff bearer token. Results respect that user's permissions and branch access.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entity | string | optional | individual (default) or business |
first_name | string | required | Required for individuals |
supplier_business_name | string | optional | Required when entity is business |
mobile | string | required | Mobile number, used for M-Pesa and SMS |
location_id | integer | required | Branch id, from GET /members/form-options |
email | string | optional | Email address |
dob | date | optional | Date of birth |
customer_group_id | integer | optional | Group / solidarity group |
loan_officer_id | integer | optional | Assigned loan officer |
Request
curl -X POST "https://app.zung.ai/connector/api/banking/members" \
-H "Authorization: Bearer $ZUNG_TOKEN" \
-H "Accept: application/json" \
-d first_name=Fatuma \
-d mobile=+254712345678 \
-d location_id=1Response
{
"success": true,
"message": "Client added successfully",
"id": 8822
}Something unclear or out of date? Tell us and we'll fix it.