increase 0.568.1 → 0.569.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/core/error.d.mts +5 -0
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +5 -0
- package/core/error.d.ts.map +1 -1
- package/core/error.js +1 -0
- package/core/error.js.map +1 -1
- package/core/error.mjs +1 -0
- package/core/error.mjs.map +1 -1
- package/package.json +9 -15
- package/resources/ach-prenotifications.d.mts +6 -5
- package/resources/ach-prenotifications.d.mts.map +1 -1
- package/resources/ach-prenotifications.d.ts +6 -5
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-transfers.d.mts +4 -3
- package/resources/ach-transfers.d.mts.map +1 -1
- package/resources/ach-transfers.d.ts +4 -3
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/card-disputes.d.mts +24 -2
- package/resources/card-disputes.d.mts.map +1 -1
- package/resources/card-disputes.d.ts +24 -2
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-payments.d.mts +32 -5
- package/resources/card-payments.d.mts.map +1 -1
- package/resources/card-payments.d.ts +32 -5
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-push-transfers.d.mts +28 -0
- package/resources/card-push-transfers.d.mts.map +1 -1
- package/resources/card-push-transfers.d.ts +28 -0
- package/resources/card-push-transfers.d.ts.map +1 -1
- package/resources/cards.d.mts +4 -0
- package/resources/cards.d.mts.map +1 -1
- package/resources/cards.d.ts +4 -0
- package/resources/cards.d.ts.map +1 -1
- package/resources/check-transfers.d.mts +4 -2
- package/resources/check-transfers.d.mts.map +1 -1
- package/resources/check-transfers.d.ts +4 -2
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/declined-transactions.d.mts +2 -1
- package/resources/declined-transactions.d.mts.map +1 -1
- package/resources/declined-transactions.d.ts +2 -1
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.d.mts +30 -2
- package/resources/digital-wallet-tokens.d.mts.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +30 -2
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/entities.d.mts +1 -1
- package/resources/entities.d.ts +1 -1
- package/resources/event-subscriptions.d.mts +10 -2
- package/resources/event-subscriptions.d.mts.map +1 -1
- package/resources/event-subscriptions.d.ts +10 -2
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/events.d.mts +11 -3
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +11 -3
- package/resources/events.d.ts.map +1 -1
- package/resources/exports.d.mts +55 -1
- package/resources/exports.d.mts.map +1 -1
- package/resources/exports.d.ts +55 -1
- package/resources/exports.d.ts.map +1 -1
- package/resources/fednow-transfers.d.mts +25 -0
- package/resources/fednow-transfers.d.mts.map +1 -1
- package/resources/fednow-transfers.d.ts +25 -0
- package/resources/fednow-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.d.mts +4 -0
- package/resources/inbound-wire-transfers.d.mts.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +4 -0
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/intrafi-balances.d.mts +0 -2
- package/resources/intrafi-balances.d.mts.map +1 -1
- package/resources/intrafi-balances.d.ts +0 -2
- package/resources/intrafi-balances.d.ts.map +1 -1
- package/resources/pending-transactions.d.mts +22 -0
- package/resources/pending-transactions.d.mts.map +1 -1
- package/resources/pending-transactions.d.ts +22 -0
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/physical-card-profiles.d.mts +23 -1
- package/resources/physical-card-profiles.d.mts.map +1 -1
- package/resources/physical-card-profiles.d.ts +23 -1
- package/resources/physical-card-profiles.d.ts.map +1 -1
- package/resources/physical-cards.d.mts +4 -1
- package/resources/physical-cards.d.mts.map +1 -1
- package/resources/physical-cards.d.ts +4 -1
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/programs.d.mts +1 -0
- package/resources/programs.d.mts.map +1 -1
- package/resources/programs.d.ts +1 -0
- package/resources/programs.d.ts.map +1 -1
- package/resources/real-time-decisions.d.mts +22 -0
- package/resources/real-time-decisions.d.mts.map +1 -1
- package/resources/real-time-decisions.d.ts +22 -0
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.mts +2 -1
- package/resources/simulations/ach-transfers.d.mts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +2 -1
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/card-authorizations.d.mts +2 -1
- package/resources/simulations/card-authorizations.d.mts.map +1 -1
- package/resources/simulations/card-authorizations.d.ts +2 -1
- package/resources/simulations/card-authorizations.d.ts.map +1 -1
- package/resources/simulations/card-balance-inquiries.d.mts +2 -1
- package/resources/simulations/card-balance-inquiries.d.mts.map +1 -1
- package/resources/simulations/card-balance-inquiries.d.ts +2 -1
- package/resources/simulations/card-balance-inquiries.d.ts.map +1 -1
- package/resources/simulations/check-deposits.d.mts +8 -0
- package/resources/simulations/check-deposits.d.mts.map +1 -1
- package/resources/simulations/check-deposits.d.ts +8 -0
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.mts +5 -1
- package/resources/simulations/digital-wallet-token-requests.d.mts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +5 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/entities.d.mts +1 -1
- package/resources/simulations/entities.d.ts +1 -1
- package/resources/simulations/inbound-wire-transfers.d.mts +5 -0
- package/resources/simulations/inbound-wire-transfers.d.mts.map +1 -1
- package/resources/simulations/inbound-wire-transfers.d.ts +5 -0
- package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/simulations/physical-cards.d.mts +4 -1
- package/resources/simulations/physical-cards.d.mts.map +1 -1
- package/resources/simulations/physical-cards.d.ts +4 -1
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/programs.d.mts +1 -0
- package/resources/simulations/programs.d.mts.map +1 -1
- package/resources/simulations/programs.d.ts +1 -0
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/swift-transfers.d.mts +1 -1
- package/resources/swift-transfers.d.ts +1 -1
- package/resources/swift-transfers.js +1 -1
- package/resources/swift-transfers.mjs +1 -1
- package/resources/transactions.d.mts +12 -4
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +12 -4
- package/resources/transactions.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.d.mts +11 -0
- package/resources/wire-drawdown-requests.d.mts.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +11 -0
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/src/core/error.ts +7 -0
- package/src/resources/ach-prenotifications.ts +6 -5
- package/src/resources/ach-transfers.ts +4 -3
- package/src/resources/card-disputes.ts +28 -1
- package/src/resources/card-payments.ts +34 -5
- package/src/resources/card-push-transfers.ts +34 -0
- package/src/resources/cards.ts +5 -0
- package/src/resources/check-transfers.ts +4 -2
- package/src/resources/declined-transactions.ts +2 -1
- package/src/resources/digital-wallet-tokens.ts +38 -2
- package/src/resources/entities.ts +1 -1
- package/src/resources/event-subscriptions.ts +16 -0
- package/src/resources/events.ts +20 -0
- package/src/resources/exports.ts +64 -0
- package/src/resources/fednow-transfers.ts +30 -0
- package/src/resources/inbound-wire-transfers.ts +5 -0
- package/src/resources/intrafi-balances.ts +0 -4
- package/src/resources/pending-transactions.ts +24 -0
- package/src/resources/physical-card-profiles.ts +25 -1
- package/src/resources/physical-cards.ts +4 -1
- package/src/resources/programs.ts +2 -0
- package/src/resources/real-time-decisions.ts +24 -0
- package/src/resources/simulations/ach-transfers.ts +2 -1
- package/src/resources/simulations/card-authorizations.ts +2 -1
- package/src/resources/simulations/card-balance-inquiries.ts +2 -1
- package/src/resources/simulations/check-deposits.ts +9 -0
- package/src/resources/simulations/digital-wallet-token-requests.ts +6 -0
- package/src/resources/simulations/entities.ts +1 -1
- package/src/resources/simulations/inbound-wire-transfers.ts +6 -0
- package/src/resources/simulations/physical-cards.ts +4 -1
- package/src/resources/simulations/programs.ts +2 -0
- package/src/resources/swift-transfers.ts +1 -1
- package/src/resources/transactions.ts +13 -4
- package/src/resources/wire-drawdown-requests.ts +13 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -70,6 +70,12 @@ export interface DigitalWalletToken {
|
|
|
70
70
|
*/
|
|
71
71
|
created_at: string;
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* If the Digital Wallet Token was declined during provisioning, details about the
|
|
75
|
+
* decline.
|
|
76
|
+
*/
|
|
77
|
+
decline: DigitalWalletToken.Decline | null;
|
|
78
|
+
|
|
73
79
|
/**
|
|
74
80
|
* The device that was used to create the Digital Wallet Token.
|
|
75
81
|
*/
|
|
@@ -88,8 +94,9 @@ export interface DigitalWalletToken {
|
|
|
88
94
|
* activated via two-factor authentication yet.
|
|
89
95
|
* - `suspended` - The digital wallet token has been temporarily paused.
|
|
90
96
|
* - `deactivated` - The digital wallet token has been permanently canceled.
|
|
97
|
+
* - `declined` - The digital wallet token was declined during provisioning.
|
|
91
98
|
*/
|
|
92
|
-
status: 'active' | 'inactive' | 'suspended' | 'deactivated';
|
|
99
|
+
status: 'active' | 'inactive' | 'suspended' | 'deactivated' | 'declined';
|
|
93
100
|
|
|
94
101
|
/**
|
|
95
102
|
* The digital wallet app being used.
|
|
@@ -124,6 +131,34 @@ export namespace DigitalWalletToken {
|
|
|
124
131
|
name: string | null;
|
|
125
132
|
}
|
|
126
133
|
|
|
134
|
+
/**
|
|
135
|
+
* If the Digital Wallet Token was declined during provisioning, details about the
|
|
136
|
+
* decline.
|
|
137
|
+
*/
|
|
138
|
+
export interface Decline {
|
|
139
|
+
/**
|
|
140
|
+
* The reason the token provisioning was declined.
|
|
141
|
+
*
|
|
142
|
+
* - `card_not_active` - The card is not active.
|
|
143
|
+
* - `no_verification_method` - The card does not have a two-factor authentication
|
|
144
|
+
* method.
|
|
145
|
+
* - `webhook_timed_out` - Your webhook timed out when evaluating the token
|
|
146
|
+
* provisioning attempt.
|
|
147
|
+
* - `webhook_declined` - Your webhook declined the token provisioning attempt.
|
|
148
|
+
* - `incorrect_card_verification_code` - The tokenization attempt failed because
|
|
149
|
+
* the Card Verification Code (CVC) was incorrect.
|
|
150
|
+
* - `declined_by_token_requestor` - The tokenization attempt was declined by the
|
|
151
|
+
* token requestor.
|
|
152
|
+
*/
|
|
153
|
+
reason:
|
|
154
|
+
| 'card_not_active'
|
|
155
|
+
| 'no_verification_method'
|
|
156
|
+
| 'webhook_timed_out'
|
|
157
|
+
| 'webhook_declined'
|
|
158
|
+
| 'incorrect_card_verification_code'
|
|
159
|
+
| 'declined_by_token_requestor';
|
|
160
|
+
}
|
|
161
|
+
|
|
127
162
|
/**
|
|
128
163
|
* The device that was used to create the Digital Wallet Token.
|
|
129
164
|
*/
|
|
@@ -193,8 +228,9 @@ export namespace DigitalWalletToken {
|
|
|
193
228
|
* activated via two-factor authentication yet.
|
|
194
229
|
* - `suspended` - The digital wallet token has been temporarily paused.
|
|
195
230
|
* - `deactivated` - The digital wallet token has been permanently canceled.
|
|
231
|
+
* - `declined` - The digital wallet token was declined during provisioning.
|
|
196
232
|
*/
|
|
197
|
-
status: 'active' | 'inactive' | 'suspended' | 'deactivated';
|
|
233
|
+
status: 'active' | 'inactive' | 'suspended' | 'deactivated' | 'declined';
|
|
198
234
|
|
|
199
235
|
/**
|
|
200
236
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -1147,7 +1147,7 @@ export namespace Entity {
|
|
|
1147
1147
|
* The type of issue. We may add additional possible values for this enum over
|
|
1148
1148
|
* time; your application should be able to handle such additions gracefully.
|
|
1149
1149
|
*
|
|
1150
|
-
* - `entity_tax_identifier` - The entity's tax identifier could not be
|
|
1150
|
+
* - `entity_tax_identifier` - The entity's tax identifier could not be verified.
|
|
1151
1151
|
* Update the tax ID with the
|
|
1152
1152
|
* [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
|
|
1153
1153
|
* - `entity_address` - The entity's address could not be validated. Update the
|
|
@@ -252,6 +252,10 @@ export namespace EventSubscription {
|
|
|
252
252
|
* Enrollment is updated.
|
|
253
253
|
* - `intrafi_exclusion.created` - Occurs whenever an IntraFi Exclusion is created.
|
|
254
254
|
* - `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
|
|
255
|
+
* - `loan_application.created` - Occurs whenever a Loan Application is created.
|
|
256
|
+
* - `loan_application.updated` - Occurs whenever a Loan Application is updated.
|
|
257
|
+
* - `loan_offer.created` - Occurs whenever a Loan Offer is created.
|
|
258
|
+
* - `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
|
|
255
259
|
* - `lockbox.created` - Occurs whenever a Lockbox is created.
|
|
256
260
|
* - `lockbox.updated` - Occurs whenever a Lockbox is updated.
|
|
257
261
|
* - `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
|
|
@@ -384,6 +388,10 @@ export namespace EventSubscription {
|
|
|
384
388
|
| 'intrafi_account_enrollment.updated'
|
|
385
389
|
| 'intrafi_exclusion.created'
|
|
386
390
|
| 'intrafi_exclusion.updated'
|
|
391
|
+
| 'loan_application.created'
|
|
392
|
+
| 'loan_application.updated'
|
|
393
|
+
| 'loan_offer.created'
|
|
394
|
+
| 'loan_offer.updated'
|
|
387
395
|
| 'lockbox.created'
|
|
388
396
|
| 'lockbox.updated'
|
|
389
397
|
| 'oauth_connection.created'
|
|
@@ -572,6 +580,10 @@ export namespace EventSubscriptionCreateParams {
|
|
|
572
580
|
* Enrollment is updated.
|
|
573
581
|
* - `intrafi_exclusion.created` - Occurs whenever an IntraFi Exclusion is created.
|
|
574
582
|
* - `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
|
|
583
|
+
* - `loan_application.created` - Occurs whenever a Loan Application is created.
|
|
584
|
+
* - `loan_application.updated` - Occurs whenever a Loan Application is updated.
|
|
585
|
+
* - `loan_offer.created` - Occurs whenever a Loan Offer is created.
|
|
586
|
+
* - `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
|
|
575
587
|
* - `lockbox.created` - Occurs whenever a Lockbox is created.
|
|
576
588
|
* - `lockbox.updated` - Occurs whenever a Lockbox is updated.
|
|
577
589
|
* - `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
|
|
@@ -704,6 +716,10 @@ export namespace EventSubscriptionCreateParams {
|
|
|
704
716
|
| 'intrafi_account_enrollment.updated'
|
|
705
717
|
| 'intrafi_exclusion.created'
|
|
706
718
|
| 'intrafi_exclusion.updated'
|
|
719
|
+
| 'loan_application.created'
|
|
720
|
+
| 'loan_application.updated'
|
|
721
|
+
| 'loan_offer.created'
|
|
722
|
+
| 'loan_offer.updated'
|
|
707
723
|
| 'lockbox.created'
|
|
708
724
|
| 'lockbox.updated'
|
|
709
725
|
| 'oauth_connection.created'
|
package/src/resources/events.ts
CHANGED
|
@@ -188,6 +188,10 @@ export interface Event {
|
|
|
188
188
|
* Enrollment is updated.
|
|
189
189
|
* - `intrafi_exclusion.created` - Occurs whenever an IntraFi Exclusion is created.
|
|
190
190
|
* - `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
|
|
191
|
+
* - `loan_application.created` - Occurs whenever a Loan Application is created.
|
|
192
|
+
* - `loan_application.updated` - Occurs whenever a Loan Application is updated.
|
|
193
|
+
* - `loan_offer.created` - Occurs whenever a Loan Offer is created.
|
|
194
|
+
* - `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
|
|
191
195
|
* - `lockbox.created` - Occurs whenever a Lockbox is created.
|
|
192
196
|
* - `lockbox.updated` - Occurs whenever a Lockbox is updated.
|
|
193
197
|
* - `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
|
|
@@ -320,6 +324,10 @@ export interface Event {
|
|
|
320
324
|
| 'intrafi_account_enrollment.updated'
|
|
321
325
|
| 'intrafi_exclusion.created'
|
|
322
326
|
| 'intrafi_exclusion.updated'
|
|
327
|
+
| 'loan_application.created'
|
|
328
|
+
| 'loan_application.updated'
|
|
329
|
+
| 'loan_offer.created'
|
|
330
|
+
| 'loan_offer.updated'
|
|
323
331
|
| 'lockbox.created'
|
|
324
332
|
| 'lockbox.updated'
|
|
325
333
|
| 'oauth_connection.created'
|
|
@@ -501,6 +509,10 @@ export interface UnwrapWebhookEvent {
|
|
|
501
509
|
* Enrollment is updated.
|
|
502
510
|
* - `intrafi_exclusion.created` - Occurs whenever an IntraFi Exclusion is created.
|
|
503
511
|
* - `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
|
|
512
|
+
* - `loan_application.created` - Occurs whenever a Loan Application is created.
|
|
513
|
+
* - `loan_application.updated` - Occurs whenever a Loan Application is updated.
|
|
514
|
+
* - `loan_offer.created` - Occurs whenever a Loan Offer is created.
|
|
515
|
+
* - `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
|
|
504
516
|
* - `lockbox.created` - Occurs whenever a Lockbox is created.
|
|
505
517
|
* - `lockbox.updated` - Occurs whenever a Lockbox is updated.
|
|
506
518
|
* - `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
|
|
@@ -633,6 +645,10 @@ export interface UnwrapWebhookEvent {
|
|
|
633
645
|
| 'intrafi_account_enrollment.updated'
|
|
634
646
|
| 'intrafi_exclusion.created'
|
|
635
647
|
| 'intrafi_exclusion.updated'
|
|
648
|
+
| 'loan_application.created'
|
|
649
|
+
| 'loan_application.updated'
|
|
650
|
+
| 'loan_offer.created'
|
|
651
|
+
| 'loan_offer.updated'
|
|
636
652
|
| 'lockbox.created'
|
|
637
653
|
| 'lockbox.updated'
|
|
638
654
|
| 'oauth_connection.created'
|
|
@@ -774,6 +790,10 @@ export namespace EventListParams {
|
|
|
774
790
|
| 'intrafi_account_enrollment.updated'
|
|
775
791
|
| 'intrafi_exclusion.created'
|
|
776
792
|
| 'intrafi_exclusion.updated'
|
|
793
|
+
| 'loan_application.created'
|
|
794
|
+
| 'loan_application.updated'
|
|
795
|
+
| 'loan_offer.created'
|
|
796
|
+
| 'loan_offer.updated'
|
|
777
797
|
| 'lockbox.created'
|
|
778
798
|
| 'lockbox.updated'
|
|
779
799
|
| 'oauth_connection.created'
|
package/src/resources/exports.ts
CHANGED
|
@@ -426,6 +426,16 @@ export namespace Export {
|
|
|
426
426
|
* Filter fees created before this time.
|
|
427
427
|
*/
|
|
428
428
|
before: string | null;
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Filter fees created on or after this time.
|
|
432
|
+
*/
|
|
433
|
+
on_or_after: string | null;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Filter fees created on or before this time.
|
|
437
|
+
*/
|
|
438
|
+
on_or_before: string | null;
|
|
429
439
|
}
|
|
430
440
|
}
|
|
431
441
|
|
|
@@ -581,6 +591,8 @@ export interface ExportCreateParams {
|
|
|
581
591
|
* management dashboard.
|
|
582
592
|
* - `account_verification_letter` - A PDF of an account verification letter.
|
|
583
593
|
* - `funding_instructions` - A PDF of funding instructions.
|
|
594
|
+
* - `fee_csv` - Export a CSV of fees. The time range must not include any fees
|
|
595
|
+
* that are part of an open fee statement.
|
|
584
596
|
* - `voided_check` - A PDF of a voided check.
|
|
585
597
|
* - `daily_account_balance_csv` - Export a CSV of daily account balances with
|
|
586
598
|
* starting and ending balances for a given date range.
|
|
@@ -595,6 +607,7 @@ export interface ExportCreateParams {
|
|
|
595
607
|
| 'vendor_csv'
|
|
596
608
|
| 'account_verification_letter'
|
|
597
609
|
| 'funding_instructions'
|
|
610
|
+
| 'fee_csv'
|
|
598
611
|
| 'voided_check'
|
|
599
612
|
| 'daily_account_balance_csv';
|
|
600
613
|
|
|
@@ -633,6 +646,11 @@ export interface ExportCreateParams {
|
|
|
633
646
|
*/
|
|
634
647
|
entity_csv?: ExportCreateParams.EntityCsv;
|
|
635
648
|
|
|
649
|
+
/**
|
|
650
|
+
* Options for the created export. Required if `category` is equal to `fee_csv`.
|
|
651
|
+
*/
|
|
652
|
+
fee_csv?: ExportCreateParams.FeeCsv;
|
|
653
|
+
|
|
636
654
|
/**
|
|
637
655
|
* Options for the created export. Required if `category` is equal to
|
|
638
656
|
* `funding_instructions`.
|
|
@@ -785,6 +803,52 @@ export namespace ExportCreateParams {
|
|
|
785
803
|
*/
|
|
786
804
|
export interface EntityCsv {}
|
|
787
805
|
|
|
806
|
+
/**
|
|
807
|
+
* Options for the created export. Required if `category` is equal to `fee_csv`.
|
|
808
|
+
*/
|
|
809
|
+
export interface FeeCsv {
|
|
810
|
+
/**
|
|
811
|
+
* Filter results by time range on the `created_at` attribute.
|
|
812
|
+
*/
|
|
813
|
+
created_at?: FeeCsv.CreatedAt;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Filter exported Fees to the specified Program.
|
|
817
|
+
*/
|
|
818
|
+
program_id?: string;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export namespace FeeCsv {
|
|
822
|
+
/**
|
|
823
|
+
* Filter results by time range on the `created_at` attribute.
|
|
824
|
+
*/
|
|
825
|
+
export interface CreatedAt {
|
|
826
|
+
/**
|
|
827
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
828
|
+
* timestamp.
|
|
829
|
+
*/
|
|
830
|
+
after?: string;
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
834
|
+
* timestamp.
|
|
835
|
+
*/
|
|
836
|
+
before?: string;
|
|
837
|
+
|
|
838
|
+
/**
|
|
839
|
+
* Return results on or after this
|
|
840
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
841
|
+
*/
|
|
842
|
+
on_or_after?: string;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* Return results on or before this
|
|
846
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
847
|
+
*/
|
|
848
|
+
on_or_before?: string;
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
788
852
|
/**
|
|
789
853
|
* Options for the created export. Required if `category` is equal to
|
|
790
854
|
* `funding_instructions`.
|
|
@@ -151,6 +151,11 @@ export interface FednowTransfer {
|
|
|
151
151
|
*/
|
|
152
152
|
currency: 'USD';
|
|
153
153
|
|
|
154
|
+
/**
|
|
155
|
+
* The debtor's address.
|
|
156
|
+
*/
|
|
157
|
+
debtor_address: FednowTransfer.DebtorAddress | null;
|
|
158
|
+
|
|
154
159
|
/**
|
|
155
160
|
* The name of the transfer's sender. If not provided, defaults to the name of the
|
|
156
161
|
* account's entity.
|
|
@@ -347,6 +352,31 @@ export namespace FednowTransfer {
|
|
|
347
352
|
state: string | null;
|
|
348
353
|
}
|
|
349
354
|
|
|
355
|
+
/**
|
|
356
|
+
* The debtor's address.
|
|
357
|
+
*/
|
|
358
|
+
export interface DebtorAddress {
|
|
359
|
+
/**
|
|
360
|
+
* The city, district, town, or village of the address.
|
|
361
|
+
*/
|
|
362
|
+
city: string | null;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* The first line of the address.
|
|
366
|
+
*/
|
|
367
|
+
line1: string | null;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* The ZIP code of the address.
|
|
371
|
+
*/
|
|
372
|
+
postal_code: string | null;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* The address state.
|
|
376
|
+
*/
|
|
377
|
+
state: string | null;
|
|
378
|
+
}
|
|
379
|
+
|
|
350
380
|
/**
|
|
351
381
|
* If the transfer is rejected by FedNow or the destination financial institution,
|
|
352
382
|
* this will contain supplemental details.
|
|
@@ -173,6 +173,11 @@ export interface InboundWireTransfer {
|
|
|
173
173
|
*/
|
|
174
174
|
instruction_identification: string | null;
|
|
175
175
|
|
|
176
|
+
/**
|
|
177
|
+
* The reason for the wire transfer, as set by the sender.
|
|
178
|
+
*/
|
|
179
|
+
purpose: string | null;
|
|
180
|
+
|
|
176
181
|
/**
|
|
177
182
|
* If the transfer is reversed, this will contain details of the reversal.
|
|
178
183
|
*/
|
|
@@ -60,8 +60,6 @@ export interface IntrafiBalance {
|
|
|
60
60
|
* `intrafi_balance`.
|
|
61
61
|
*/
|
|
62
62
|
type: 'intrafi_balance';
|
|
63
|
-
|
|
64
|
-
[k: string]: unknown;
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
export namespace IntrafiBalance {
|
|
@@ -87,8 +85,6 @@ export namespace IntrafiBalance {
|
|
|
87
85
|
* identify the institution.
|
|
88
86
|
*/
|
|
89
87
|
fdic_certificate_number: string;
|
|
90
|
-
|
|
91
|
-
[k: string]: unknown;
|
|
92
88
|
}
|
|
93
89
|
|
|
94
90
|
export namespace Balance {
|
|
@@ -561,6 +561,12 @@ export namespace PendingTransaction {
|
|
|
561
561
|
*/
|
|
562
562
|
expires_at: string;
|
|
563
563
|
|
|
564
|
+
/**
|
|
565
|
+
* The healthcare-related fields for this authorization. Only present for specific
|
|
566
|
+
* programs.
|
|
567
|
+
*/
|
|
568
|
+
healthcare: CardAuthorization.Healthcare | null;
|
|
569
|
+
|
|
564
570
|
/**
|
|
565
571
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
566
572
|
* is transacting with.
|
|
@@ -945,6 +951,24 @@ export namespace PendingTransaction {
|
|
|
945
951
|
}
|
|
946
952
|
}
|
|
947
953
|
|
|
954
|
+
/**
|
|
955
|
+
* The healthcare-related fields for this authorization. Only present for specific
|
|
956
|
+
* programs.
|
|
957
|
+
*/
|
|
958
|
+
export interface Healthcare {
|
|
959
|
+
/**
|
|
960
|
+
* The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
961
|
+
* Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
962
|
+
* products. The eligibility is determined based on the list of merchants
|
|
963
|
+
* maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
964
|
+
*
|
|
965
|
+
* - `eligible` - The merchant is eligible for treatment under the 90% rule.
|
|
966
|
+
* - `not_eligible` - The merchant is not eligible for treatment under the 90%
|
|
967
|
+
* rule.
|
|
968
|
+
*/
|
|
969
|
+
merchant_ninety_percent_eligibility: 'eligible' | 'not_eligible';
|
|
970
|
+
}
|
|
971
|
+
|
|
948
972
|
/**
|
|
949
973
|
* Fields specific to the `network`.
|
|
950
974
|
*/
|
|
@@ -155,6 +155,12 @@ export interface PhysicalCardProfile {
|
|
|
155
155
|
*/
|
|
156
156
|
front_image_file_id: string | null;
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* Text printed on the front of the card. Reach out to
|
|
160
|
+
* [support@increase.com](mailto:support@increase.com) for more information.
|
|
161
|
+
*/
|
|
162
|
+
front_text: PhysicalCardProfile.FrontText | null;
|
|
163
|
+
|
|
158
164
|
/**
|
|
159
165
|
* The idempotency key you chose for this object. This value is unique across
|
|
160
166
|
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
@@ -199,8 +205,26 @@ export interface PhysicalCardProfile {
|
|
|
199
205
|
* `physical_card_profile`.
|
|
200
206
|
*/
|
|
201
207
|
type: 'physical_card_profile';
|
|
208
|
+
}
|
|
202
209
|
|
|
203
|
-
|
|
210
|
+
export namespace PhysicalCardProfile {
|
|
211
|
+
/**
|
|
212
|
+
* Text printed on the front of the card. Reach out to
|
|
213
|
+
* [support@increase.com](mailto:support@increase.com) for more information.
|
|
214
|
+
*/
|
|
215
|
+
export interface FrontText {
|
|
216
|
+
/**
|
|
217
|
+
* The first line of text on the front of the card.
|
|
218
|
+
*/
|
|
219
|
+
line1: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The second line of text on the front of the card. Providing a second line moves
|
|
223
|
+
* the first line slightly higher and prints the second line in the spot where the
|
|
224
|
+
* first line would have otherwise been printed.
|
|
225
|
+
*/
|
|
226
|
+
line2: string | null;
|
|
227
|
+
}
|
|
204
228
|
}
|
|
205
229
|
|
|
206
230
|
export interface PhysicalCardProfileCreateParams {
|
|
@@ -323,7 +323,10 @@ export namespace PhysicalCard {
|
|
|
323
323
|
*
|
|
324
324
|
* - `in_transit` - The physical card is in transit.
|
|
325
325
|
* - `processed_for_delivery` - The physical card has been processed for delivery.
|
|
326
|
-
* - `delivered` - The physical card has been delivered.
|
|
326
|
+
* - `delivered` - The physical card has been delivered. Note that some couriers
|
|
327
|
+
* track delivery status based on driver location data rather than an explicit
|
|
328
|
+
* scan. While uncommon, a single physical card may have more than one delivered
|
|
329
|
+
* event.
|
|
327
330
|
* - `delivery_issue` - There is an issue preventing delivery. The delivery will be
|
|
328
331
|
* attempted again if possible. If the issue cannot be resolved, the physical
|
|
329
332
|
* card will be returned to sender.
|
|
@@ -647,6 +647,12 @@ export namespace RealTimeDecision {
|
|
|
647
647
|
*/
|
|
648
648
|
direction: 'settlement' | 'refund';
|
|
649
649
|
|
|
650
|
+
/**
|
|
651
|
+
* The healthcare-related fields for this authorization. Only present for specific
|
|
652
|
+
* programs.
|
|
653
|
+
*/
|
|
654
|
+
healthcare: CardAuthorization.Healthcare | null;
|
|
655
|
+
|
|
650
656
|
/**
|
|
651
657
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
652
658
|
* is transacting with.
|
|
@@ -1084,6 +1090,24 @@ export namespace RealTimeDecision {
|
|
|
1084
1090
|
| 'other';
|
|
1085
1091
|
}
|
|
1086
1092
|
|
|
1093
|
+
/**
|
|
1094
|
+
* The healthcare-related fields for this authorization. Only present for specific
|
|
1095
|
+
* programs.
|
|
1096
|
+
*/
|
|
1097
|
+
export interface Healthcare {
|
|
1098
|
+
/**
|
|
1099
|
+
* The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
1100
|
+
* Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
1101
|
+
* products. The eligibility is determined based on the list of merchants
|
|
1102
|
+
* maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
1103
|
+
*
|
|
1104
|
+
* - `eligible` - The merchant is eligible for treatment under the 90% rule.
|
|
1105
|
+
* - `not_eligible` - The merchant is not eligible for treatment under the 90%
|
|
1106
|
+
* rule.
|
|
1107
|
+
*/
|
|
1108
|
+
merchant_ninety_percent_eligibility: 'eligible' | 'not_eligible';
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1087
1111
|
/**
|
|
1088
1112
|
* Fields specific to the `network`.
|
|
1089
1113
|
*/
|
|
@@ -125,9 +125,10 @@ export interface ACHTransferCreateNotificationOfChangeParams {
|
|
|
125
125
|
*
|
|
126
126
|
* - `checking` - A checking account.
|
|
127
127
|
* - `savings` - A savings account.
|
|
128
|
+
* - `loan` - A loan account used in a lender-borrower relationship. Uncommon.
|
|
128
129
|
* - `general_ledger` - A bank's general ledger. Uncommon.
|
|
129
130
|
*/
|
|
130
|
-
corrected_account_funding?: 'checking' | 'savings' | 'general_ledger';
|
|
131
|
+
corrected_account_funding?: 'checking' | 'savings' | 'loan' | 'general_ledger';
|
|
131
132
|
|
|
132
133
|
/**
|
|
133
134
|
* The corrected account number.
|
|
@@ -92,7 +92,8 @@ export interface CardAuthorizationCreateParams {
|
|
|
92
92
|
* card's value. Only applies when a CVV2 is present.
|
|
93
93
|
* - `transaction_not_allowed` - The attempted card transaction is not allowed per
|
|
94
94
|
* Increase's terms.
|
|
95
|
-
* - `breaches_limit` - The transaction was blocked by a
|
|
95
|
+
* - `breaches_limit` - The transaction was blocked by a limit or an authorization
|
|
96
|
+
* control.
|
|
96
97
|
* - `webhook_declined` - Your application declined the transaction via webhook.
|
|
97
98
|
* - `webhook_timed_out` - Your application webhook did not respond without the
|
|
98
99
|
* required timeout.
|
|
@@ -52,7 +52,8 @@ export interface CardBalanceInquiryCreateParams {
|
|
|
52
52
|
* card's value. Only applies when a CVV2 is present.
|
|
53
53
|
* - `transaction_not_allowed` - The attempted card transaction is not allowed per
|
|
54
54
|
* Increase's terms.
|
|
55
|
-
* - `breaches_limit` - The transaction was blocked by a
|
|
55
|
+
* - `breaches_limit` - The transaction was blocked by a limit or an authorization
|
|
56
|
+
* control.
|
|
56
57
|
* - `webhook_declined` - Your application declined the transaction via webhook.
|
|
57
58
|
* - `webhook_timed_out` - Your application webhook did not respond without the
|
|
58
59
|
* required timeout.
|
|
@@ -119,6 +119,7 @@ export interface CheckDepositAdjustmentParams {
|
|
|
119
119
|
export interface CheckDepositSubmitParams {
|
|
120
120
|
/**
|
|
121
121
|
* If set, the simulation will use these values for the check's scanned MICR data.
|
|
122
|
+
* If not set, the simulation will use random values.
|
|
122
123
|
*/
|
|
123
124
|
scan?: CheckDepositSubmitParams.Scan;
|
|
124
125
|
}
|
|
@@ -126,6 +127,7 @@ export interface CheckDepositSubmitParams {
|
|
|
126
127
|
export namespace CheckDepositSubmitParams {
|
|
127
128
|
/**
|
|
128
129
|
* If set, the simulation will use these values for the check's scanned MICR data.
|
|
130
|
+
* If not set, the simulation will use random values.
|
|
129
131
|
*/
|
|
130
132
|
export interface Scan {
|
|
131
133
|
/**
|
|
@@ -140,8 +142,15 @@ export namespace CheckDepositSubmitParams {
|
|
|
140
142
|
|
|
141
143
|
/**
|
|
142
144
|
* The auxiliary on-us data to be returned in the check deposit's scan data.
|
|
145
|
+
* Auxiliary on-us is typically the check number for business checks.
|
|
143
146
|
*/
|
|
144
147
|
auxiliary_on_us?: string;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The serial number to be returned in the check deposit's scan data. Serial number
|
|
151
|
+
* is typically the check number for consumer checks.
|
|
152
|
+
*/
|
|
153
|
+
serial_number?: string;
|
|
145
154
|
}
|
|
146
155
|
}
|
|
147
156
|
|
|
@@ -39,12 +39,18 @@ export interface DigitalWalletTokenRequestCreateResponse {
|
|
|
39
39
|
* - `webhook_timed_out` - Your webhook timed out when evaluating the token
|
|
40
40
|
* provisioning attempt.
|
|
41
41
|
* - `webhook_declined` - Your webhook declined the token provisioning attempt.
|
|
42
|
+
* - `incorrect_card_verification_code` - The tokenization attempt failed because
|
|
43
|
+
* the Card Verification Code (CVC) was incorrect.
|
|
44
|
+
* - `declined_by_token_requestor` - The tokenization attempt was declined by the
|
|
45
|
+
* token requestor.
|
|
42
46
|
*/
|
|
43
47
|
decline_reason:
|
|
44
48
|
| 'card_not_active'
|
|
45
49
|
| 'no_verification_method'
|
|
46
50
|
| 'webhook_timed_out'
|
|
47
51
|
| 'webhook_declined'
|
|
52
|
+
| 'incorrect_card_verification_code'
|
|
53
|
+
| 'declined_by_token_requestor'
|
|
48
54
|
| null;
|
|
49
55
|
|
|
50
56
|
/**
|
|
@@ -46,7 +46,7 @@ export namespace EntityUpdateValidationParams {
|
|
|
46
46
|
/**
|
|
47
47
|
* The type of issue.
|
|
48
48
|
*
|
|
49
|
-
* - `entity_tax_identifier` - The entity's tax identifier could not be
|
|
49
|
+
* - `entity_tax_identifier` - The entity's tax identifier could not be verified.
|
|
50
50
|
* Update the tax ID with the
|
|
51
51
|
* [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
|
|
52
52
|
* - `entity_address` - The entity's address could not be validated. Update the
|
|
@@ -104,6 +104,12 @@ export interface InboundWireTransferCreateParams {
|
|
|
104
104
|
*/
|
|
105
105
|
instruction_identification?: string;
|
|
106
106
|
|
|
107
|
+
/**
|
|
108
|
+
* The sending bank will set purpose in production. You can simulate any value
|
|
109
|
+
* here.
|
|
110
|
+
*/
|
|
111
|
+
purpose?: string;
|
|
112
|
+
|
|
107
113
|
/**
|
|
108
114
|
* The sending bank will set unique_end_to_end_transaction_reference in production.
|
|
109
115
|
* You can simulate any value here.
|
|
@@ -63,7 +63,10 @@ export interface PhysicalCardCreateParams {
|
|
|
63
63
|
*
|
|
64
64
|
* - `in_transit` - The physical card is in transit.
|
|
65
65
|
* - `processed_for_delivery` - The physical card has been processed for delivery.
|
|
66
|
-
* - `delivered` - The physical card has been delivered.
|
|
66
|
+
* - `delivered` - The physical card has been delivered. Note that some couriers
|
|
67
|
+
* track delivery status based on driver location data rather than an explicit
|
|
68
|
+
* scan. While uncommon, a single physical card may have more than one delivered
|
|
69
|
+
* event.
|
|
67
70
|
* - `delivery_issue` - There is an issue preventing delivery. The delivery will be
|
|
68
71
|
* attempted again if possible. If the issue cannot be resolved, the physical
|
|
69
72
|
* card will be returned to sender.
|
|
@@ -15,7 +15,7 @@ export class SwiftTransfers extends APIResource {
|
|
|
15
15
|
* const swiftTransfer = await client.swiftTransfers.create({
|
|
16
16
|
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
17
17
|
* account_number: '987654321',
|
|
18
|
-
* bank_identification_code: '
|
|
18
|
+
* bank_identification_code: 'FRNYUS33XXX',
|
|
19
19
|
* creditor_address: {
|
|
20
20
|
* city: 'Frankfurt',
|
|
21
21
|
* country: 'DE',
|