feat: implement topup functionality with create, get, and cancel operations

This commit is contained in:
2025-07-04 23:06:13 +05:00
parent 89a35a9674
commit ee461bbbf8
3 changed files with 135 additions and 9 deletions

View File

@ -1,9 +1,19 @@
export type TopupType = {
amount: number;
userId: string;
paid: boolean;
};
export type Transaction = {
ref: string;
sourceBank: string;
trxDate: string;
}
export type TopupResponse = {
status: boolean;
message: string;
transaction?: Transaction
}
interface IpAddress {
ip: string;
mask: number;