BasicUserInfo
Data class representing basic user information (KYC payload) returned by the MTN MOMO API.
This is a superset covering both response shapes the SDK encounters:
The Collection/Disbursement
basicuserinforesponse, which is OIDC-style and includes sub, name, gender, and updatedAt.The Remittance
.../accountholder/msisdn/{accountHolderMSISDN}/basicuserinforesponse, which is the KYC payload of givenName, familyName, birthDate, locale, and status and omits sub/name.
Every server-supplied field is therefore nullable, so a payload that omits any of them deserializes without failure.
Properties
A human-readable formatted version of updatedAt; computed locally, not present in the API response.
Surname(s) or last name(s) of the End-User. Some cultures allow multiple family names or none; all present names are separated by space characters.