increase 0.2.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/.prettierignore +1 -0
- package/.release-please-manifest.json +3 -0
- package/.stats.yml +1 -1
- package/CHANGELOG.md +130 -0
- package/README.md +19 -5
- package/api.md +99 -0
- package/bin/check-release-environment +25 -0
- package/bin/publish-npm +6 -0
- package/check-version.ts +4 -1
- package/core.ts +32 -126
- package/dist/cjs/check-version.d.ts +1 -0
- package/dist/cjs/check-version.d.ts.map +1 -0
- package/dist/cjs/check-version.js +3 -1
- package/dist/cjs/check-version.js.map +1 -1
- package/dist/cjs/core.d.ts +25 -55
- package/dist/cjs/core.d.ts.map +1 -0
- package/dist/cjs/core.js +43 -168
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/error.d.ts +208 -0
- package/dist/cjs/error.d.ts.map +1 -0
- package/dist/cjs/error.js +326 -0
- package/dist/cjs/error.js.map +1 -0
- package/dist/cjs/examples/api-error.d.ts +3 -0
- package/dist/cjs/examples/api-error.d.ts.map +1 -0
- package/dist/cjs/examples/api-error.js +92 -0
- package/dist/cjs/examples/api-error.js.map +1 -0
- package/dist/cjs/fetch-polyfill.d.ts +1 -0
- package/dist/cjs/fetch-polyfill.d.ts.map +1 -0
- package/dist/cjs/fetch-polyfill.js +2 -2
- package/dist/cjs/fetch-polyfill.js.map +1 -1
- package/dist/cjs/index.d.ts +81 -22
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +80 -26
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/pagination.d.ts +4 -0
- package/dist/cjs/pagination.d.ts.map +1 -0
- package/dist/cjs/pagination.js.map +1 -1
- package/dist/cjs/resource.d.ts +1 -0
- package/dist/cjs/resource.d.ts.map +1 -0
- package/dist/cjs/resources/account-numbers.d.ts +26 -0
- package/dist/cjs/resources/account-numbers.d.ts.map +1 -0
- package/dist/cjs/resources/account-numbers.js.map +1 -1
- package/dist/cjs/resources/account-statements.d.ts +1 -0
- package/dist/cjs/resources/account-statements.d.ts.map +1 -0
- package/dist/cjs/resources/account-statements.js.map +1 -1
- package/dist/cjs/resources/account-transfers.d.ts +20 -11
- package/dist/cjs/resources/account-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/account-transfers.js.map +1 -1
- package/dist/cjs/resources/accounts.d.ts +41 -19
- package/dist/cjs/resources/accounts.d.ts.map +1 -0
- package/dist/cjs/resources/accounts.js.map +1 -1
- package/dist/cjs/resources/ach-prenotifications.d.ts +4 -0
- package/dist/cjs/resources/ach-prenotifications.d.ts.map +1 -0
- package/dist/cjs/resources/ach-prenotifications.js.map +1 -1
- package/dist/cjs/resources/ach-transfers.d.ts +89 -9
- package/dist/cjs/resources/ach-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/ach-transfers.js.map +1 -1
- package/dist/cjs/resources/balance-lookups.d.ts +47 -0
- package/dist/cjs/resources/balance-lookups.d.ts.map +1 -0
- package/dist/cjs/resources/balance-lookups.js +15 -0
- package/dist/cjs/resources/balance-lookups.js.map +1 -0
- package/dist/cjs/resources/bookkeeping-accounts.d.ts +71 -0
- package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +1 -0
- package/dist/cjs/resources/bookkeeping-accounts.js +29 -0
- package/dist/cjs/resources/bookkeeping-accounts.js.map +1 -0
- package/dist/cjs/resources/bookkeeping-entries.d.ts +43 -0
- package/dist/cjs/resources/bookkeeping-entries.d.ts.map +1 -0
- package/dist/cjs/resources/bookkeeping-entries.js +19 -0
- package/dist/cjs/resources/bookkeeping-entries.js.map +1 -0
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +83 -0
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +1 -0
- package/dist/cjs/resources/bookkeeping-entry-sets.js +15 -0
- package/dist/cjs/resources/bookkeeping-entry-sets.js.map +1 -0
- package/dist/cjs/resources/card-disputes.d.ts +13 -3
- package/dist/cjs/resources/card-disputes.d.ts.map +1 -0
- package/dist/cjs/resources/card-disputes.js.map +1 -1
- package/dist/cjs/resources/card-profiles.d.ts +18 -2
- package/dist/cjs/resources/card-profiles.d.ts.map +1 -0
- package/dist/cjs/resources/card-profiles.js.map +1 -1
- package/dist/cjs/resources/cards.d.ts +31 -2
- package/dist/cjs/resources/cards.d.ts.map +1 -0
- package/dist/cjs/resources/cards.js.map +1 -1
- package/dist/cjs/resources/check-deposits.d.ts +16 -1
- package/dist/cjs/resources/check-deposits.d.ts.map +1 -0
- package/dist/cjs/resources/check-deposits.js.map +1 -1
- package/dist/cjs/resources/check-transfers.d.ts +104 -5
- package/dist/cjs/resources/check-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/check-transfers.js.map +1 -1
- package/dist/cjs/resources/declined-transactions.d.ts +85 -23
- package/dist/cjs/resources/declined-transactions.d.ts.map +1 -0
- package/dist/cjs/resources/declined-transactions.js.map +1 -1
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +1 -0
- package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +1 -0
- package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -1
- package/dist/cjs/resources/documents.d.ts +105 -4
- package/dist/cjs/resources/documents.d.ts.map +1 -0
- package/dist/cjs/resources/documents.js.map +1 -1
- package/dist/cjs/resources/entities/entities.d.ts +363 -136
- package/dist/cjs/resources/entities/entities.d.ts.map +1 -0
- package/dist/cjs/resources/entities/entities.js +1 -1
- package/dist/cjs/resources/entities/entities.js.map +1 -1
- package/dist/cjs/resources/entities/index.d.ts +7 -1
- package/dist/cjs/resources/entities/index.d.ts.map +1 -0
- 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 +36 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -0
- 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 +5 -0
- package/dist/cjs/resources/event-subscriptions.d.ts.map +1 -0
- package/dist/cjs/resources/event-subscriptions.js.map +1 -1
- package/dist/cjs/resources/events.d.ts +30 -24
- package/dist/cjs/resources/events.d.ts.map +1 -0
- package/dist/cjs/resources/events.js.map +1 -1
- package/dist/cjs/resources/exports.d.ts +162 -0
- package/dist/cjs/resources/exports.d.ts.map +1 -0
- package/dist/cjs/resources/exports.js +31 -0
- package/dist/cjs/resources/exports.js.map +1 -0
- package/dist/cjs/resources/external-accounts.d.ts +4 -2
- package/dist/cjs/resources/external-accounts.d.ts.map +1 -0
- package/dist/cjs/resources/external-accounts.js.map +1 -1
- package/dist/cjs/resources/files.d.ts +10 -4
- package/dist/cjs/resources/files.d.ts.map +1 -0
- package/dist/cjs/resources/files.js.map +1 -1
- package/dist/cjs/resources/groups.d.ts +1 -0
- package/dist/cjs/resources/groups.d.ts.map +1 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +4 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +1 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/index.d.ts +29 -0
- package/dist/cjs/resources/index.d.ts.map +1 -0
- package/dist/cjs/resources/index.js +100 -9
- package/dist/cjs/resources/index.js.map +1 -1
- package/dist/cjs/resources/limits.d.ts +1 -0
- package/dist/cjs/resources/limits.d.ts.map +1 -0
- package/dist/cjs/resources/limits.js.map +1 -1
- package/dist/cjs/resources/oauth-connections.d.ts +1 -0
- package/dist/cjs/resources/oauth-connections.d.ts.map +1 -0
- package/dist/cjs/resources/oauth-connections.js.map +1 -1
- package/dist/cjs/resources/pending-transactions.d.ts +115 -36
- package/dist/cjs/resources/pending-transactions.d.ts.map +1 -0
- package/dist/cjs/resources/pending-transactions.js.map +1 -1
- package/dist/cjs/resources/programs.d.ts +48 -0
- package/dist/cjs/resources/programs.d.ts.map +1 -0
- package/dist/cjs/resources/programs.js +25 -0
- package/dist/cjs/resources/programs.js.map +1 -0
- package/dist/cjs/resources/real-time-decisions.d.ts +43 -7
- package/dist/cjs/resources/real-time-decisions.d.ts.map +1 -0
- package/dist/cjs/resources/real-time-payments-transfers.d.ts +287 -0
- package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/real-time-payments-transfers.js +35 -0
- package/dist/cjs/resources/real-time-payments-transfers.js.map +1 -0
- package/dist/cjs/resources/routing-numbers.d.ts +1 -0
- package/dist/cjs/resources/routing-numbers.d.ts.map +1 -0
- package/dist/cjs/resources/shared.d.ts +1 -0
- package/dist/cjs/resources/shared.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/account-statements.d.ts +1 -0
- package/dist/cjs/resources/simulations/account-statements.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/account-transfers.d.ts +1 -0
- package/dist/cjs/resources/simulations/account-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +470 -157
- package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/card-disputes.d.ts +1 -0
- package/dist/cjs/resources/simulations/card-disputes.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/card-refunds.d.ts +1 -0
- package/dist/cjs/resources/simulations/card-refunds.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/cards.d.ts +188 -56
- package/dist/cjs/resources/simulations/cards.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/check-deposits.d.ts +1 -0
- package/dist/cjs/resources/simulations/check-deposits.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/check-transfers.d.ts +16 -0
- package/dist/cjs/resources/simulations/check-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/check-transfers.js +10 -0
- package/dist/cjs/resources/simulations/check-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +1 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/documents.d.ts +1 -0
- package/dist/cjs/resources/simulations/documents.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/index.d.ts +5 -0
- package/dist/cjs/resources/simulations/index.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/interest-payments.d.ts +1237 -0
- package/dist/cjs/resources/simulations/interest-payments.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/interest-payments.js +16 -0
- package/dist/cjs/resources/simulations/interest-payments.js.map +1 -0
- 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 +470 -155
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js +11 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/simulations.d.ts +5 -0
- package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/simulations.js +4 -0
- package/dist/cjs/resources/simulations/simulations.js.map +1 -1
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +332 -133
- package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/transactions.d.ts +353 -165
- package/dist/cjs/resources/transactions.d.ts.map +1 -0
- package/dist/cjs/resources/transactions.js.map +1 -1
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +5 -0
- package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +1 -0
- package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/wire-transfers.d.ts +39 -4
- package/dist/cjs/resources/wire-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/wire-transfers.js.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.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.js +25 -28
- package/dist/cjs/tests/api-resources/account-numbers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/account-statements.test.js +7 -20
- package/dist/cjs/tests/api-resources/account-statements.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.js +16 -29
- package/dist/cjs/tests/api-resources/account-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/accounts.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/accounts.test.js +22 -23
- package/dist/cjs/tests/api-resources/accounts.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +12 -24
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.js +17 -31
- package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/balance-lookups.test.js +55 -0
- package/dist/cjs/tests/api-resources/balance-lookups.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js +78 -0
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js +65 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js +66 -0
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.js +18 -24
- package/dist/cjs/tests/api-resources/card-disputes.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.js +28 -19
- package/dist/cjs/tests/api-resources/card-profiles.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/cards.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/cards.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/cards.test.js +13 -35
- package/dist/cjs/tests/api-resources/cards.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.js +24 -27
- package/dist/cjs/tests/api-resources/check-deposits.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.js +27 -40
- package/dist/cjs/tests/api-resources/check-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.js +9 -23
- package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +8 -21
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/documents.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/documents.test.js +15 -23
- package/dist/cjs/tests/api-resources/documents.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.js +40 -31
- package/dist/cjs/tests/api-resources/entities/entities.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +25 -6
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js +10 -20
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/events.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/events.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/events.test.js +8 -22
- package/dist/cjs/tests/api-resources/events.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/exports.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/exports.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/exports.test.js +101 -0
- package/dist/cjs/tests/api-resources/exports.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.js +13 -27
- package/dist/cjs/tests/api-resources/external-accounts.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/files.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/files.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/files.test.js +8 -21
- package/dist/cjs/tests/api-resources/files.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/groups.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/groups.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/groups.test.js +6 -5
- package/dist/cjs/tests/api-resources/groups.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +16 -12
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +6 -9
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/limits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/limits.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/limits.test.js +14 -17
- package/dist/cjs/tests/api-resources/limits.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.js +6 -9
- package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.js +13 -17
- package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/programs.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/programs.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/programs.test.js +73 -0
- package/dist/cjs/tests/api-resources/programs.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js +6 -16
- 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.d.ts +2 -0
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js +113 -0
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.js +6 -5
- package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +11 -8
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +5 -4
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +13 -19
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +8 -7
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js +11 -8
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.js +12 -10
- package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +5 -4
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +23 -4
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +11 -8
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.js +10 -7
- package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +29 -28
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts +2 -0
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js +58 -0
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js.map +1 -0
- 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.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +20 -12
- 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.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +11 -10
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.js +11 -28
- package/dist/cjs/tests/api-resources/transactions.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +20 -23
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +1 -1
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts.map +1 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.js +22 -36
- package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +1 -1
- package/dist/cjs/tests/form.test.d.ts +1 -0
- package/dist/cjs/tests/form.test.d.ts.map +1 -0
- package/dist/cjs/tests/form.test.js +4 -3
- package/dist/cjs/tests/index.test.d.ts +1 -0
- package/dist/cjs/tests/index.test.d.ts.map +1 -0
- package/dist/cjs/tests/index.test.js +36 -4
- package/dist/cjs/tests/index.test.js.map +1 -1
- package/dist/cjs/tests/responses.test.d.ts +1 -0
- package/dist/cjs/tests/responses.test.d.ts.map +1 -0
- package/dist/cjs/tests/responses.test.js +4 -3
- package/dist/cjs/version.d.ts +2 -1
- package/dist/cjs/version.d.ts.map +1 -0
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/error.ts +505 -0
- package/examples/api-error.ts +21 -0
- package/fetch-polyfill.ts +2 -2
- package/index.ts +90 -20
- package/package.json +2 -2
- package/pagination.ts +3 -0
- package/release-please-config.json +61 -0
- package/resources/account-numbers.ts +30 -1
- package/resources/account-statements.ts +0 -1
- package/resources/account-transfers.ts +21 -13
- package/resources/accounts.ts +48 -23
- package/resources/ach-prenotifications.ts +3 -1
- package/resources/ach-transfers.ts +92 -11
- package/resources/balance-lookups.ts +57 -0
- package/resources/bookkeeping-accounts.ts +98 -0
- package/resources/bookkeeping-entries.ts +62 -0
- package/resources/bookkeeping-entry-sets.ts +100 -0
- package/resources/card-disputes.ts +12 -4
- package/resources/card-profiles.ts +17 -3
- package/resources/cards.ts +30 -3
- package/resources/check-deposits.ts +15 -2
- package/resources/check-transfers.ts +117 -7
- package/resources/declined-transactions.ts +96 -27
- package/resources/digital-wallet-tokens.ts +0 -1
- package/resources/documents.ts +104 -5
- package/resources/entities/entities.ts +443 -212
- package/resources/entities/index.ts +6 -1
- package/resources/entities/supplemental-documents.ts +46 -0
- package/resources/event-subscriptions.ts +4 -1
- package/resources/events.ts +33 -29
- package/resources/exports.ts +204 -0
- package/resources/external-accounts.ts +3 -3
- package/resources/files.ts +9 -5
- package/resources/inbound-ach-transfer-returns.ts +3 -1
- package/resources/inbound-wire-drawdown-requests.ts +0 -1
- package/resources/index.ts +28 -0
- package/resources/limits.ts +0 -1
- package/resources/oauth-connections.ts +0 -1
- package/resources/pending-transactions.ts +126 -48
- package/resources/programs.ts +70 -0
- package/resources/real-time-decisions.ts +43 -8
- package/resources/real-time-payments-transfers.ts +351 -0
- package/resources/simulations/ach-transfers.ts +504 -192
- package/resources/simulations/cards.ts +206 -69
- package/resources/simulations/check-transfers.ts +19 -0
- package/resources/simulations/index.ts +4 -0
- package/resources/simulations/interest-payments.ts +1501 -0
- package/resources/simulations/programs.ts +26 -0
- package/resources/simulations/real-time-payments-transfers.ts +512 -190
- package/resources/simulations/simulations.ts +4 -0
- package/resources/simulations/wire-transfers.ts +354 -165
- package/resources/transactions.ts +379 -202
- package/resources/wire-drawdown-requests.ts +4 -1
- package/resources/wire-transfers.ts +43 -6
- package/streaming.ts +199 -0
- package/tests/api-resources/account-numbers.test.ts +22 -25
- package/tests/api-resources/account-statements.test.ts +4 -17
- package/tests/api-resources/account-transfers.test.ts +13 -26
- package/tests/api-resources/accounts.test.ts +19 -20
- package/tests/api-resources/ach-prenotifications.test.ts +9 -21
- package/tests/api-resources/ach-transfers.test.ts +14 -28
- package/tests/api-resources/balance-lookups.test.ts +18 -0
- package/tests/api-resources/bookkeeping-accounts.test.ts +38 -0
- package/tests/api-resources/bookkeeping-entries.test.ts +25 -0
- package/tests/api-resources/bookkeeping-entry-sets.test.ts +29 -0
- package/tests/api-resources/card-disputes.test.ts +15 -21
- package/tests/api-resources/card-profiles.test.ts +25 -16
- package/tests/api-resources/cards.test.ts +10 -32
- package/tests/api-resources/check-deposits.test.ts +21 -24
- package/tests/api-resources/check-transfers.test.ts +24 -37
- package/tests/api-resources/declined-transactions.test.ts +6 -20
- package/tests/api-resources/digital-wallet-tokens.test.ts +5 -18
- package/tests/api-resources/documents.test.ts +8 -20
- package/tests/api-resources/entities/entities.test.ts +37 -31
- package/tests/api-resources/entities/supplemental-documents.test.ts +22 -3
- package/tests/api-resources/event-subscriptions.test.ts +7 -17
- package/tests/api-resources/events.test.ts +5 -19
- package/tests/api-resources/exports.test.ts +64 -0
- package/tests/api-resources/external-accounts.test.ts +10 -24
- package/tests/api-resources/files.test.ts +5 -19
- package/tests/api-resources/groups.test.ts +3 -2
- package/tests/api-resources/inbound-ach-transfer-returns.test.ts +13 -9
- package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +3 -6
- package/tests/api-resources/limits.test.ts +11 -14
- package/tests/api-resources/oauth-connections.test.ts +3 -6
- package/tests/api-resources/pending-transactions.test.ts +10 -14
- package/tests/api-resources/programs.test.ts +36 -0
- package/tests/api-resources/real-time-decisions.test.ts +3 -13
- package/tests/api-resources/real-time-payments-transfers.test.ts +76 -0
- package/tests/api-resources/routing-numbers.test.ts +3 -2
- package/tests/api-resources/simulations/account-statements.test.ts +8 -5
- package/tests/api-resources/simulations/account-transfers.test.ts +2 -1
- package/tests/api-resources/simulations/ach-transfers.test.ts +10 -16
- package/tests/api-resources/simulations/card-disputes.test.ts +5 -4
- package/tests/api-resources/simulations/card-refunds.test.ts +8 -5
- package/tests/api-resources/simulations/cards.test.ts +9 -7
- package/tests/api-resources/simulations/check-deposits.test.ts +2 -1
- package/tests/api-resources/simulations/check-transfers.test.ts +14 -1
- package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +8 -5
- package/tests/api-resources/simulations/documents.test.ts +7 -4
- package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +26 -25
- package/tests/api-resources/simulations/interest-payments.test.ts +15 -0
- package/tests/api-resources/simulations/programs.test.ts +15 -0
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +17 -9
- package/tests/api-resources/simulations/wire-transfers.test.ts +8 -7
- package/tests/api-resources/transactions.test.ts +8 -25
- package/tests/api-resources/wire-drawdown-requests.test.ts +17 -20
- package/tests/api-resources/wire-transfers.test.ts +19 -33
- package/tests/index.test.ts +30 -1
- package/tsconfig.json +2 -0
- package/version.ts +1 -1
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import * as Core from '../../core';
|
|
2
2
|
import { APIResource } from '../../resource';
|
|
3
|
+
import * as RealTimePaymentsTransfers_ from '../../resources/real-time-payments-transfers';
|
|
3
4
|
import * as Shared from '../../resources/shared';
|
|
4
5
|
export declare class RealTimePaymentsTransfers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Simulates submission of a Real Time Payments transfer and handling the response
|
|
8
|
+
* from the destination financial institution. This transfer must first have a
|
|
9
|
+
* `status` of `pending_submission`.
|
|
10
|
+
*/
|
|
11
|
+
complete(
|
|
12
|
+
realTimePaymentsTransferId: string,
|
|
13
|
+
body: RealTimePaymentsTransferCompleteParams,
|
|
14
|
+
options?: Core.RequestOptions,
|
|
15
|
+
): Promise<Core.APIResponse<RealTimePaymentsTransfers_.RealTimePaymentsTransfer>>;
|
|
5
16
|
/**
|
|
6
17
|
* Simulates an inbound Real Time Payments transfer to your account. Real Time
|
|
7
18
|
* Payments are a beta feature.
|
|
@@ -35,6 +46,11 @@ export interface InboundRealTimePaymentsTransferSimulationResult {
|
|
|
35
46
|
type: 'inbound_real_time_payments_transfer_simulation_result';
|
|
36
47
|
}
|
|
37
48
|
export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
49
|
+
/**
|
|
50
|
+
* If the Real Time Payments Transfer attempt succeeds, this will contain the
|
|
51
|
+
* resulting [Transaction](#transactions) object. The Transaction's `source` will
|
|
52
|
+
* be of `category: inbound_real_time_payments_transfer_confirmation`.
|
|
53
|
+
*/
|
|
38
54
|
interface Transaction {
|
|
39
55
|
/**
|
|
40
56
|
* The identifier for the Account the Transaction belongs to.
|
|
@@ -74,7 +90,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
74
90
|
/**
|
|
75
91
|
* The type of the route this Transaction came through.
|
|
76
92
|
*/
|
|
77
|
-
route_type:
|
|
93
|
+
route_type: 'account_number' | 'card' | null;
|
|
78
94
|
/**
|
|
79
95
|
* This is an object giving more details on the network-level event that caused the
|
|
80
96
|
* Transaction. Note that for backwards compatibility reasons, additional
|
|
@@ -89,22 +105,18 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
89
105
|
type: 'transaction';
|
|
90
106
|
}
|
|
91
107
|
namespace Transaction {
|
|
108
|
+
/**
|
|
109
|
+
* This is an object giving more details on the network-level event that caused the
|
|
110
|
+
* Transaction. Note that for backwards compatibility reasons, additional
|
|
111
|
+
* undocumented keys may appear in this object. These should be treated as
|
|
112
|
+
* deprecated and will be removed in the future.
|
|
113
|
+
*/
|
|
92
114
|
interface Source {
|
|
93
115
|
/**
|
|
94
116
|
* A Account Transfer Intention object. This field will be present in the JSON
|
|
95
117
|
* response if and only if `category` is equal to `account_transfer_intention`.
|
|
96
118
|
*/
|
|
97
119
|
account_transfer_intention: Source.AccountTransferIntention | null;
|
|
98
|
-
/**
|
|
99
|
-
* A ACH Check Conversion object. This field will be present in the JSON response
|
|
100
|
-
* if and only if `category` is equal to `ach_check_conversion`.
|
|
101
|
-
*/
|
|
102
|
-
ach_check_conversion: Source.ACHCheckConversion | null;
|
|
103
|
-
/**
|
|
104
|
-
* A ACH Check Conversion Return object. This field will be present in the JSON
|
|
105
|
-
* response if and only if `category` is equal to `ach_check_conversion_return`.
|
|
106
|
-
*/
|
|
107
|
-
ach_check_conversion_return: Source.ACHCheckConversionReturn | null;
|
|
108
120
|
/**
|
|
109
121
|
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
110
122
|
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
@@ -131,15 +143,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
131
143
|
*/
|
|
132
144
|
card_refund: Source.CardRefund | null;
|
|
133
145
|
/**
|
|
134
|
-
* A
|
|
135
|
-
* if and only if `category` is equal to `
|
|
136
|
-
*/
|
|
137
|
-
card_route_refund: Source.CardRouteRefund | null;
|
|
138
|
-
/**
|
|
139
|
-
* A Deprecated Card Settlement object. This field will be present in the JSON
|
|
140
|
-
* response if and only if `category` is equal to `card_route_settlement`.
|
|
146
|
+
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
147
|
+
* if and only if `category` is equal to `card_revenue_payment`.
|
|
141
148
|
*/
|
|
142
|
-
|
|
149
|
+
card_revenue_payment: Source.CardRevenuePayment | null;
|
|
143
150
|
/**
|
|
144
151
|
* A Card Settlement object. This field will be present in the JSON response if and
|
|
145
152
|
* only if `category` is equal to `card_settlement`.
|
|
@@ -152,22 +159,20 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
152
159
|
*/
|
|
153
160
|
category:
|
|
154
161
|
| 'account_transfer_intention'
|
|
155
|
-
| 'ach_check_conversion_return'
|
|
156
|
-
| 'ach_check_conversion'
|
|
157
162
|
| 'ach_transfer_intention'
|
|
158
163
|
| 'ach_transfer_rejection'
|
|
159
164
|
| 'ach_transfer_return'
|
|
160
165
|
| 'card_dispute_acceptance'
|
|
161
166
|
| 'card_refund'
|
|
162
167
|
| 'card_settlement'
|
|
168
|
+
| 'card_revenue_payment'
|
|
163
169
|
| 'check_deposit_acceptance'
|
|
164
170
|
| 'check_deposit_return'
|
|
165
171
|
| 'check_transfer_intention'
|
|
166
172
|
| 'check_transfer_return'
|
|
167
173
|
| 'check_transfer_rejection'
|
|
168
174
|
| 'check_transfer_stop_payment_request'
|
|
169
|
-
| '
|
|
170
|
-
| 'empyreal_cash_deposit'
|
|
175
|
+
| 'fee_payment'
|
|
171
176
|
| 'inbound_ach_transfer'
|
|
172
177
|
| 'inbound_ach_transfer_return_intention'
|
|
173
178
|
| 'inbound_check'
|
|
@@ -178,14 +183,9 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
178
183
|
| 'inbound_wire_reversal'
|
|
179
184
|
| 'inbound_wire_transfer'
|
|
180
185
|
| 'interest_payment'
|
|
181
|
-
| 'internal_general_ledger_transaction'
|
|
182
186
|
| 'internal_source'
|
|
183
|
-
| 'card_route_refund'
|
|
184
|
-
| 'card_route_settlement'
|
|
185
187
|
| 'real_time_payments_transfer_acknowledgement'
|
|
186
188
|
| 'sample_funds'
|
|
187
|
-
| 'wire_drawdown_payment_intention'
|
|
188
|
-
| 'wire_drawdown_payment_rejection'
|
|
189
189
|
| 'wire_transfer_intention'
|
|
190
190
|
| 'wire_transfer_rejection'
|
|
191
191
|
| 'other';
|
|
@@ -221,15 +221,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
221
221
|
*/
|
|
222
222
|
check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
|
|
223
223
|
/**
|
|
224
|
-
* A
|
|
225
|
-
*
|
|
226
|
-
*/
|
|
227
|
-
dispute_resolution: Source.DisputeResolution | null;
|
|
228
|
-
/**
|
|
229
|
-
* A Empyreal Cash Deposit object. This field will be present in the JSON response
|
|
230
|
-
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
224
|
+
* A Fee Payment object. This field will be present in the JSON response if and
|
|
225
|
+
* only if `category` is equal to `fee_payment`.
|
|
231
226
|
*/
|
|
232
|
-
|
|
227
|
+
fee_payment: Source.FeePayment | null;
|
|
233
228
|
/**
|
|
234
229
|
* A Inbound ACH Transfer object. This field will be present in the JSON response
|
|
235
230
|
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
@@ -283,23 +278,17 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
283
278
|
* only if `category` is equal to `internal_source`.
|
|
284
279
|
*/
|
|
285
280
|
internal_source: Source.InternalSource | null;
|
|
281
|
+
/**
|
|
282
|
+
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
283
|
+
* in the JSON response if and only if `category` is equal to
|
|
284
|
+
* `real_time_payments_transfer_acknowledgement`.
|
|
285
|
+
*/
|
|
286
|
+
real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
|
|
286
287
|
/**
|
|
287
288
|
* A Sample Funds object. This field will be present in the JSON response if and
|
|
288
289
|
* only if `category` is equal to `sample_funds`.
|
|
289
290
|
*/
|
|
290
291
|
sample_funds: Source.SampleFunds | null;
|
|
291
|
-
/**
|
|
292
|
-
* A Wire Drawdown Payment Intention object. This field will be present in the JSON
|
|
293
|
-
* response if and only if `category` is equal to
|
|
294
|
-
* `wire_drawdown_payment_intention`.
|
|
295
|
-
*/
|
|
296
|
-
wire_drawdown_payment_intention: Source.WireDrawdownPaymentIntention | null;
|
|
297
|
-
/**
|
|
298
|
-
* A Wire Drawdown Payment Rejection object. This field will be present in the JSON
|
|
299
|
-
* response if and only if `category` is equal to
|
|
300
|
-
* `wire_drawdown_payment_rejection`.
|
|
301
|
-
*/
|
|
302
|
-
wire_drawdown_payment_rejection: Source.WireDrawdownPaymentRejection | null;
|
|
303
292
|
/**
|
|
304
293
|
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
305
294
|
* response if and only if `category` is equal to `wire_transfer_intention`.
|
|
@@ -312,6 +301,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
312
301
|
wire_transfer_rejection: Source.WireTransferRejection | null;
|
|
313
302
|
}
|
|
314
303
|
namespace Source {
|
|
304
|
+
/**
|
|
305
|
+
* A Account Transfer Intention object. This field will be present in the JSON
|
|
306
|
+
* response if and only if `category` is equal to `account_transfer_intention`.
|
|
307
|
+
*/
|
|
315
308
|
interface AccountTransferIntention {
|
|
316
309
|
/**
|
|
317
310
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
@@ -340,28 +333,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
340
333
|
*/
|
|
341
334
|
transfer_id: string;
|
|
342
335
|
}
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
*/
|
|
348
|
-
amount: number;
|
|
349
|
-
/**
|
|
350
|
-
* Why the transfer was returned.
|
|
351
|
-
*/
|
|
352
|
-
return_reason_code: string;
|
|
353
|
-
}
|
|
354
|
-
interface ACHCheckConversion {
|
|
355
|
-
/**
|
|
356
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
357
|
-
* example, this is cents.
|
|
358
|
-
*/
|
|
359
|
-
amount: number;
|
|
360
|
-
/**
|
|
361
|
-
* The identifier of the File containing an image of the returned check.
|
|
362
|
-
*/
|
|
363
|
-
file_id: string;
|
|
364
|
-
}
|
|
336
|
+
/**
|
|
337
|
+
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
338
|
+
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
339
|
+
*/
|
|
365
340
|
interface ACHTransferIntention {
|
|
366
341
|
account_number: string;
|
|
367
342
|
/**
|
|
@@ -376,18 +351,30 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
376
351
|
*/
|
|
377
352
|
transfer_id: string;
|
|
378
353
|
}
|
|
354
|
+
/**
|
|
355
|
+
* A ACH Transfer Rejection object. This field will be present in the JSON response
|
|
356
|
+
* if and only if `category` is equal to `ach_transfer_rejection`.
|
|
357
|
+
*/
|
|
379
358
|
interface ACHTransferRejection {
|
|
380
359
|
/**
|
|
381
360
|
* The identifier of the ACH Transfer that led to this Transaction.
|
|
382
361
|
*/
|
|
383
362
|
transfer_id: string;
|
|
384
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* A ACH Transfer Return object. This field will be present in the JSON response if
|
|
366
|
+
* and only if `category` is equal to `ach_transfer_return`.
|
|
367
|
+
*/
|
|
385
368
|
interface ACHTransferReturn {
|
|
386
369
|
/**
|
|
387
370
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
388
371
|
* the transfer was created.
|
|
389
372
|
*/
|
|
390
373
|
created_at: string;
|
|
374
|
+
/**
|
|
375
|
+
* The three character ACH return code, in the range R01 to R85.
|
|
376
|
+
*/
|
|
377
|
+
raw_return_reason_code: string;
|
|
391
378
|
/**
|
|
392
379
|
* Why the ACH Transfer was returned.
|
|
393
380
|
*/
|
|
@@ -411,10 +398,58 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
411
398
|
| 'file_record_edit_criteria'
|
|
412
399
|
| 'enr_invalid_individual_name'
|
|
413
400
|
| 'returned_per_odfi_request'
|
|
414
|
-
| 'addenda_error'
|
|
415
401
|
| 'limited_participation_dfi'
|
|
416
402
|
| 'incorrectly_coded_outbound_international_payment'
|
|
417
|
-
| 'other'
|
|
403
|
+
| 'other'
|
|
404
|
+
| 'account_sold_to_another_dfi'
|
|
405
|
+
| 'addenda_error'
|
|
406
|
+
| 'beneficiary_or_account_holder_deceased'
|
|
407
|
+
| 'customer_advised_not_within_authorization_terms'
|
|
408
|
+
| 'corrected_return'
|
|
409
|
+
| 'duplicate_entry'
|
|
410
|
+
| 'duplicate_return'
|
|
411
|
+
| 'enr_duplicate_enrollment'
|
|
412
|
+
| 'enr_invalid_dfi_account_number'
|
|
413
|
+
| 'enr_invalid_individual_id_number'
|
|
414
|
+
| 'enr_invalid_representative_payee_indicator'
|
|
415
|
+
| 'enr_invalid_transaction_code'
|
|
416
|
+
| 'enr_return_of_enr_entry'
|
|
417
|
+
| 'enr_routing_number_check_digit_error'
|
|
418
|
+
| 'entry_not_processed_by_gateway'
|
|
419
|
+
| 'field_error'
|
|
420
|
+
| 'foreign_receiving_dfi_unable_to_settle'
|
|
421
|
+
| 'iat_entry_coding_error'
|
|
422
|
+
| 'improper_effective_entry_date'
|
|
423
|
+
| 'improper_source_document_source_document_presented'
|
|
424
|
+
| 'invalid_company_id'
|
|
425
|
+
| 'invalid_foreign_receiving_dfi_identification'
|
|
426
|
+
| 'invalid_individual_id_number'
|
|
427
|
+
| 'item_and_rck_entry_presented_for_payment'
|
|
428
|
+
| 'item_related_to_rck_entry_is_ineligible'
|
|
429
|
+
| 'mandatory_field_error'
|
|
430
|
+
| 'misrouted_dishonored_return'
|
|
431
|
+
| 'misrouted_return'
|
|
432
|
+
| 'no_errors_found'
|
|
433
|
+
| 'non_acceptance_of_r62_dishonored_return'
|
|
434
|
+
| 'non_participant_in_iat_program'
|
|
435
|
+
| 'permissible_return_entry'
|
|
436
|
+
| 'permissible_return_entry_not_accepted'
|
|
437
|
+
| 'rdfi_non_settlement'
|
|
438
|
+
| 'rdfi_participant_in_check_truncation_program'
|
|
439
|
+
| 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
|
|
440
|
+
| 'return_not_a_duplicate'
|
|
441
|
+
| 'return_of_erroneous_or_reversing_debit'
|
|
442
|
+
| 'return_of_improper_credit_entry'
|
|
443
|
+
| 'return_of_improper_debit_entry'
|
|
444
|
+
| 'return_of_xck_entry'
|
|
445
|
+
| 'source_document_presented_for_payment'
|
|
446
|
+
| 'state_law_affecting_rck_acceptance'
|
|
447
|
+
| 'stop_payment_on_item_related_to_rck_entry'
|
|
448
|
+
| 'stop_payment_on_source_document'
|
|
449
|
+
| 'timely_original_return'
|
|
450
|
+
| 'trace_number_error'
|
|
451
|
+
| 'untimely_dishonored_return'
|
|
452
|
+
| 'untimely_return';
|
|
418
453
|
/**
|
|
419
454
|
* The identifier of the Tranasaction associated with this return.
|
|
420
455
|
*/
|
|
@@ -424,6 +459,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
424
459
|
*/
|
|
425
460
|
transfer_id: string;
|
|
426
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* A Card Dispute Acceptance object. This field will be present in the JSON
|
|
464
|
+
* response if and only if `category` is equal to `card_dispute_acceptance`.
|
|
465
|
+
*/
|
|
427
466
|
interface CardDisputeAcceptance {
|
|
428
467
|
/**
|
|
429
468
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -438,44 +477,106 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
438
477
|
* The identifier of the Transaction that was created to return the disputed funds
|
|
439
478
|
* to your account.
|
|
440
479
|
*/
|
|
441
|
-
transaction_id: string
|
|
480
|
+
transaction_id: string;
|
|
442
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* A Card Refund object. This field will be present in the JSON response if and
|
|
484
|
+
* only if `category` is equal to `card_refund`.
|
|
485
|
+
*/
|
|
443
486
|
interface CardRefund {
|
|
444
487
|
/**
|
|
445
488
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
446
489
|
* for example, this is cents.
|
|
447
490
|
*/
|
|
448
491
|
amount: number;
|
|
449
|
-
/**
|
|
450
|
-
* The identifier for the Transaction this refunds, if any.
|
|
451
|
-
*/
|
|
452
|
-
card_settlement_transaction_id: string | null;
|
|
453
492
|
/**
|
|
454
493
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
455
494
|
* transaction's currency.
|
|
456
495
|
*/
|
|
457
496
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
497
|
+
/**
|
|
498
|
+
* The Card Refund identifier.
|
|
499
|
+
*/
|
|
500
|
+
id: string;
|
|
501
|
+
/**
|
|
502
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
503
|
+
* is transacting with.
|
|
504
|
+
*/
|
|
505
|
+
merchant_acceptor_id: string | null;
|
|
506
|
+
/**
|
|
507
|
+
* The 4-digit MCC describing the merchant's business.
|
|
508
|
+
*/
|
|
509
|
+
merchant_category_code: string;
|
|
510
|
+
/**
|
|
511
|
+
* The city the merchant resides in.
|
|
512
|
+
*/
|
|
513
|
+
merchant_city: string | null;
|
|
514
|
+
/**
|
|
515
|
+
* The country the merchant resides in.
|
|
516
|
+
*/
|
|
517
|
+
merchant_country: string;
|
|
518
|
+
/**
|
|
519
|
+
* The name of the merchant.
|
|
520
|
+
*/
|
|
521
|
+
merchant_name: string | null;
|
|
522
|
+
/**
|
|
523
|
+
* The state the merchant resides in.
|
|
524
|
+
*/
|
|
525
|
+
merchant_state: string | null;
|
|
458
526
|
/**
|
|
459
527
|
* A constant representing the object's type. For this resource it will always be
|
|
460
528
|
* `card_refund`.
|
|
461
529
|
*/
|
|
462
530
|
type: 'card_refund';
|
|
463
531
|
}
|
|
532
|
+
/**
|
|
533
|
+
* A Card Settlement object. This field will be present in the JSON response if and
|
|
534
|
+
* only if `category` is equal to `card_settlement`.
|
|
535
|
+
*/
|
|
464
536
|
interface CardSettlement {
|
|
465
537
|
/**
|
|
466
538
|
* The amount in the minor unit of the transaction's settlement currency. For
|
|
467
539
|
* dollars, for example, this is cents.
|
|
468
540
|
*/
|
|
469
541
|
amount: number;
|
|
542
|
+
/**
|
|
543
|
+
* The Card Authorization that was created prior to this Card Settlement, if on
|
|
544
|
+
* exists.
|
|
545
|
+
*/
|
|
546
|
+
card_authorization: string | null;
|
|
470
547
|
/**
|
|
471
548
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
472
549
|
* transaction's settlement currency.
|
|
473
550
|
*/
|
|
474
551
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
552
|
+
/**
|
|
553
|
+
* The Card Settlement identifier.
|
|
554
|
+
*/
|
|
555
|
+
id: string;
|
|
556
|
+
/**
|
|
557
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
558
|
+
* is transacting with.
|
|
559
|
+
*/
|
|
560
|
+
merchant_acceptor_id: string | null;
|
|
561
|
+
/**
|
|
562
|
+
* The 4-digit MCC describing the merchant's business.
|
|
563
|
+
*/
|
|
475
564
|
merchant_category_code: string;
|
|
565
|
+
/**
|
|
566
|
+
* The city the merchant resides in.
|
|
567
|
+
*/
|
|
476
568
|
merchant_city: string | null;
|
|
569
|
+
/**
|
|
570
|
+
* The country the merchant resides in.
|
|
571
|
+
*/
|
|
477
572
|
merchant_country: string;
|
|
573
|
+
/**
|
|
574
|
+
* The name of the merchant.
|
|
575
|
+
*/
|
|
478
576
|
merchant_name: string | null;
|
|
577
|
+
/**
|
|
578
|
+
* The state the merchant resides in.
|
|
579
|
+
*/
|
|
479
580
|
merchant_state: string | null;
|
|
480
581
|
/**
|
|
481
582
|
* The identifier of the Pending Transaction associated with this Transaction.
|
|
@@ -496,6 +597,38 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
496
597
|
*/
|
|
497
598
|
type: 'card_settlement';
|
|
498
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
602
|
+
* if and only if `category` is equal to `card_revenue_payment`.
|
|
603
|
+
*/
|
|
604
|
+
interface CardRevenuePayment {
|
|
605
|
+
/**
|
|
606
|
+
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
607
|
+
* example, this is cents.
|
|
608
|
+
*/
|
|
609
|
+
amount: number;
|
|
610
|
+
/**
|
|
611
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
612
|
+
* currency.
|
|
613
|
+
*/
|
|
614
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
615
|
+
/**
|
|
616
|
+
* The end of the period for which this transaction paid interest.
|
|
617
|
+
*/
|
|
618
|
+
period_end: string;
|
|
619
|
+
/**
|
|
620
|
+
* The start of the period for which this transaction paid interest.
|
|
621
|
+
*/
|
|
622
|
+
period_start: string;
|
|
623
|
+
/**
|
|
624
|
+
* The account the card belonged to.
|
|
625
|
+
*/
|
|
626
|
+
transacted_on_account_id: string | null;
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* A Check Deposit Acceptance object. This field will be present in the JSON
|
|
630
|
+
* response if and only if `category` is equal to `check_deposit_acceptance`.
|
|
631
|
+
*/
|
|
499
632
|
interface CheckDepositAcceptance {
|
|
500
633
|
/**
|
|
501
634
|
* The account number printed on the check.
|
|
@@ -530,6 +663,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
530
663
|
*/
|
|
531
664
|
serial_number: string | null;
|
|
532
665
|
}
|
|
666
|
+
/**
|
|
667
|
+
* A Check Deposit Return object. This field will be present in the JSON response
|
|
668
|
+
* if and only if `category` is equal to `check_deposit_return`.
|
|
669
|
+
*/
|
|
533
670
|
interface CheckDepositReturn {
|
|
534
671
|
/**
|
|
535
672
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -556,7 +693,8 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
556
693
|
| 'stop_payment'
|
|
557
694
|
| 'unknown_reason'
|
|
558
695
|
| 'unmatched_details'
|
|
559
|
-
| 'unreadable_image'
|
|
696
|
+
| 'unreadable_image'
|
|
697
|
+
| 'endorsement_irregular';
|
|
560
698
|
/**
|
|
561
699
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
562
700
|
* the check deposit was returned.
|
|
@@ -568,6 +706,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
568
706
|
*/
|
|
569
707
|
transaction_id: string;
|
|
570
708
|
}
|
|
709
|
+
/**
|
|
710
|
+
* A Check Transfer Intention object. This field will be present in the JSON
|
|
711
|
+
* response if and only if `category` is equal to `check_transfer_intention`.
|
|
712
|
+
*/
|
|
571
713
|
interface CheckTransferIntention {
|
|
572
714
|
/**
|
|
573
715
|
* The city of the check's destination.
|
|
@@ -607,22 +749,49 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
607
749
|
*/
|
|
608
750
|
transfer_id: string;
|
|
609
751
|
}
|
|
752
|
+
/**
|
|
753
|
+
* A Check Transfer Return object. This field will be present in the JSON response
|
|
754
|
+
* if and only if `category` is equal to `check_transfer_return`.
|
|
755
|
+
*/
|
|
610
756
|
interface CheckTransferReturn {
|
|
611
757
|
/**
|
|
612
758
|
* If available, a document with additional information about the return.
|
|
613
759
|
*/
|
|
614
760
|
file_id: string | null;
|
|
761
|
+
/**
|
|
762
|
+
* The reason why the check was returned.
|
|
763
|
+
*/
|
|
764
|
+
reason: 'mail_delivery_failure' | 'refused_by_recipient' | 'returned_not_authorized';
|
|
765
|
+
/**
|
|
766
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
767
|
+
* the check was returned.
|
|
768
|
+
*/
|
|
769
|
+
returned_at: string;
|
|
770
|
+
/**
|
|
771
|
+
* The identifier of the Transaction that was created to credit you for the
|
|
772
|
+
* returned check.
|
|
773
|
+
*/
|
|
774
|
+
transaction_id: string | null;
|
|
615
775
|
/**
|
|
616
776
|
* The identifier of the returned Check Transfer.
|
|
617
777
|
*/
|
|
618
778
|
transfer_id: string;
|
|
619
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
* A Check Transfer Rejection object. This field will be present in the JSON
|
|
782
|
+
* response if and only if `category` is equal to `check_transfer_rejection`.
|
|
783
|
+
*/
|
|
620
784
|
interface CheckTransferRejection {
|
|
621
785
|
/**
|
|
622
786
|
* The identifier of the Check Transfer that led to this Transaction.
|
|
623
787
|
*/
|
|
624
788
|
transfer_id: string;
|
|
625
789
|
}
|
|
790
|
+
/**
|
|
791
|
+
* A Check Transfer Stop Payment Request object. This field will be present in the
|
|
792
|
+
* JSON response if and only if `category` is equal to
|
|
793
|
+
* `check_transfer_stop_payment_request`.
|
|
794
|
+
*/
|
|
626
795
|
interface CheckTransferStopPaymentRequest {
|
|
627
796
|
/**
|
|
628
797
|
* The time the stop-payment was requested.
|
|
@@ -642,31 +811,26 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
642
811
|
*/
|
|
643
812
|
type: 'check_transfer_stop_payment_request';
|
|
644
813
|
}
|
|
645
|
-
|
|
814
|
+
/**
|
|
815
|
+
* A Fee Payment object. This field will be present in the JSON response if and
|
|
816
|
+
* only if `category` is equal to `fee_payment`.
|
|
817
|
+
*/
|
|
818
|
+
interface FeePayment {
|
|
646
819
|
/**
|
|
647
820
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
648
821
|
* example, this is cents.
|
|
649
822
|
*/
|
|
650
823
|
amount: number;
|
|
651
824
|
/**
|
|
652
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
653
|
-
*
|
|
825
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
826
|
+
* currency.
|
|
654
827
|
*/
|
|
655
828
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
656
|
-
/**
|
|
657
|
-
* The identifier of the Transaction that was disputed.
|
|
658
|
-
*/
|
|
659
|
-
disputed_transaction_id: string;
|
|
660
|
-
}
|
|
661
|
-
interface EmpyrealCashDeposit {
|
|
662
|
-
/**
|
|
663
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
664
|
-
* example, this is cents.
|
|
665
|
-
*/
|
|
666
|
-
amount: number;
|
|
667
|
-
bag_id: string;
|
|
668
|
-
deposit_date: string;
|
|
669
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
* A Inbound ACH Transfer object. This field will be present in the JSON response
|
|
832
|
+
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
833
|
+
*/
|
|
670
834
|
interface InboundACHTransfer {
|
|
671
835
|
/**
|
|
672
836
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -682,6 +846,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
682
846
|
receiver_name: string | null;
|
|
683
847
|
trace_number: string;
|
|
684
848
|
}
|
|
849
|
+
/**
|
|
850
|
+
* A Inbound Check object. This field will be present in the JSON response if and
|
|
851
|
+
* only if `category` is equal to `inbound_check`.
|
|
852
|
+
*/
|
|
685
853
|
interface InboundCheck {
|
|
686
854
|
/**
|
|
687
855
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -697,6 +865,11 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
697
865
|
*/
|
|
698
866
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
699
867
|
}
|
|
868
|
+
/**
|
|
869
|
+
* A Inbound International ACH Transfer object. This field will be present in the
|
|
870
|
+
* JSON response if and only if `category` is equal to
|
|
871
|
+
* `inbound_international_ach_transfer`.
|
|
872
|
+
*/
|
|
700
873
|
interface InboundInternationalACHTransfer {
|
|
701
874
|
/**
|
|
702
875
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -739,6 +912,11 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
739
912
|
receiving_depository_financial_institution_name: string;
|
|
740
913
|
trace_number: string;
|
|
741
914
|
}
|
|
915
|
+
/**
|
|
916
|
+
* A Inbound Real Time Payments Transfer Confirmation object. This field will be
|
|
917
|
+
* present in the JSON response if and only if `category` is equal to
|
|
918
|
+
* `inbound_real_time_payments_transfer_confirmation`.
|
|
919
|
+
*/
|
|
742
920
|
interface InboundRealTimePaymentsTransferConfirmation {
|
|
743
921
|
/**
|
|
744
922
|
* The amount in the minor unit of the transfer's currency. For dollars, for
|
|
@@ -775,6 +953,11 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
775
953
|
*/
|
|
776
954
|
transaction_identification: string;
|
|
777
955
|
}
|
|
956
|
+
/**
|
|
957
|
+
* A Inbound Wire Drawdown Payment Reversal object. This field will be present in
|
|
958
|
+
* the JSON response if and only if `category` is equal to
|
|
959
|
+
* `inbound_wire_drawdown_payment_reversal`.
|
|
960
|
+
*/
|
|
778
961
|
interface InboundWireDrawdownPaymentReversal {
|
|
779
962
|
/**
|
|
780
963
|
* The amount that was reversed.
|
|
@@ -817,6 +1000,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
817
1000
|
*/
|
|
818
1001
|
previous_message_input_source: string;
|
|
819
1002
|
}
|
|
1003
|
+
/**
|
|
1004
|
+
* A Inbound Wire Drawdown Payment object. This field will be present in the JSON
|
|
1005
|
+
* response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
|
|
1006
|
+
*/
|
|
820
1007
|
interface InboundWireDrawdownPayment {
|
|
821
1008
|
/**
|
|
822
1009
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -836,11 +1023,20 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
836
1023
|
originator_name: string | null;
|
|
837
1024
|
originator_to_beneficiary_information: string | null;
|
|
838
1025
|
}
|
|
1026
|
+
/**
|
|
1027
|
+
* A Inbound Wire Reversal object. This field will be present in the JSON response
|
|
1028
|
+
* if and only if `category` is equal to `inbound_wire_reversal`.
|
|
1029
|
+
*/
|
|
839
1030
|
interface InboundWireReversal {
|
|
840
1031
|
/**
|
|
841
1032
|
* The amount that was reversed.
|
|
842
1033
|
*/
|
|
843
1034
|
amount: number;
|
|
1035
|
+
/**
|
|
1036
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
1037
|
+
* the reversal was created.
|
|
1038
|
+
*/
|
|
1039
|
+
created_at: string;
|
|
844
1040
|
/**
|
|
845
1041
|
* The description on the reversal message from Fedwire.
|
|
846
1042
|
*/
|
|
@@ -886,7 +1082,19 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
886
1082
|
* institution.
|
|
887
1083
|
*/
|
|
888
1084
|
receiver_financial_institution_information: string | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* The ID for the Transaction associated with the transfer reversal.
|
|
1087
|
+
*/
|
|
1088
|
+
transaction_id: string | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* The ID for the Wire Transfer that is being reversed.
|
|
1091
|
+
*/
|
|
1092
|
+
wire_transfer_id: string;
|
|
889
1093
|
}
|
|
1094
|
+
/**
|
|
1095
|
+
* A Inbound Wire Transfer object. This field will be present in the JSON response
|
|
1096
|
+
* if and only if `category` is equal to `inbound_wire_transfer`.
|
|
1097
|
+
*/
|
|
890
1098
|
interface InboundWireTransfer {
|
|
891
1099
|
/**
|
|
892
1100
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -910,6 +1118,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
910
1118
|
originator_to_beneficiary_information_line3: string | null;
|
|
911
1119
|
originator_to_beneficiary_information_line4: string | null;
|
|
912
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
* A Interest Payment object. This field will be present in the JSON response if
|
|
1123
|
+
* and only if `category` is equal to `interest_payment`.
|
|
1124
|
+
*/
|
|
913
1125
|
interface InterestPayment {
|
|
914
1126
|
/**
|
|
915
1127
|
* The account on which the interest was accrued.
|
|
@@ -934,6 +1146,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
934
1146
|
*/
|
|
935
1147
|
period_start: string;
|
|
936
1148
|
}
|
|
1149
|
+
/**
|
|
1150
|
+
* A Internal Source object. This field will be present in the JSON response if and
|
|
1151
|
+
* only if `category` is equal to `internal_source`.
|
|
1152
|
+
*/
|
|
937
1153
|
interface InternalSource {
|
|
938
1154
|
/**
|
|
939
1155
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -946,71 +1162,60 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
946
1162
|
*/
|
|
947
1163
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
948
1164
|
reason:
|
|
1165
|
+
| 'account_closure'
|
|
949
1166
|
| 'bank_migration'
|
|
950
1167
|
| 'cashback'
|
|
1168
|
+
| 'collection_receivable'
|
|
951
1169
|
| 'empyreal_adjustment'
|
|
952
1170
|
| 'error'
|
|
953
1171
|
| 'error_correction'
|
|
954
1172
|
| 'fees'
|
|
955
1173
|
| 'interest'
|
|
1174
|
+
| 'negative_balance_forgiveness'
|
|
956
1175
|
| 'sample_funds'
|
|
957
1176
|
| 'sample_funds_return';
|
|
958
1177
|
}
|
|
959
|
-
|
|
1178
|
+
/**
|
|
1179
|
+
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
1180
|
+
* in the JSON response if and only if `category` is equal to
|
|
1181
|
+
* `real_time_payments_transfer_acknowledgement`.
|
|
1182
|
+
*/
|
|
1183
|
+
interface RealTimePaymentsTransferAcknowledgement {
|
|
960
1184
|
/**
|
|
961
|
-
* The
|
|
962
|
-
* example, this is cents.
|
|
1185
|
+
* The transfer amount in USD cents.
|
|
963
1186
|
*/
|
|
964
1187
|
amount: number;
|
|
965
1188
|
/**
|
|
966
|
-
* The
|
|
967
|
-
* currency.
|
|
1189
|
+
* The destination account number.
|
|
968
1190
|
*/
|
|
969
|
-
|
|
970
|
-
merchant_acceptor_id: string;
|
|
971
|
-
merchant_category_code: string | null;
|
|
972
|
-
merchant_city: string | null;
|
|
973
|
-
merchant_country: string;
|
|
974
|
-
merchant_descriptor: string;
|
|
975
|
-
merchant_state: string | null;
|
|
976
|
-
}
|
|
977
|
-
interface CardRouteSettlement {
|
|
1191
|
+
destination_account_number: string;
|
|
978
1192
|
/**
|
|
979
|
-
* The
|
|
980
|
-
* for example, this is cents.
|
|
1193
|
+
* The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
981
1194
|
*/
|
|
982
|
-
|
|
1195
|
+
destination_routing_number: string;
|
|
983
1196
|
/**
|
|
984
|
-
*
|
|
985
|
-
* currency.
|
|
1197
|
+
* Unstructured information that will show on the recipient's bank statement.
|
|
986
1198
|
*/
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
merchant_descriptor: string;
|
|
993
|
-
merchant_state: string | null;
|
|
1199
|
+
remittance_information: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* The identifier of the Real Time Payments Transfer that led to this Transaction.
|
|
1202
|
+
*/
|
|
1203
|
+
transfer_id: string;
|
|
994
1204
|
}
|
|
1205
|
+
/**
|
|
1206
|
+
* A Sample Funds object. This field will be present in the JSON response if and
|
|
1207
|
+
* only if `category` is equal to `sample_funds`.
|
|
1208
|
+
*/
|
|
995
1209
|
interface SampleFunds {
|
|
996
1210
|
/**
|
|
997
1211
|
* Where the sample funds came from.
|
|
998
1212
|
*/
|
|
999
1213
|
originator: string;
|
|
1000
1214
|
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
*/
|
|
1006
|
-
amount: number;
|
|
1007
|
-
message_to_recipient: string;
|
|
1008
|
-
routing_number: string;
|
|
1009
|
-
transfer_id: string;
|
|
1010
|
-
}
|
|
1011
|
-
interface WireDrawdownPaymentRejection {
|
|
1012
|
-
transfer_id: string;
|
|
1013
|
-
}
|
|
1215
|
+
/**
|
|
1216
|
+
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
1217
|
+
* response if and only if `category` is equal to `wire_transfer_intention`.
|
|
1218
|
+
*/
|
|
1014
1219
|
interface WireTransferIntention {
|
|
1015
1220
|
/**
|
|
1016
1221
|
* The destination account number.
|
|
@@ -1030,11 +1235,21 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1030
1235
|
routing_number: string;
|
|
1031
1236
|
transfer_id: string;
|
|
1032
1237
|
}
|
|
1238
|
+
/**
|
|
1239
|
+
* A Wire Transfer Rejection object. This field will be present in the JSON
|
|
1240
|
+
* response if and only if `category` is equal to `wire_transfer_rejection`.
|
|
1241
|
+
*/
|
|
1033
1242
|
interface WireTransferRejection {
|
|
1034
1243
|
transfer_id: string;
|
|
1035
1244
|
}
|
|
1036
1245
|
}
|
|
1037
1246
|
}
|
|
1247
|
+
/**
|
|
1248
|
+
* If the Real Time Payments Transfer attempt fails, this will contain the
|
|
1249
|
+
* resulting [Declined Transaction](#declined-transactions) object. The Declined
|
|
1250
|
+
* Transaction's `source` will be of
|
|
1251
|
+
* `category: inbound_real_time_payments_transfer_decline`.
|
|
1252
|
+
*/
|
|
1038
1253
|
interface DeclinedTransaction {
|
|
1039
1254
|
/**
|
|
1040
1255
|
* The identifier for the Account the Declined Transaction belongs to.
|
|
@@ -1072,7 +1287,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1072
1287
|
/**
|
|
1073
1288
|
* The type of the route this Declined Transaction came through.
|
|
1074
1289
|
*/
|
|
1075
|
-
route_type:
|
|
1290
|
+
route_type: 'account_number' | 'card' | null;
|
|
1076
1291
|
/**
|
|
1077
1292
|
* This is an object giving more details on the network-level event that caused the
|
|
1078
1293
|
* Declined Transaction. For example, for a card transaction this lists the
|
|
@@ -1088,6 +1303,13 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1088
1303
|
type: 'declined_transaction';
|
|
1089
1304
|
}
|
|
1090
1305
|
namespace DeclinedTransaction {
|
|
1306
|
+
/**
|
|
1307
|
+
* This is an object giving more details on the network-level event that caused the
|
|
1308
|
+
* Declined Transaction. For example, for a card transaction this lists the
|
|
1309
|
+
* merchant's industry and location. Note that for backwards compatibility reasons,
|
|
1310
|
+
* additional undocumented keys may appear in this object. These should be treated
|
|
1311
|
+
* as deprecated and will be removed in the future.
|
|
1312
|
+
*/
|
|
1091
1313
|
interface Source {
|
|
1092
1314
|
/**
|
|
1093
1315
|
* A ACH Decline object. This field will be present in the JSON response if and
|
|
@@ -1099,11 +1321,6 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1099
1321
|
* only if `category` is equal to `card_decline`.
|
|
1100
1322
|
*/
|
|
1101
1323
|
card_decline: Source.CardDecline | null;
|
|
1102
|
-
/**
|
|
1103
|
-
* A Deprecated Card Decline object. This field will be present in the JSON
|
|
1104
|
-
* response if and only if `category` is equal to `card_route_decline`.
|
|
1105
|
-
*/
|
|
1106
|
-
card_route_decline: Source.CardRouteDecline | null;
|
|
1107
1324
|
/**
|
|
1108
1325
|
* The type of decline that took place. We may add additional possible values for
|
|
1109
1326
|
* this enum over time; your application should be able to handle such additions
|
|
@@ -1115,7 +1332,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1115
1332
|
| 'check_decline'
|
|
1116
1333
|
| 'inbound_real_time_payments_transfer_decline'
|
|
1117
1334
|
| 'international_ach_decline'
|
|
1118
|
-
| '
|
|
1335
|
+
| 'wire_decline'
|
|
1119
1336
|
| 'other';
|
|
1120
1337
|
/**
|
|
1121
1338
|
* A Check Decline object. This field will be present in the JSON response if and
|
|
@@ -1133,8 +1350,17 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1133
1350
|
* response if and only if `category` is equal to `international_ach_decline`.
|
|
1134
1351
|
*/
|
|
1135
1352
|
international_ach_decline: Source.InternationalACHDecline | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* A Wire Decline object. This field will be present in the JSON response if and
|
|
1355
|
+
* only if `category` is equal to `wire_decline`.
|
|
1356
|
+
*/
|
|
1357
|
+
wire_decline: Source.WireDecline | null;
|
|
1136
1358
|
}
|
|
1137
1359
|
namespace Source {
|
|
1360
|
+
/**
|
|
1361
|
+
* A ACH Decline object. This field will be present in the JSON response if and
|
|
1362
|
+
* only if `category` is equal to `ach_decline`.
|
|
1363
|
+
*/
|
|
1138
1364
|
interface ACHDecline {
|
|
1139
1365
|
/**
|
|
1140
1366
|
* The declined amount in the minor unit of the destination account currency. For
|
|
@@ -1155,15 +1381,20 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1155
1381
|
| 'credit_entry_refused_by_receiver'
|
|
1156
1382
|
| 'duplicate_return'
|
|
1157
1383
|
| 'entity_not_active'
|
|
1158
|
-
| 'transaction_not_allowed'
|
|
1159
1384
|
| 'group_locked'
|
|
1160
1385
|
| 'insufficient_funds'
|
|
1386
|
+
| 'misrouted_return'
|
|
1161
1387
|
| 'no_ach_route'
|
|
1162
|
-
| 'originator_request'
|
|
1388
|
+
| 'originator_request'
|
|
1389
|
+
| 'transaction_not_allowed';
|
|
1163
1390
|
receiver_id_number: string | null;
|
|
1164
1391
|
receiver_name: string | null;
|
|
1165
1392
|
trace_number: string;
|
|
1166
1393
|
}
|
|
1394
|
+
/**
|
|
1395
|
+
* A Card Decline object. This field will be present in the JSON response if and
|
|
1396
|
+
* only if `category` is equal to `card_decline`.
|
|
1397
|
+
*/
|
|
1167
1398
|
interface CardDecline {
|
|
1168
1399
|
/**
|
|
1169
1400
|
* The declined amount in the minor unit of the destination account currency. For
|
|
@@ -1229,12 +1460,18 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1229
1460
|
| 'insufficient_funds'
|
|
1230
1461
|
| 'cvv2_mismatch'
|
|
1231
1462
|
| 'transaction_not_allowed'
|
|
1463
|
+
| 'breaches_internal_limit'
|
|
1232
1464
|
| 'breaches_limit'
|
|
1233
1465
|
| 'webhook_declined'
|
|
1234
1466
|
| 'webhook_timed_out'
|
|
1235
|
-
| 'declined_by_stand_in_processing'
|
|
1467
|
+
| 'declined_by_stand_in_processing'
|
|
1468
|
+
| 'invalid_physical_card'
|
|
1469
|
+
| 'missing_original_authorization';
|
|
1236
1470
|
}
|
|
1237
1471
|
namespace CardDecline {
|
|
1472
|
+
/**
|
|
1473
|
+
* Fields specific to the `network`
|
|
1474
|
+
*/
|
|
1238
1475
|
interface NetworkDetails {
|
|
1239
1476
|
/**
|
|
1240
1477
|
* Fields specific to the `visa` network
|
|
@@ -1242,6 +1479,9 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1242
1479
|
visa: NetworkDetails.Visa;
|
|
1243
1480
|
}
|
|
1244
1481
|
namespace NetworkDetails {
|
|
1482
|
+
/**
|
|
1483
|
+
* Fields specific to the `visa` network
|
|
1484
|
+
*/
|
|
1245
1485
|
interface Visa {
|
|
1246
1486
|
/**
|
|
1247
1487
|
* For electronic commerce transactions, this identifies the level of security used
|
|
@@ -1262,10 +1502,14 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1262
1502
|
* The method used to enter the cardholder's primary account number and card
|
|
1263
1503
|
* expiration date
|
|
1264
1504
|
*/
|
|
1265
|
-
point_of_service_entry_mode: Shared.PointOfServiceEntryMode;
|
|
1505
|
+
point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
|
|
1266
1506
|
}
|
|
1267
1507
|
}
|
|
1268
1508
|
}
|
|
1509
|
+
/**
|
|
1510
|
+
* A Check Decline object. This field will be present in the JSON response if and
|
|
1511
|
+
* only if `category` is equal to `check_decline`.
|
|
1512
|
+
*/
|
|
1269
1513
|
interface CheckDecline {
|
|
1270
1514
|
/**
|
|
1271
1515
|
* The declined amount in the minor unit of the destination account currency. For
|
|
@@ -1284,11 +1528,20 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1284
1528
|
| 'group_locked'
|
|
1285
1529
|
| 'insufficient_funds'
|
|
1286
1530
|
| 'unable_to_locate_account'
|
|
1531
|
+
| 'not_our_item'
|
|
1287
1532
|
| 'unable_to_process'
|
|
1288
1533
|
| 'refer_to_image'
|
|
1289
1534
|
| 'stop_payment_requested'
|
|
1290
|
-
| 'returned'
|
|
1535
|
+
| 'returned'
|
|
1536
|
+
| 'duplicate_presentment'
|
|
1537
|
+
| 'not_authorized'
|
|
1538
|
+
| 'altered_or_fictitious';
|
|
1291
1539
|
}
|
|
1540
|
+
/**
|
|
1541
|
+
* A Inbound Real Time Payments Transfer Decline object. This field will be present
|
|
1542
|
+
* in the JSON response if and only if `category` is equal to
|
|
1543
|
+
* `inbound_real_time_payments_transfer_decline`.
|
|
1544
|
+
*/
|
|
1292
1545
|
interface InboundRealTimePaymentsTransferDecline {
|
|
1293
1546
|
/**
|
|
1294
1547
|
* The declined amount in the minor unit of the destination account currency. For
|
|
@@ -1323,6 +1576,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1323
1576
|
reason:
|
|
1324
1577
|
| 'account_number_canceled'
|
|
1325
1578
|
| 'account_number_disabled'
|
|
1579
|
+
| 'account_restricted'
|
|
1326
1580
|
| 'group_locked'
|
|
1327
1581
|
| 'entity_not_active'
|
|
1328
1582
|
| 'real_time_payments_not_enabled';
|
|
@@ -1335,6 +1589,10 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1335
1589
|
*/
|
|
1336
1590
|
transaction_identification: string;
|
|
1337
1591
|
}
|
|
1592
|
+
/**
|
|
1593
|
+
* A International ACH Decline object. This field will be present in the JSON
|
|
1594
|
+
* response if and only if `category` is equal to `international_ach_decline`.
|
|
1595
|
+
*/
|
|
1338
1596
|
interface InternationalACHDecline {
|
|
1339
1597
|
/**
|
|
1340
1598
|
* The declined amount in the minor unit of the destination account currency. For
|
|
@@ -1377,27 +1635,83 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1377
1635
|
receiving_depository_financial_institution_name: string;
|
|
1378
1636
|
trace_number: string;
|
|
1379
1637
|
}
|
|
1380
|
-
|
|
1638
|
+
/**
|
|
1639
|
+
* A Wire Decline object. This field will be present in the JSON response if and
|
|
1640
|
+
* only if `category` is equal to `wire_decline`.
|
|
1641
|
+
*/
|
|
1642
|
+
interface WireDecline {
|
|
1381
1643
|
/**
|
|
1382
1644
|
* The declined amount in the minor unit of the destination account currency. For
|
|
1383
1645
|
* dollars, for example, this is cents.
|
|
1384
1646
|
*/
|
|
1385
1647
|
amount: number;
|
|
1648
|
+
beneficiary_address_line1: string | null;
|
|
1649
|
+
beneficiary_address_line2: string | null;
|
|
1650
|
+
beneficiary_address_line3: string | null;
|
|
1651
|
+
beneficiary_name: string | null;
|
|
1652
|
+
beneficiary_reference: string | null;
|
|
1653
|
+
description: string;
|
|
1654
|
+
input_message_accountability_data: string | null;
|
|
1655
|
+
originator_address_line1: string | null;
|
|
1656
|
+
originator_address_line2: string | null;
|
|
1657
|
+
originator_address_line3: string | null;
|
|
1658
|
+
originator_name: string | null;
|
|
1659
|
+
originator_to_beneficiary_information_line1: string | null;
|
|
1660
|
+
originator_to_beneficiary_information_line2: string | null;
|
|
1661
|
+
originator_to_beneficiary_information_line3: string | null;
|
|
1662
|
+
originator_to_beneficiary_information_line4: string | null;
|
|
1386
1663
|
/**
|
|
1387
|
-
*
|
|
1388
|
-
* account currency.
|
|
1664
|
+
* Why the wire transfer was declined.
|
|
1389
1665
|
*/
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1666
|
+
reason:
|
|
1667
|
+
| 'account_number_canceled'
|
|
1668
|
+
| 'account_number_disabled'
|
|
1669
|
+
| 'entity_not_active'
|
|
1670
|
+
| 'group_locked'
|
|
1671
|
+
| 'no_account_number'
|
|
1672
|
+
| 'transaction_not_allowed';
|
|
1397
1673
|
}
|
|
1398
1674
|
}
|
|
1399
1675
|
}
|
|
1400
1676
|
}
|
|
1677
|
+
export interface RealTimePaymentsTransferCompleteParams {
|
|
1678
|
+
/**
|
|
1679
|
+
* If set, the simulation will reject the transfer.
|
|
1680
|
+
*/
|
|
1681
|
+
rejection?: RealTimePaymentsTransferCompleteParams.Rejection;
|
|
1682
|
+
}
|
|
1683
|
+
export declare namespace RealTimePaymentsTransferCompleteParams {
|
|
1684
|
+
/**
|
|
1685
|
+
* If set, the simulation will reject the transfer.
|
|
1686
|
+
*/
|
|
1687
|
+
interface Rejection {
|
|
1688
|
+
/**
|
|
1689
|
+
* The reason code that the simulated rejection will have.
|
|
1690
|
+
*/
|
|
1691
|
+
reject_reason_code:
|
|
1692
|
+
| 'account_closed'
|
|
1693
|
+
| 'account_blocked'
|
|
1694
|
+
| 'invalid_creditor_account_type'
|
|
1695
|
+
| 'invalid_creditor_account_number'
|
|
1696
|
+
| 'invalid_creditor_financial_institution_identifier'
|
|
1697
|
+
| 'end_customer_deceased'
|
|
1698
|
+
| 'narrative'
|
|
1699
|
+
| 'transaction_forbidden'
|
|
1700
|
+
| 'transaction_type_not_supported'
|
|
1701
|
+
| 'unexpected_amount'
|
|
1702
|
+
| 'amount_exceeds_bank_limits'
|
|
1703
|
+
| 'invalid_creditor_address'
|
|
1704
|
+
| 'unknown_end_customer'
|
|
1705
|
+
| 'invalid_debtor_address'
|
|
1706
|
+
| 'timeout'
|
|
1707
|
+
| 'unsupported_message_for_recipient'
|
|
1708
|
+
| 'recipient_connection_not_available'
|
|
1709
|
+
| 'real_time_payments_suspended'
|
|
1710
|
+
| 'instructed_agent_signed_off'
|
|
1711
|
+
| 'processing_error'
|
|
1712
|
+
| 'other';
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1401
1715
|
export interface RealTimePaymentsTransferCreateInboundParams {
|
|
1402
1716
|
/**
|
|
1403
1717
|
* The identifier of the Account Number the inbound Real Time Payments Transfer is
|
|
@@ -1429,3 +1743,4 @@ export interface RealTimePaymentsTransferCreateInboundParams {
|
|
|
1429
1743
|
*/
|
|
1430
1744
|
request_for_payment_id?: string;
|
|
1431
1745
|
}
|
|
1746
|
+
//# sourceMappingURL=real-time-payments-transfers.d.ts.map
|