Skip to content

Commit c85a496

Browse files
Add isAdvanceable field for AchReceivedPayment and ReceivedPaymentCreated event (#346)
* Add isAdvanceable field * typo * Update events.ts * Update payments.ts --------- Co-authored-by: Ilya Merman <[email protected]> Co-authored-by: Ilya Merman <[email protected]>
1 parent a22feda commit c85a496

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

types/events.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ export type ReceivedPaymentCreated = BaseEvent & {
415415
status: ReceivedPaymentStatus
416416
type: string
417417
amount: number
418+
isAdvaceable: boolean // TODO: typo, will be fixed on API and be removed in a future version
419+
isAdvanceable: boolean
418420
completionDate: string
419421
companyName: string
420422
counterpartyRoutingNumber: string

types/payments.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ export interface AchReceivedPayment {
256256
*/
257257
wasAdvanced: boolean
258258

259+
/**
260+
* Optional. Will be true if the received payment can be Advanced.
261+
*/
262+
isAdvaceable?: boolean // TODO: typo, will be fixed on API and be removed in a future version
263+
isAdvanceable?: boolean
264+
259265
/**
260266
* Shows the date on which the received ACH will be completed(settled or repaid).
261267
*/

0 commit comments

Comments
 (0)