kotanipay-sdk
Version:
Official Kotani Pay SDK for Node.js and Browser
26 lines • 981 B
TypeScript
export interface CreateMobileMoneyCustomerRequest {
phone_number: string;
country_code: 'GHA' | 'KEN' | 'ZAC' | 'CIV' | 'ZMB' | 'CMR' | 'COD' | 'SEN' | 'TZM' | 'MWI' | 'UGA' | 'ETH' | 'GRW';
network?: 'MPESA' | 'MTN' | 'AIRTEL' | 'VODAFONE' | 'TIGO' | 'ORANGE' | 'NOT_SUPPORTED' | 'ZAMTEL' | 'CHECKOUT' | 'BKTRX' | 'CRDTRX' | 'MOOV' | 'TMONEY' | 'FREE' | 'EXPRESSO' | 'HALOPESA' | 'VODACOM';
account_name?: string;
}
export interface MobileMoneyCustomerResponse {
success: boolean;
message: string;
data: {
id: string;
phone_number: string;
country_code: string;
network?: string;
account_name?: string;
status: 'active' | 'inactive' | 'pending';
created_at: string;
updated_at: string;
};
}
export interface GetMobileMoneyCustomersResponse {
success: boolean;
message: string;
data: MobileMoneyCustomerResponse['data'][];
}
//# sourceMappingURL=mobile-money.types.d.ts.map