increase 0.3.0 → 0.4.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/.release-please-manifest.json +1 -1
- package/.stats.yml +1 -1
- package/CHANGELOG.md +46 -0
- package/README.md +3 -4
- package/api.md +11 -0
- package/core.ts +4 -140
- package/dist/cjs/core.d.ts +3 -53
- package/dist/cjs/core.d.ts.map +1 -1
- package/dist/cjs/core.js +12 -179
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/error.d.ts +72 -27
- package/dist/cjs/error.d.ts.map +1 -1
- package/dist/cjs/error.js +176 -54
- package/dist/cjs/error.js.map +1 -1
- package/dist/cjs/index.d.ts +25 -28
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +30 -77
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/resources/account-numbers.d.ts +1 -20
- package/dist/cjs/resources/account-numbers.d.ts.map +1 -1
- package/dist/cjs/resources/account-statements.d.ts +1 -20
- package/dist/cjs/resources/account-statements.d.ts.map +1 -1
- package/dist/cjs/resources/account-transfers.d.ts +1 -20
- package/dist/cjs/resources/account-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/accounts.d.ts +17 -25
- package/dist/cjs/resources/accounts.d.ts.map +1 -1
- package/dist/cjs/resources/ach-prenotifications.d.ts +6 -25
- package/dist/cjs/resources/ach-prenotifications.d.ts.map +1 -1
- package/dist/cjs/resources/ach-transfers.d.ts +70 -37
- package/dist/cjs/resources/ach-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-accounts.d.ts +4 -4
- package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +4 -16
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/dist/cjs/resources/card-disputes.d.ts +2 -26
- package/dist/cjs/resources/card-disputes.d.ts.map +1 -1
- package/dist/cjs/resources/card-profiles.d.ts +1 -63
- package/dist/cjs/resources/card-profiles.d.ts.map +1 -1
- package/dist/cjs/resources/cards.d.ts +1 -116
- package/dist/cjs/resources/cards.d.ts.map +1 -1
- package/dist/cjs/resources/check-deposits.d.ts +3 -21
- package/dist/cjs/resources/check-deposits.d.ts.map +1 -1
- package/dist/cjs/resources/check-transfers.d.ts +10 -58
- package/dist/cjs/resources/check-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/declined-transactions.d.ts +2 -48
- package/dist/cjs/resources/declined-transactions.d.ts.map +1 -1
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +1 -20
- package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/dist/cjs/resources/documents.d.ts +2 -76
- package/dist/cjs/resources/documents.d.ts.map +1 -1
- package/dist/cjs/resources/entities/entities.d.ts +81 -1021
- package/dist/cjs/resources/entities/entities.d.ts.map +1 -1
- package/dist/cjs/resources/entities/index.d.ts +6 -1
- package/dist/cjs/resources/entities/index.d.ts.map +1 -1
- package/dist/cjs/resources/entities/index.js +8 -1
- package/dist/cjs/resources/entities/index.js.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +35 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.js +14 -1
- package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -1
- package/dist/cjs/resources/event-subscriptions.d.ts +4 -4
- package/dist/cjs/resources/event-subscriptions.d.ts.map +1 -1
- package/dist/cjs/resources/events.d.ts +24 -99
- package/dist/cjs/resources/events.d.ts.map +1 -1
- package/dist/cjs/resources/exports.d.ts +4 -86
- package/dist/cjs/resources/exports.d.ts.map +1 -1
- package/dist/cjs/resources/external-accounts.d.ts +5 -10
- package/dist/cjs/resources/external-accounts.d.ts.map +1 -1
- package/dist/cjs/resources/files.d.ts +6 -43
- package/dist/cjs/resources/files.d.ts.map +1 -1
- package/dist/cjs/resources/limits.d.ts +4 -4
- package/dist/cjs/resources/limits.d.ts.map +1 -1
- package/dist/cjs/resources/pending-transactions.d.ts +11 -86
- package/dist/cjs/resources/pending-transactions.d.ts.map +1 -1
- package/dist/cjs/resources/real-time-decisions.d.ts +0 -69
- package/dist/cjs/resources/real-time-decisions.d.ts.map +1 -1
- package/dist/cjs/resources/real-time-payments-transfers.d.ts +9 -28
- package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +108 -214
- package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/card-disputes.d.ts +4 -4
- package/dist/cjs/resources/simulations/card-disputes.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/cards.d.ts +6 -83
- package/dist/cjs/resources/simulations/cards.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +25 -25
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/index.d.ts +1 -0
- package/dist/cjs/resources/simulations/index.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/interest-payments.d.ts +57 -184
- package/dist/cjs/resources/simulations/interest-payments.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/programs.d.ts +21 -0
- package/dist/cjs/resources/simulations/programs.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/programs.js +17 -0
- package/dist/cjs/resources/simulations/programs.js.map +1 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +58 -242
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/simulations.d.ts +2 -0
- package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/simulations.js +2 -0
- package/dist/cjs/resources/simulations/simulations.js.map +1 -1
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +57 -184
- package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/transactions.d.ts +81 -281
- package/dist/cjs/resources/transactions.d.ts.map +1 -1
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +8 -8
- package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/wire-transfers.d.ts +13 -32
- package/dist/cjs/resources/wire-transfers.d.ts.map +1 -1
- package/dist/cjs/streaming.d.ts +13 -0
- package/dist/cjs/streaming.d.ts.map +1 -0
- package/dist/cjs/streaming.js +282 -0
- package/dist/cjs/streaming.js.map +1 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.js +7 -8
- package/dist/cjs/tests/api-resources/account-numbers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/account-statements.test.js +6 -4
- package/dist/cjs/tests/api-resources/account-statements.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/account-transfers.test.js +6 -5
- package/dist/cjs/tests/api-resources/account-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/accounts.test.js +10 -12
- package/dist/cjs/tests/api-resources/accounts.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +7 -15
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/ach-transfers.test.js +8 -20
- package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/balance-lookups.test.js +1 -4
- package/dist/cjs/tests/api-resources/balance-lookups.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js +2 -7
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js +1 -3
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/card-disputes.test.js +7 -5
- package/dist/cjs/tests/api-resources/card-disputes.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/card-profiles.test.js +1 -1
- package/dist/cjs/tests/api-resources/card-profiles.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/cards.test.js +8 -16
- package/dist/cjs/tests/api-resources/cards.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/check-deposits.test.js +6 -4
- package/dist/cjs/tests/api-resources/check-deposits.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/check-transfers.test.js +8 -10
- package/dist/cjs/tests/api-resources/check-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/declined-transactions.test.js +6 -4
- package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +6 -4
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/documents.test.js +13 -9
- package/dist/cjs/tests/api-resources/documents.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/entities/entities.test.js +8 -76
- package/dist/cjs/tests/api-resources/entities/entities.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +12 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js +3 -7
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/events.test.js +7 -5
- package/dist/cjs/tests/api-resources/events.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/exports.test.js +2 -6
- package/dist/cjs/tests/api-resources/exports.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/external-accounts.test.js +3 -7
- package/dist/cjs/tests/api-resources/external-accounts.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/files.test.js +8 -7
- package/dist/cjs/tests/api-resources/files.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/limits.test.js +2 -7
- package/dist/cjs/tests/api-resources/limits.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/pending-transactions.test.js +7 -5
- package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js +1 -5
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js +8 -10
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/routing-numbers.test.js +2 -6
- package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +4 -8
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +1 -2
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/cards.test.js +2 -8
- package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +6 -18
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/programs.test.js +52 -0
- package/dist/cjs/tests/api-resources/simulations/programs.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +1 -6
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +0 -13
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/transactions.test.js +9 -9
- package/dist/cjs/tests/api-resources/transactions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +2 -5
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/wire-transfers.test.js +9 -14
- package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +1 -1
- package/dist/cjs/tests/index.test.js +9 -4
- package/dist/cjs/tests/index.test.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/error.ts +195 -27
- package/index.ts +26 -94
- package/package.json +1 -1
- package/release-please-config.json +5 -8
- package/resources/account-numbers.ts +1 -23
- package/resources/account-statements.ts +1 -23
- package/resources/account-transfers.ts +1 -23
- package/resources/accounts.ts +19 -28
- package/resources/ach-prenotifications.ts +7 -29
- package/resources/ach-transfers.ts +73 -42
- package/resources/bookkeeping-accounts.ts +5 -5
- package/resources/bookkeeping-entry-sets.ts +5 -19
- package/resources/card-disputes.ts +2 -29
- package/resources/card-profiles.ts +1 -74
- package/resources/cards.ts +1 -135
- package/resources/check-deposits.ts +3 -24
- package/resources/check-transfers.ts +11 -68
- package/resources/declined-transactions.ts +2 -60
- package/resources/digital-wallet-tokens.ts +1 -23
- package/resources/documents.ts +2 -79
- package/resources/entities/entities.ts +112 -1210
- package/resources/entities/index.ts +6 -1
- package/resources/entities/supplemental-documents.ts +46 -0
- package/resources/event-subscriptions.ts +5 -5
- package/resources/events.ts +28 -106
- package/resources/exports.ts +5 -99
- package/resources/external-accounts.ts +6 -11
- package/resources/files.ts +6 -46
- package/resources/limits.ts +5 -5
- package/resources/pending-transactions.ts +12 -104
- package/resources/real-time-decisions.ts +0 -77
- package/resources/real-time-payments-transfers.ts +11 -33
- package/resources/simulations/ach-transfers.ts +109 -263
- package/resources/simulations/card-disputes.ts +4 -4
- package/resources/simulations/cards.ts +7 -107
- package/resources/simulations/inbound-wire-drawdown-requests.ts +28 -28
- package/resources/simulations/index.ts +1 -0
- package/resources/simulations/interest-payments.ts +58 -224
- package/resources/simulations/programs.ts +26 -0
- package/resources/simulations/real-time-payments-transfers.ts +59 -292
- package/resources/simulations/simulations.ts +2 -0
- package/resources/simulations/wire-transfers.ts +58 -224
- package/resources/transactions.ts +86 -328
- package/resources/wire-drawdown-requests.ts +10 -10
- package/resources/wire-transfers.ts +15 -37
- package/streaming.ts +199 -0
- package/tests/api-resources/account-numbers.test.ts +7 -8
- package/tests/api-resources/account-statements.test.ts +6 -4
- package/tests/api-resources/account-transfers.test.ts +6 -5
- package/tests/api-resources/accounts.test.ts +10 -12
- package/tests/api-resources/ach-prenotifications.test.ts +7 -15
- package/tests/api-resources/ach-transfers.test.ts +8 -20
- package/tests/api-resources/balance-lookups.test.ts +1 -4
- package/tests/api-resources/bookkeeping-accounts.test.ts +2 -7
- package/tests/api-resources/bookkeeping-entry-sets.test.ts +1 -3
- package/tests/api-resources/card-disputes.test.ts +7 -5
- package/tests/api-resources/card-profiles.test.ts +1 -1
- package/tests/api-resources/cards.test.ts +8 -16
- package/tests/api-resources/check-deposits.test.ts +6 -4
- package/tests/api-resources/check-transfers.test.ts +8 -10
- package/tests/api-resources/declined-transactions.test.ts +6 -4
- package/tests/api-resources/digital-wallet-tokens.test.ts +6 -4
- package/tests/api-resources/documents.test.ts +9 -9
- package/tests/api-resources/entities/entities.test.ts +9 -80
- package/tests/api-resources/entities/supplemental-documents.test.ts +12 -0
- package/tests/api-resources/event-subscriptions.test.ts +3 -7
- package/tests/api-resources/events.test.ts +7 -5
- package/tests/api-resources/exports.test.ts +2 -6
- package/tests/api-resources/external-accounts.test.ts +3 -7
- package/tests/api-resources/files.test.ts +8 -7
- package/tests/api-resources/limits.test.ts +2 -7
- package/tests/api-resources/pending-transactions.test.ts +7 -5
- package/tests/api-resources/real-time-decisions.test.ts +1 -5
- package/tests/api-resources/real-time-payments-transfers.test.ts +8 -10
- package/tests/api-resources/routing-numbers.test.ts +2 -6
- package/tests/api-resources/simulations/ach-transfers.test.ts +1 -8
- package/tests/api-resources/simulations/card-disputes.test.ts +1 -2
- package/tests/api-resources/simulations/cards.test.ts +2 -8
- package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +6 -18
- package/tests/api-resources/simulations/programs.test.ts +15 -0
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +1 -6
- package/tests/api-resources/simulations/wire-transfers.test.ts +0 -13
- package/tests/api-resources/transactions.test.ts +9 -9
- package/tests/api-resources/wire-drawdown-requests.test.ts +2 -5
- package/tests/api-resources/wire-transfers.test.ts +9 -14
- package/tests/index.test.ts +9 -4
- package/version.ts +1 -1
- package/.github/workflows/publish-npm.yml +0 -28
- package/.github/workflows/release-doctor.yml +0 -20
- package/.github/workflows/release.yml +0 -38
|
@@ -167,12 +167,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
167
167
|
*/
|
|
168
168
|
card_authorization: Source.CardAuthorization | null;
|
|
169
169
|
|
|
170
|
-
/**
|
|
171
|
-
* A Deprecated Card Authorization object. This field will be present in the JSON
|
|
172
|
-
* response if and only if `category` is equal to `card_route_authorization`.
|
|
173
|
-
*/
|
|
174
|
-
card_route_authorization: Source.CardRouteAuthorization | null;
|
|
175
|
-
|
|
176
170
|
/**
|
|
177
171
|
* The type of transaction that took place. We may add additional possible values
|
|
178
172
|
* for this enum over time; your application should be able to handle such
|
|
@@ -185,9 +179,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
185
179
|
| 'check_deposit_instruction'
|
|
186
180
|
| 'check_transfer_instruction'
|
|
187
181
|
| 'inbound_funds_hold'
|
|
188
|
-
| 'card_route_authorization'
|
|
189
182
|
| 'real_time_payments_transfer_instruction'
|
|
190
|
-
| 'wire_drawdown_payment_instruction'
|
|
191
183
|
| 'wire_transfer_instruction'
|
|
192
184
|
| 'other';
|
|
193
185
|
|
|
@@ -216,13 +208,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
216
208
|
*/
|
|
217
209
|
real_time_payments_transfer_instruction: Source.RealTimePaymentsTransferInstruction | null;
|
|
218
210
|
|
|
219
|
-
/**
|
|
220
|
-
* A Wire Drawdown Payment Instruction object. This field will be present in the
|
|
221
|
-
* JSON response if and only if `category` is equal to
|
|
222
|
-
* `wire_drawdown_payment_instruction`.
|
|
223
|
-
*/
|
|
224
|
-
wire_drawdown_payment_instruction: Source.WireDrawdownPaymentInstruction | null;
|
|
225
|
-
|
|
226
211
|
/**
|
|
227
212
|
* A Wire Transfer Instruction object. This field will be present in the JSON
|
|
228
213
|
* response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
@@ -509,36 +494,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
509
494
|
status: 'held' | 'complete';
|
|
510
495
|
}
|
|
511
496
|
|
|
512
|
-
/**
|
|
513
|
-
* A Deprecated Card Authorization object. This field will be present in the JSON
|
|
514
|
-
* response if and only if `category` is equal to `card_route_authorization`.
|
|
515
|
-
*/
|
|
516
|
-
export interface CardRouteAuthorization {
|
|
517
|
-
/**
|
|
518
|
-
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
519
|
-
* for example, this is cents.
|
|
520
|
-
*/
|
|
521
|
-
amount: number;
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
525
|
-
* transaction's currency.
|
|
526
|
-
*/
|
|
527
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
528
|
-
|
|
529
|
-
merchant_acceptor_id: string;
|
|
530
|
-
|
|
531
|
-
merchant_category_code: string;
|
|
532
|
-
|
|
533
|
-
merchant_city: string | null;
|
|
534
|
-
|
|
535
|
-
merchant_country: string;
|
|
536
|
-
|
|
537
|
-
merchant_descriptor: string;
|
|
538
|
-
|
|
539
|
-
merchant_state: string | null;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
497
|
/**
|
|
543
498
|
* A Real Time Payments Transfer Instruction object. This field will be present in
|
|
544
499
|
* the JSON response if and only if `category` is equal to
|
|
@@ -558,25 +513,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
558
513
|
transfer_id: string;
|
|
559
514
|
}
|
|
560
515
|
|
|
561
|
-
/**
|
|
562
|
-
* A Wire Drawdown Payment Instruction object. This field will be present in the
|
|
563
|
-
* JSON response if and only if `category` is equal to
|
|
564
|
-
* `wire_drawdown_payment_instruction`.
|
|
565
|
-
*/
|
|
566
|
-
export interface WireDrawdownPaymentInstruction {
|
|
567
|
-
account_number: string;
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
571
|
-
* for example, this is cents.
|
|
572
|
-
*/
|
|
573
|
-
amount: number;
|
|
574
|
-
|
|
575
|
-
message_to_recipient: string;
|
|
576
|
-
|
|
577
|
-
routing_number: string;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
516
|
/**
|
|
581
517
|
* A Wire Transfer Instruction object. This field will be present in the JSON
|
|
582
518
|
* response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
@@ -687,12 +623,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
687
623
|
*/
|
|
688
624
|
card_decline: Source.CardDecline | null;
|
|
689
625
|
|
|
690
|
-
/**
|
|
691
|
-
* A Deprecated Card Decline object. This field will be present in the JSON
|
|
692
|
-
* response if and only if `category` is equal to `card_route_decline`.
|
|
693
|
-
*/
|
|
694
|
-
card_route_decline: Source.CardRouteDecline | null;
|
|
695
|
-
|
|
696
626
|
/**
|
|
697
627
|
* The type of decline that took place. We may add additional possible values for
|
|
698
628
|
* this enum over time; your application should be able to handle such additions
|
|
@@ -704,7 +634,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
704
634
|
| 'check_decline'
|
|
705
635
|
| 'inbound_real_time_payments_transfer_decline'
|
|
706
636
|
| 'international_ach_decline'
|
|
707
|
-
| 'card_route_decline'
|
|
708
637
|
| 'wire_decline'
|
|
709
638
|
| 'other';
|
|
710
639
|
|
|
@@ -933,6 +862,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
933
862
|
| 'group_locked'
|
|
934
863
|
| 'insufficient_funds'
|
|
935
864
|
| 'unable_to_locate_account'
|
|
865
|
+
| 'not_our_item'
|
|
936
866
|
| 'unable_to_process'
|
|
937
867
|
| 'refer_to_image'
|
|
938
868
|
| 'stop_payment_requested'
|
|
@@ -1085,36 +1015,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
1085
1015
|
trace_number: string;
|
|
1086
1016
|
}
|
|
1087
1017
|
|
|
1088
|
-
/**
|
|
1089
|
-
* A Deprecated Card Decline object. This field will be present in the JSON
|
|
1090
|
-
* response if and only if `category` is equal to `card_route_decline`.
|
|
1091
|
-
*/
|
|
1092
|
-
export interface CardRouteDecline {
|
|
1093
|
-
/**
|
|
1094
|
-
* The declined amount in the minor unit of the destination account currency. For
|
|
1095
|
-
* dollars, for example, this is cents.
|
|
1096
|
-
*/
|
|
1097
|
-
amount: number;
|
|
1098
|
-
|
|
1099
|
-
/**
|
|
1100
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
1101
|
-
* account currency.
|
|
1102
|
-
*/
|
|
1103
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1104
|
-
|
|
1105
|
-
merchant_acceptor_id: string;
|
|
1106
|
-
|
|
1107
|
-
merchant_category_code: string | null;
|
|
1108
|
-
|
|
1109
|
-
merchant_city: string | null;
|
|
1110
|
-
|
|
1111
|
-
merchant_country: string;
|
|
1112
|
-
|
|
1113
|
-
merchant_descriptor: string;
|
|
1114
|
-
|
|
1115
|
-
merchant_state: string | null;
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
1018
|
/**
|
|
1119
1019
|
* A Wire Decline object. This field will be present in the JSON response if and
|
|
1120
1020
|
* only if `category` is equal to `wire_decline`.
|
|
@@ -1197,12 +1097,6 @@ export interface CardAuthorizeParams {
|
|
|
1197
1097
|
}
|
|
1198
1098
|
|
|
1199
1099
|
export interface CardSettlementParams {
|
|
1200
|
-
/**
|
|
1201
|
-
* The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
1202
|
-
* being settled.
|
|
1203
|
-
*/
|
|
1204
|
-
amount?: number;
|
|
1205
|
-
|
|
1206
1100
|
/**
|
|
1207
1101
|
* The identifier of the Card to create a settlement on.
|
|
1208
1102
|
*/
|
|
@@ -1213,4 +1107,10 @@ export interface CardSettlementParams {
|
|
|
1213
1107
|
* settle.
|
|
1214
1108
|
*/
|
|
1215
1109
|
pending_transaction_id: string;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
1113
|
+
* being settled.
|
|
1114
|
+
*/
|
|
1115
|
+
amount?: number;
|
|
1216
1116
|
}
|
|
@@ -29,45 +29,56 @@ export interface InboundWireDrawdownRequestCreateParams {
|
|
|
29
29
|
beneficiary_account_number: string;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The drawdown request's beneficiary's routing number.
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
beneficiary_routing_number: string;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
|
|
38
|
+
* requested. Will always be "USD".
|
|
38
39
|
*/
|
|
39
|
-
|
|
40
|
+
currency: string;
|
|
40
41
|
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* A message from the drawdown request's originator.
|
|
43
44
|
*/
|
|
44
|
-
|
|
45
|
+
message_to_recipient: string;
|
|
45
46
|
|
|
46
47
|
/**
|
|
47
|
-
* The drawdown request's
|
|
48
|
+
* The drawdown request's originator's account number.
|
|
48
49
|
*/
|
|
49
|
-
|
|
50
|
+
originator_account_number: string;
|
|
50
51
|
|
|
51
52
|
/**
|
|
52
|
-
* The drawdown request's
|
|
53
|
+
* The drawdown request's originator's routing number.
|
|
53
54
|
*/
|
|
54
|
-
|
|
55
|
+
originator_routing_number: string;
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
|
-
* The
|
|
58
|
-
*
|
|
58
|
+
* The Account Number to which the recipient of this request is being requested to
|
|
59
|
+
* send funds from.
|
|
59
60
|
*/
|
|
60
|
-
|
|
61
|
+
recipient_account_number_id: string;
|
|
61
62
|
|
|
62
63
|
/**
|
|
63
|
-
*
|
|
64
|
+
* Line 1 of the drawdown request's beneficiary's address.
|
|
64
65
|
*/
|
|
65
|
-
|
|
66
|
+
beneficiary_address_line1?: string;
|
|
66
67
|
|
|
67
68
|
/**
|
|
68
|
-
*
|
|
69
|
+
* Line 2 of the drawdown request's beneficiary's address.
|
|
69
70
|
*/
|
|
70
|
-
|
|
71
|
+
beneficiary_address_line2?: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Line 3 of the drawdown request's beneficiary's address.
|
|
75
|
+
*/
|
|
76
|
+
beneficiary_address_line3?: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The drawdown request's beneficiary's name.
|
|
80
|
+
*/
|
|
81
|
+
beneficiary_name?: string;
|
|
71
82
|
|
|
72
83
|
/**
|
|
73
84
|
* Line 1 of the drawdown request's originator's address.
|
|
@@ -89,11 +100,6 @@ export interface InboundWireDrawdownRequestCreateParams {
|
|
|
89
100
|
*/
|
|
90
101
|
originator_name?: string;
|
|
91
102
|
|
|
92
|
-
/**
|
|
93
|
-
* The drawdown request's originator's routing number.
|
|
94
|
-
*/
|
|
95
|
-
originator_routing_number: string;
|
|
96
|
-
|
|
97
103
|
/**
|
|
98
104
|
* Line 1 of the information conveyed from the originator of the message to the
|
|
99
105
|
* beneficiary.
|
|
@@ -117,10 +123,4 @@ export interface InboundWireDrawdownRequestCreateParams {
|
|
|
117
123
|
* beneficiary.
|
|
118
124
|
*/
|
|
119
125
|
originator_to_beneficiary_information_line4?: string;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* The Account Number to which the recipient of this request is being requested to
|
|
123
|
-
* send funds from.
|
|
124
|
-
*/
|
|
125
|
-
recipient_account_number_id: string;
|
|
126
126
|
}
|
|
@@ -22,4 +22,5 @@ export {
|
|
|
22
22
|
} from './real-time-payments-transfers';
|
|
23
23
|
export { InboundWireDrawdownRequestCreateParams } from './inbound-wire-drawdown-requests';
|
|
24
24
|
export { InterestPaymentSimulationResult, InterestPaymentCreateParams } from './interest-payments';
|
|
25
|
+
export { ProgramCreateParams } from './programs';
|
|
25
26
|
export { WireTransferSimulation, WireTransferCreateInboundParams } from './wire-transfers';
|
|
@@ -115,18 +115,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
115
115
|
*/
|
|
116
116
|
account_transfer_intention: Source.AccountTransferIntention | null;
|
|
117
117
|
|
|
118
|
-
/**
|
|
119
|
-
* A ACH Check Conversion object. This field will be present in the JSON response
|
|
120
|
-
* if and only if `category` is equal to `ach_check_conversion`.
|
|
121
|
-
*/
|
|
122
|
-
ach_check_conversion: Source.ACHCheckConversion | null;
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
* A ACH Check Conversion Return object. This field will be present in the JSON
|
|
126
|
-
* response if and only if `category` is equal to `ach_check_conversion_return`.
|
|
127
|
-
*/
|
|
128
|
-
ach_check_conversion_return: Source.ACHCheckConversionReturn | null;
|
|
129
|
-
|
|
130
118
|
/**
|
|
131
119
|
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
132
120
|
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
@@ -163,18 +151,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
163
151
|
*/
|
|
164
152
|
card_revenue_payment: Source.CardRevenuePayment | null;
|
|
165
153
|
|
|
166
|
-
/**
|
|
167
|
-
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
168
|
-
* if and only if `category` is equal to `card_route_refund`.
|
|
169
|
-
*/
|
|
170
|
-
card_route_refund: Source.CardRouteRefund | null;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* A Deprecated Card Settlement object. This field will be present in the JSON
|
|
174
|
-
* response if and only if `category` is equal to `card_route_settlement`.
|
|
175
|
-
*/
|
|
176
|
-
card_route_settlement: Source.CardRouteSettlement | null;
|
|
177
|
-
|
|
178
154
|
/**
|
|
179
155
|
* A Card Settlement object. This field will be present in the JSON response if and
|
|
180
156
|
* only if `category` is equal to `card_settlement`.
|
|
@@ -188,8 +164,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
188
164
|
*/
|
|
189
165
|
category:
|
|
190
166
|
| 'account_transfer_intention'
|
|
191
|
-
| 'ach_check_conversion_return'
|
|
192
|
-
| 'ach_check_conversion'
|
|
193
167
|
| 'ach_transfer_intention'
|
|
194
168
|
| 'ach_transfer_rejection'
|
|
195
169
|
| 'ach_transfer_return'
|
|
@@ -203,8 +177,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
203
177
|
| 'check_transfer_return'
|
|
204
178
|
| 'check_transfer_rejection'
|
|
205
179
|
| 'check_transfer_stop_payment_request'
|
|
206
|
-
| 'dispute_resolution'
|
|
207
|
-
| 'empyreal_cash_deposit'
|
|
208
180
|
| 'fee_payment'
|
|
209
181
|
| 'inbound_ach_transfer'
|
|
210
182
|
| 'inbound_ach_transfer_return_intention'
|
|
@@ -216,14 +188,9 @@ export namespace InterestPaymentSimulationResult {
|
|
|
216
188
|
| 'inbound_wire_reversal'
|
|
217
189
|
| 'inbound_wire_transfer'
|
|
218
190
|
| 'interest_payment'
|
|
219
|
-
| 'internal_general_ledger_transaction'
|
|
220
191
|
| 'internal_source'
|
|
221
|
-
| 'card_route_refund'
|
|
222
|
-
| 'card_route_settlement'
|
|
223
192
|
| 'real_time_payments_transfer_acknowledgement'
|
|
224
193
|
| 'sample_funds'
|
|
225
|
-
| 'wire_drawdown_payment_intention'
|
|
226
|
-
| 'wire_drawdown_payment_rejection'
|
|
227
194
|
| 'wire_transfer_intention'
|
|
228
195
|
| 'wire_transfer_rejection'
|
|
229
196
|
| 'other';
|
|
@@ -265,18 +232,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
265
232
|
*/
|
|
266
233
|
check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
|
|
267
234
|
|
|
268
|
-
/**
|
|
269
|
-
* A Dispute Resolution object. This field will be present in the JSON response if
|
|
270
|
-
* and only if `category` is equal to `dispute_resolution`.
|
|
271
|
-
*/
|
|
272
|
-
dispute_resolution: Source.DisputeResolution | null;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* A Empyreal Cash Deposit object. This field will be present in the JSON response
|
|
276
|
-
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
277
|
-
*/
|
|
278
|
-
empyreal_cash_deposit: Source.EmpyrealCashDeposit | null;
|
|
279
|
-
|
|
280
235
|
/**
|
|
281
236
|
* A Fee Payment object. This field will be present in the JSON response if and
|
|
282
237
|
* only if `category` is equal to `fee_payment`.
|
|
@@ -359,20 +314,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
359
314
|
*/
|
|
360
315
|
sample_funds: Source.SampleFunds | null;
|
|
361
316
|
|
|
362
|
-
/**
|
|
363
|
-
* A Wire Drawdown Payment Intention object. This field will be present in the JSON
|
|
364
|
-
* response if and only if `category` is equal to
|
|
365
|
-
* `wire_drawdown_payment_intention`.
|
|
366
|
-
*/
|
|
367
|
-
wire_drawdown_payment_intention: Source.WireDrawdownPaymentIntention | null;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* A Wire Drawdown Payment Rejection object. This field will be present in the JSON
|
|
371
|
-
* response if and only if `category` is equal to
|
|
372
|
-
* `wire_drawdown_payment_rejection`.
|
|
373
|
-
*/
|
|
374
|
-
wire_drawdown_payment_rejection: Source.WireDrawdownPaymentRejection | null;
|
|
375
|
-
|
|
376
317
|
/**
|
|
377
318
|
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
378
319
|
* response if and only if `category` is equal to `wire_transfer_intention`.
|
|
@@ -425,40 +366,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
425
366
|
transfer_id: string;
|
|
426
367
|
}
|
|
427
368
|
|
|
428
|
-
/**
|
|
429
|
-
* A ACH Check Conversion Return object. This field will be present in the JSON
|
|
430
|
-
* response if and only if `category` is equal to `ach_check_conversion_return`.
|
|
431
|
-
*/
|
|
432
|
-
export interface ACHCheckConversionReturn {
|
|
433
|
-
/**
|
|
434
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
435
|
-
* example, this is cents.
|
|
436
|
-
*/
|
|
437
|
-
amount: number;
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* Why the transfer was returned.
|
|
441
|
-
*/
|
|
442
|
-
return_reason_code: string;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* A ACH Check Conversion object. This field will be present in the JSON response
|
|
447
|
-
* if and only if `category` is equal to `ach_check_conversion`.
|
|
448
|
-
*/
|
|
449
|
-
export interface ACHCheckConversion {
|
|
450
|
-
/**
|
|
451
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
452
|
-
* example, this is cents.
|
|
453
|
-
*/
|
|
454
|
-
amount: number;
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* The identifier of the File containing an image of the returned check.
|
|
458
|
-
*/
|
|
459
|
-
file_id: string;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
369
|
/**
|
|
463
370
|
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
464
371
|
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
@@ -504,6 +411,11 @@ export namespace InterestPaymentSimulationResult {
|
|
|
504
411
|
*/
|
|
505
412
|
created_at: string;
|
|
506
413
|
|
|
414
|
+
/**
|
|
415
|
+
* The three character ACH return code, in the range R01 to R85.
|
|
416
|
+
*/
|
|
417
|
+
raw_return_reason_code: string;
|
|
418
|
+
|
|
507
419
|
/**
|
|
508
420
|
* Why the ACH Transfer was returned.
|
|
509
421
|
*/
|
|
@@ -527,10 +439,58 @@ export namespace InterestPaymentSimulationResult {
|
|
|
527
439
|
| 'file_record_edit_criteria'
|
|
528
440
|
| 'enr_invalid_individual_name'
|
|
529
441
|
| 'returned_per_odfi_request'
|
|
530
|
-
| 'addenda_error'
|
|
531
442
|
| 'limited_participation_dfi'
|
|
532
443
|
| 'incorrectly_coded_outbound_international_payment'
|
|
533
|
-
| 'other'
|
|
444
|
+
| 'other'
|
|
445
|
+
| 'account_sold_to_another_dfi'
|
|
446
|
+
| 'addenda_error'
|
|
447
|
+
| 'beneficiary_or_account_holder_deceased'
|
|
448
|
+
| 'customer_advised_not_within_authorization_terms'
|
|
449
|
+
| 'corrected_return'
|
|
450
|
+
| 'duplicate_entry'
|
|
451
|
+
| 'duplicate_return'
|
|
452
|
+
| 'enr_duplicate_enrollment'
|
|
453
|
+
| 'enr_invalid_dfi_account_number'
|
|
454
|
+
| 'enr_invalid_individual_id_number'
|
|
455
|
+
| 'enr_invalid_representative_payee_indicator'
|
|
456
|
+
| 'enr_invalid_transaction_code'
|
|
457
|
+
| 'enr_return_of_enr_entry'
|
|
458
|
+
| 'enr_routing_number_check_digit_error'
|
|
459
|
+
| 'entry_not_processed_by_gateway'
|
|
460
|
+
| 'field_error'
|
|
461
|
+
| 'foreign_receiving_dfi_unable_to_settle'
|
|
462
|
+
| 'iat_entry_coding_error'
|
|
463
|
+
| 'improper_effective_entry_date'
|
|
464
|
+
| 'improper_source_document_source_document_presented'
|
|
465
|
+
| 'invalid_company_id'
|
|
466
|
+
| 'invalid_foreign_receiving_dfi_identification'
|
|
467
|
+
| 'invalid_individual_id_number'
|
|
468
|
+
| 'item_and_rck_entry_presented_for_payment'
|
|
469
|
+
| 'item_related_to_rck_entry_is_ineligible'
|
|
470
|
+
| 'mandatory_field_error'
|
|
471
|
+
| 'misrouted_dishonored_return'
|
|
472
|
+
| 'misrouted_return'
|
|
473
|
+
| 'no_errors_found'
|
|
474
|
+
| 'non_acceptance_of_r62_dishonored_return'
|
|
475
|
+
| 'non_participant_in_iat_program'
|
|
476
|
+
| 'permissible_return_entry'
|
|
477
|
+
| 'permissible_return_entry_not_accepted'
|
|
478
|
+
| 'rdfi_non_settlement'
|
|
479
|
+
| 'rdfi_participant_in_check_truncation_program'
|
|
480
|
+
| 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
|
|
481
|
+
| 'return_not_a_duplicate'
|
|
482
|
+
| 'return_of_erroneous_or_reversing_debit'
|
|
483
|
+
| 'return_of_improper_credit_entry'
|
|
484
|
+
| 'return_of_improper_debit_entry'
|
|
485
|
+
| 'return_of_xck_entry'
|
|
486
|
+
| 'source_document_presented_for_payment'
|
|
487
|
+
| 'state_law_affecting_rck_acceptance'
|
|
488
|
+
| 'stop_payment_on_item_related_to_rck_entry'
|
|
489
|
+
| 'stop_payment_on_source_document'
|
|
490
|
+
| 'timely_original_return'
|
|
491
|
+
| 'trace_number_error'
|
|
492
|
+
| 'untimely_dishonored_return'
|
|
493
|
+
| 'untimely_return';
|
|
534
494
|
|
|
535
495
|
/**
|
|
536
496
|
* The identifier of the Tranasaction associated with this return.
|
|
@@ -819,7 +779,8 @@ export namespace InterestPaymentSimulationResult {
|
|
|
819
779
|
| 'stop_payment'
|
|
820
780
|
| 'unknown_reason'
|
|
821
781
|
| 'unmatched_details'
|
|
822
|
-
| 'unreadable_image'
|
|
782
|
+
| 'unreadable_image'
|
|
783
|
+
| 'endorsement_irregular';
|
|
823
784
|
|
|
824
785
|
/**
|
|
825
786
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -958,45 +919,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
958
919
|
type: 'check_transfer_stop_payment_request';
|
|
959
920
|
}
|
|
960
921
|
|
|
961
|
-
/**
|
|
962
|
-
* A Dispute Resolution object. This field will be present in the JSON response if
|
|
963
|
-
* and only if `category` is equal to `dispute_resolution`.
|
|
964
|
-
*/
|
|
965
|
-
export interface DisputeResolution {
|
|
966
|
-
/**
|
|
967
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
968
|
-
* example, this is cents.
|
|
969
|
-
*/
|
|
970
|
-
amount: number;
|
|
971
|
-
|
|
972
|
-
/**
|
|
973
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
974
|
-
* transaction's currency.
|
|
975
|
-
*/
|
|
976
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* The identifier of the Transaction that was disputed.
|
|
980
|
-
*/
|
|
981
|
-
disputed_transaction_id: string;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
/**
|
|
985
|
-
* A Empyreal Cash Deposit object. This field will be present in the JSON response
|
|
986
|
-
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
987
|
-
*/
|
|
988
|
-
export interface EmpyrealCashDeposit {
|
|
989
|
-
/**
|
|
990
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
991
|
-
* example, this is cents.
|
|
992
|
-
*/
|
|
993
|
-
amount: number;
|
|
994
|
-
|
|
995
|
-
bag_id: string;
|
|
996
|
-
|
|
997
|
-
deposit_date: string;
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
922
|
/**
|
|
1001
923
|
* A Fee Payment object. This field will be present in the JSON response if and
|
|
1002
924
|
* only if `category` is equal to `fee_payment`.
|
|
@@ -1470,6 +1392,7 @@ export namespace InterestPaymentSimulationResult {
|
|
|
1470
1392
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1471
1393
|
|
|
1472
1394
|
reason:
|
|
1395
|
+
| 'account_closure'
|
|
1473
1396
|
| 'bank_migration'
|
|
1474
1397
|
| 'cashback'
|
|
1475
1398
|
| 'collection_receivable'
|
|
@@ -1483,66 +1406,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
1483
1406
|
| 'sample_funds_return';
|
|
1484
1407
|
}
|
|
1485
1408
|
|
|
1486
|
-
/**
|
|
1487
|
-
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
1488
|
-
* if and only if `category` is equal to `card_route_refund`.
|
|
1489
|
-
*/
|
|
1490
|
-
export interface CardRouteRefund {
|
|
1491
|
-
/**
|
|
1492
|
-
* The refunded amount in the minor unit of the refunded currency. For dollars, for
|
|
1493
|
-
* example, this is cents.
|
|
1494
|
-
*/
|
|
1495
|
-
amount: number;
|
|
1496
|
-
|
|
1497
|
-
/**
|
|
1498
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the refund
|
|
1499
|
-
* currency.
|
|
1500
|
-
*/
|
|
1501
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1502
|
-
|
|
1503
|
-
merchant_acceptor_id: string;
|
|
1504
|
-
|
|
1505
|
-
merchant_category_code: string | null;
|
|
1506
|
-
|
|
1507
|
-
merchant_city: string | null;
|
|
1508
|
-
|
|
1509
|
-
merchant_country: string;
|
|
1510
|
-
|
|
1511
|
-
merchant_descriptor: string;
|
|
1512
|
-
|
|
1513
|
-
merchant_state: string | null;
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
/**
|
|
1517
|
-
* A Deprecated Card Settlement object. This field will be present in the JSON
|
|
1518
|
-
* response if and only if `category` is equal to `card_route_settlement`.
|
|
1519
|
-
*/
|
|
1520
|
-
export interface CardRouteSettlement {
|
|
1521
|
-
/**
|
|
1522
|
-
* The settled amount in the minor unit of the settlement currency. For dollars,
|
|
1523
|
-
* for example, this is cents.
|
|
1524
|
-
*/
|
|
1525
|
-
amount: number;
|
|
1526
|
-
|
|
1527
|
-
/**
|
|
1528
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the settlement
|
|
1529
|
-
* currency.
|
|
1530
|
-
*/
|
|
1531
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1532
|
-
|
|
1533
|
-
merchant_acceptor_id: string;
|
|
1534
|
-
|
|
1535
|
-
merchant_category_code: string | null;
|
|
1536
|
-
|
|
1537
|
-
merchant_city: string | null;
|
|
1538
|
-
|
|
1539
|
-
merchant_country: string | null;
|
|
1540
|
-
|
|
1541
|
-
merchant_descriptor: string;
|
|
1542
|
-
|
|
1543
|
-
merchant_state: string | null;
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
1409
|
/**
|
|
1547
1410
|
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
1548
1411
|
* in the JSON response if and only if `category` is equal to
|
|
@@ -1586,35 +1449,6 @@ export namespace InterestPaymentSimulationResult {
|
|
|
1586
1449
|
originator: string;
|
|
1587
1450
|
}
|
|
1588
1451
|
|
|
1589
|
-
/**
|
|
1590
|
-
* A Wire Drawdown Payment Intention object. This field will be present in the JSON
|
|
1591
|
-
* response if and only if `category` is equal to
|
|
1592
|
-
* `wire_drawdown_payment_intention`.
|
|
1593
|
-
*/
|
|
1594
|
-
export interface WireDrawdownPaymentIntention {
|
|
1595
|
-
account_number: string;
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* The transfer amount in USD cents.
|
|
1599
|
-
*/
|
|
1600
|
-
amount: number;
|
|
1601
|
-
|
|
1602
|
-
message_to_recipient: string;
|
|
1603
|
-
|
|
1604
|
-
routing_number: string;
|
|
1605
|
-
|
|
1606
|
-
transfer_id: string;
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
/**
|
|
1610
|
-
* A Wire Drawdown Payment Rejection object. This field will be present in the JSON
|
|
1611
|
-
* response if and only if `category` is equal to
|
|
1612
|
-
* `wire_drawdown_payment_rejection`.
|
|
1613
|
-
*/
|
|
1614
|
-
export interface WireDrawdownPaymentRejection {
|
|
1615
|
-
transfer_id: string;
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
1452
|
/**
|
|
1619
1453
|
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
1620
1454
|
* response if and only if `category` is equal to `wire_transfer_intention`.
|