Skip to content

Commit ce85cac

Browse files
committed
feat: add failure details type in trasaction
1 parent 0cfc52a commit ce85cac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/types/transaction.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export interface TransactionBase {
6868
transaction_type: 'purchase' | 'capture' | 'authorize' | 'refund'
6969
status: 'complete' | 'failed' | 'pending' | 'cancelled'
7070
relationships: any
71+
failure_details?: { code?: string; reason?: string }
7172
meta: {
7273
display_price: {
7374
amount: number

0 commit comments

Comments
 (0)