Skip to content

Commit 289ef15

Browse files
refactor: updated Transaction interface
1 parent 4b2a733 commit 289ef15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/transaction/interface.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,11 @@ export interface TransactionInitialized extends Response {
9090
}
9191

9292
export interface Transaction {
93+
id:number;
9394
amount: number;
9495
currency: string;
95-
transaction_date: Date;
96+
paid_at: Date;
97+
created_at:Date;
9698
status: string;
9799
reference: string;
98100
domain: string;
@@ -124,7 +126,7 @@ export interface Transaction {
124126
authorization: Authorization;
125127
customer: Customer;
126128
pin: string;
127-
required_amount: number;
129+
requested_amount: number;
128130
}
129131

130132
export interface GetTransactionResponse extends Response {

0 commit comments

Comments
 (0)