New New: idempotent repayments with client_ref — safe retries for branches on patchy connections Read →
74 Sign in Start free trial

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

ParameterTypeRequiredDescription
entitystring optionalindividual (default) or business
first_namestring requiredRequired for individuals
supplier_business_namestring optionalRequired when entity is business
mobilestring requiredMobile number, used for M-Pesa and SMS
location_idinteger requiredBranch id, from GET /members/form-options
emailstring optionalEmail address
dobdate optionalDate of birth
customer_group_idinteger optionalGroup / solidarity group
loan_officer_idinteger optionalAssigned loan officer

Request

bash
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=1

Response

JSON
{
  "success": true,
  "message": "Client added successfully",
  "id": 8822
}

Something unclear or out of date? Tell us and we'll fix it.