Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix(transactions): add missing attribute refund_mechanism (#730)
Browse files Browse the repository at this point in the history
* fix(transactions): add missing attribute refund_mechanism

* changed refund_mechanism to optional
  • Loading branch information
sarawasim1 authored Sep 15, 2022
1 parent 1f08ca8 commit 68da83b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/transaction.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface TransactionBase {
amount: number
currency: string
refunded_amount: number
refund_mechanism?: 'automatic' | 'manual'
transaction_type: 'purchase' | 'capture' | 'authorize' | 'refund'
status: 'complete' | 'failed' | 'pending' | 'cancelled'
relationships: any
Expand Down

0 comments on commit 68da83b

Please sign in to comment.