seerbit-nodejs
Version:
SeerBit NodsJS SDK
40 lines (39 loc) • 995 B
TypeScript
declare namespace IMobileMoney {
interface InitializeRequest {
amount: string;
deviceType?: string;
fullName?: string;
fee?: string;
mobileNumber: string;
paymentType?: string;
sourceIP?: string;
invoiceNumber?: string;
network: string;
voucherCode?: string;
country: string;
currency: string;
email: string;
paymentReference: string;
productDescription?: string | null;
productId?: string | null;
publicKey?: string;
}
interface GetNetworksRequest {
publicKey?: string;
}
interface InitializeResponse {
code: string;
payments: {};
message: string;
}
interface GetNetworksResponse {
code: string;
networks: Array<{
networks: string;
uniqueKey: string;
status: string;
voucherCode: boolean;
}>;
message: string;
}
}