GoDigital
GoDigital Payments API

Name Check

Server

Verify the registered customer name behind a mobile number before paying out.


Verify customer name

GET
https://api-sandbox.godigital.tz/api/v1
/payments/name-check

Returns the registered customer name for a mobile number on a given network. Use it before a disbursement to confirm you are paying the right person, and that the number belongs to the network you are about to use.

Verify customer name › query Parameters

providerCode
​ProviderCode · enum · required

Mobile network of the number.

Mobile network wallet tree the request is posted to.

Enum values:
YAS
YAS (formerly Tigo) wallet tree
VODACOM
Vodacom M-Pesa wallet tree
AIRTEL
Airtel Money wallet tree
HALOTEL
Halopesa wallet tree
msisdn
​string · pattern: ^255[0-9]{9}$ · required

Customer mobile number in international format, for example 2556XXXXXXXX.

Verify customer name › Headers

Accept
​string · required
Default: application/json
X-Client-Id
​string · required

Client identifier issued during onboarding.

X-Request-Id
​string · uuid · required

Unique identifier for this request, used for traceability. A UUID is recommended.

Verify customer name › Responses

Name found.

Every response uses this envelope.
status
​string · enum · required

Whether the API call itself was processed. For the payment outcome, read data.transactionStatus.

Enum values:
SUCCESS
FAILED
code
​string · required

Result code. PGW-0000 means success.

message
​string · required
requestId
​string

Echo of your request identifier.

timestamp
​string · date-time

ISO-8601 timestamp with timezone.

Endpoint-specific payload. null on errors.