Skip to content

Commit

Permalink
feat: add new payment request statuses
Browse files Browse the repository at this point in the history
feat: add new payment request statuses
  • Loading branch information
cernadasjuan committed Jun 18, 2024
2 parents 4d30253 + f25e603 commit 8430801
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"open banking"
],
"dependencies": {
"got": "^11.8.5",
"got": "11.8.6",
"jsonwebtoken": "^8.5.1"
},
"devDependencies": {
Expand Down Expand Up @@ -73,4 +73,4 @@
]
]
}
}
}
6 changes: 5 additions & 1 deletion src/types/payments/paymentRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ import { PaymentRecipient } from './paymentRecipient'
export const PAYMENT_REQUEST_STATUS = [
'CREATED',
'IN_PROGRESS',
'WAITING_PAYER_AUTHORIZATION',
'COMPLETED',
'SCHEDULED',
'WAITING_PAYER_AUTHORIZATION',
'ERROR',
'REFUND_IN_PROGRESS',
'REFUNDED',
'REFUND_ERROR',
] as const
/**
* @typedef PaymentRequestStatus
Expand Down

0 comments on commit 8430801

Please sign in to comment.