Skip to main content
PATCH
/
api
/
v3
/
customer
/
mobile-money
/
{customer_key}
Update a mobile money customer
curl --request PATCH \
  --url https://sandbox-api.kotanipay.io/api/v3/customer/mobile-money/{customer_key} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "network": "MPESA or MTN or AIRTEL or VODAFONE",
  "account_name": "<string>",
  "country_code": "GHA or KE",
  "first_name": "John",
  "last_name": "Doe",
  "date_of_birth": "1990-01-01",
  "id_number": "123456789",
  "image": "<string>",
  "id_type": "ECOWAS_ID or NATIONAL_ID"
}
'
{
  "success": true,
  "message": "Bio Data has been successfully updated.",
  "data": {
    "phone_number": "<string>",
    "country_code": "GHA or KE",
    "id": "<string>",
    "network": "MPESA or MTN or AIRTEL or VODAFONE",
    "customer_key": "<string>",
    "account_name": "<string>",
    "integrator": "<string>"
  }
}
An integrator can use this endpoint to update the customers who will be either receiving or sending money using mobile money.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_key
string
required

Body

application/json
network
enum<string>
Available options:
MTN,
AIRTEL,
VODAFONE,
TIGO,
ORANGE,
NOT_SUPPORTED,
ZAMTEL,
MPESA,
CHECKOUT,
BKTRX,
CRDTRX,
MOOV,
TMONEY,
FREE,
EXPRESSO,
HALOPESA,
VODACOM,
TNM
Example:

"MPESA or MTN or AIRTEL or VODAFONE"

account_name
string
country_code
enum<string>
Available options:
GHA,
NG,
KE,
ZA,
CIV,
ZM,
CMR,
COD,
SEN,
TZ,
MWI,
UG,
EG,
RW,
US
Example:

"GHA or KE"

first_name
string
Example:

"John"

last_name
string
Example:

"Doe"

date_of_birth
string
Example:

"1990-01-01"

id_number
string
Example:

"123456789"

image
string
id_type
enum<string>
Available options:
NATIONAL_ID,
ECOWAS_ID
Example:

"ECOWAS_ID or NATIONAL_ID"

Response

success
boolean
Example:

true

message
string
Example:

"Bio Data has been successfully updated."

data
object