increase 0.2.0 → 0.3.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/.github/workflows/publish-npm.yml +28 -0
- package/.github/workflows/release-doctor.yml +20 -0
- package/.github/workflows/release.yml +38 -0
- package/.prettierignore +1 -0
- package/.release-please-manifest.json +3 -0
- package/.stats.yml +1 -1
- package/CHANGELOG.md +84 -0
- package/README.md +16 -1
- package/api.md +88 -0
- package/bin/check-release-environment +25 -0
- package/bin/publish-npm +6 -0
- package/check-version.ts +4 -1
- package/core.ts +56 -14
- 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 +22 -2
- package/dist/cjs/core.d.ts.map +1 -0
- package/dist/cjs/core.js +58 -16
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/error.d.ts +163 -0
- package/dist/cjs/error.d.ts.map +1 -0
- package/dist/cjs/error.js +204 -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 +65 -3
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +104 -3
- 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 +45 -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 +21 -1
- 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 +40 -12
- 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 +53 -23
- 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 +29 -6
- 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 +70 -23
- 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 +95 -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 +39 -5
- 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 +81 -3
- 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 +147 -3
- 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 +34 -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 +161 -14
- 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 +116 -8
- 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 +21 -1
- 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 +181 -6
- 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 +1177 -10
- 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 +1 -0
- package/dist/cjs/resources/entities/index.d.ts.map +1 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +1 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -0
- package/dist/cjs/resources/event-subscriptions.d.ts +9 -4
- 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 +85 -4
- 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 +244 -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 +14 -7
- 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 +53 -10
- 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 +5 -4
- 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 +160 -6
- 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 +106 -1
- package/dist/cjs/resources/real-time-decisions.d.ts.map +1 -0
- package/dist/cjs/resources/real-time-payments-transfers.d.ts +306 -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 +431 -12
- package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/card-disputes.d.ts +5 -4
- 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 +222 -13
- 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 +26 -25
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/index.d.ts +4 -0
- package/dist/cjs/resources/simulations/index.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/interest-payments.d.ts +1364 -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/real-time-payments-transfers.d.ts +511 -12
- 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 +3 -0
- package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -0
- 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 +332 -6
- package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/transactions.d.ts +397 -9
- 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 +13 -8
- 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 +71 -17
- package/dist/cjs/resources/wire-transfers.d.ts.map +1 -0
- package/dist/cjs/resources/wire-transfers.js.map +1 -1
- 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 +24 -26
- 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 +11 -26
- 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 +20 -34
- 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 +25 -24
- 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 +24 -28
- 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 +34 -36
- 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 +58 -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 +83 -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 +68 -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 +21 -29
- 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 +29 -20
- 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 +24 -38
- 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 +27 -32
- 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 +34 -45
- 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 +11 -27
- 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 +11 -26
- 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 -27
- 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 +109 -32
- 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 +13 -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 +14 -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 +11 -27
- 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 +105 -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 +16 -26
- 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 +12 -26
- 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 +17 -15
- 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 +12 -18
- 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 +7 -13
- 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 +115 -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 +10 -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 +18 -20
- 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 +9 -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 +18 -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 +41 -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/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 +25 -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 +24 -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 +15 -32
- 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 +23 -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 +32 -41
- 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 +31 -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 +337 -0
- package/examples/api-error.ts +21 -0
- package/fetch-polyfill.ts +2 -2
- package/index.ts +140 -2
- package/package.json +2 -2
- package/pagination.ts +3 -0
- package/release-please-config.json +64 -0
- package/resources/account-numbers.ts +52 -1
- package/resources/account-statements.ts +23 -2
- package/resources/account-transfers.ts +44 -14
- package/resources/accounts.ts +62 -28
- package/resources/ach-prenotifications.ts +32 -8
- package/resources/ach-transfers.ts +77 -27
- 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 +114 -0
- package/resources/card-disputes.ts +41 -6
- package/resources/card-profiles.ts +91 -4
- package/resources/cards.ts +165 -4
- package/resources/check-deposits.ts +36 -2
- package/resources/check-transfers.ts +184 -17
- package/resources/declined-transactions.ts +136 -9
- package/resources/digital-wallet-tokens.ts +23 -2
- package/resources/documents.ts +183 -7
- package/resources/entities/entities.ts +1343 -14
- package/resources/event-subscriptions.ts +9 -6
- package/resources/events.ts +87 -5
- package/resources/exports.ts +298 -0
- package/resources/external-accounts.ts +14 -9
- package/resources/files.ts +55 -11
- 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 +5 -6
- package/resources/oauth-connections.ts +0 -1
- package/resources/pending-transactions.ts +177 -7
- package/resources/programs.ts +70 -0
- package/resources/real-time-decisions.ts +113 -1
- package/resources/real-time-payments-transfers.ts +373 -0
- package/resources/simulations/ach-transfers.ts +479 -13
- package/resources/simulations/card-disputes.ts +4 -4
- package/resources/simulations/cards.ts +251 -14
- package/resources/simulations/check-transfers.ts +19 -0
- package/resources/simulations/inbound-wire-drawdown-requests.ts +28 -28
- package/resources/simulations/index.ts +3 -0
- package/resources/simulations/interest-payments.ts +1667 -0
- package/resources/simulations/real-time-payments-transfers.ts +568 -13
- package/resources/simulations/simulations.ts +2 -0
- package/resources/simulations/wire-transfers.ts +362 -7
- package/resources/transactions.ts +430 -11
- package/resources/wire-drawdown-requests.ts +14 -11
- package/resources/wire-transfers.ts +80 -21
- package/tests/api-resources/account-numbers.test.ts +21 -23
- package/tests/api-resources/account-statements.test.ts +8 -23
- package/tests/api-resources/account-transfers.test.ts +17 -31
- package/tests/api-resources/accounts.test.ts +22 -21
- package/tests/api-resources/ach-prenotifications.test.ts +21 -25
- package/tests/api-resources/ach-transfers.test.ts +31 -33
- package/tests/api-resources/balance-lookups.test.ts +21 -0
- package/tests/api-resources/bookkeeping-accounts.test.ts +43 -0
- package/tests/api-resources/bookkeeping-entries.test.ts +25 -0
- package/tests/api-resources/bookkeeping-entry-sets.test.ts +31 -0
- package/tests/api-resources/card-disputes.test.ts +18 -26
- package/tests/api-resources/card-profiles.test.ts +26 -17
- package/tests/api-resources/cards.test.ts +21 -35
- package/tests/api-resources/check-deposits.test.ts +24 -29
- package/tests/api-resources/check-transfers.test.ts +31 -42
- package/tests/api-resources/declined-transactions.test.ts +8 -24
- package/tests/api-resources/digital-wallet-tokens.test.ts +8 -23
- package/tests/api-resources/documents.test.ts +12 -24
- package/tests/api-resources/entities/entities.test.ts +106 -29
- package/tests/api-resources/entities/supplemental-documents.test.ts +10 -3
- package/tests/api-resources/event-subscriptions.test.ts +11 -17
- package/tests/api-resources/events.test.ts +8 -24
- package/tests/api-resources/exports.test.ts +68 -0
- package/tests/api-resources/external-accounts.test.ts +13 -23
- package/tests/api-resources/files.test.ts +9 -24
- 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 +14 -12
- package/tests/api-resources/oauth-connections.test.ts +3 -6
- package/tests/api-resources/pending-transactions.test.ts +9 -15
- package/tests/api-resources/programs.test.ts +36 -0
- package/tests/api-resources/real-time-decisions.test.ts +4 -10
- package/tests/api-resources/real-time-payments-transfers.test.ts +78 -0
- package/tests/api-resources/routing-numbers.test.ts +7 -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 +15 -14
- package/tests/api-resources/simulations/card-disputes.test.ts +6 -4
- package/tests/api-resources/simulations/card-refunds.test.ts +8 -5
- package/tests/api-resources/simulations/cards.test.ts +15 -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 +38 -25
- package/tests/api-resources/simulations/interest-payments.test.ts +15 -0
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +22 -9
- package/tests/api-resources/simulations/wire-transfers.test.ts +21 -7
- package/tests/api-resources/transactions.test.ts +12 -29
- package/tests/api-resources/wire-drawdown-requests.test.ts +20 -20
- package/tests/api-resources/wire-transfers.test.ts +29 -38
- package/tests/index.test.ts +25 -1
- package/tsconfig.json +2 -0
- package/version.ts +1 -1
|
@@ -56,7 +56,7 @@ export interface Transaction {
|
|
|
56
56
|
/**
|
|
57
57
|
* The type of the route this Transaction came through.
|
|
58
58
|
*/
|
|
59
|
-
route_type:
|
|
59
|
+
route_type: 'account_number' | 'card' | null;
|
|
60
60
|
/**
|
|
61
61
|
* This is an object giving more details on the network-level event that caused the
|
|
62
62
|
* Transaction. Note that for backwards compatibility reasons, additional
|
|
@@ -71,6 +71,12 @@ export interface Transaction {
|
|
|
71
71
|
type: 'transaction';
|
|
72
72
|
}
|
|
73
73
|
export declare namespace Transaction {
|
|
74
|
+
/**
|
|
75
|
+
* This is an object giving more details on the network-level event that caused the
|
|
76
|
+
* Transaction. Note that for backwards compatibility reasons, additional
|
|
77
|
+
* undocumented keys may appear in this object. These should be treated as
|
|
78
|
+
* deprecated and will be removed in the future.
|
|
79
|
+
*/
|
|
74
80
|
interface Source {
|
|
75
81
|
/**
|
|
76
82
|
* A Account Transfer Intention object. This field will be present in the JSON
|
|
@@ -112,6 +118,11 @@ export declare namespace Transaction {
|
|
|
112
118
|
* only if `category` is equal to `card_refund`.
|
|
113
119
|
*/
|
|
114
120
|
card_refund: Source.CardRefund | null;
|
|
121
|
+
/**
|
|
122
|
+
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
123
|
+
* if and only if `category` is equal to `card_revenue_payment`.
|
|
124
|
+
*/
|
|
125
|
+
card_revenue_payment: Source.CardRevenuePayment | null;
|
|
115
126
|
/**
|
|
116
127
|
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
117
128
|
* if and only if `category` is equal to `card_route_refund`.
|
|
@@ -142,6 +153,7 @@ export declare namespace Transaction {
|
|
|
142
153
|
| 'card_dispute_acceptance'
|
|
143
154
|
| 'card_refund'
|
|
144
155
|
| 'card_settlement'
|
|
156
|
+
| 'card_revenue_payment'
|
|
145
157
|
| 'check_deposit_acceptance'
|
|
146
158
|
| 'check_deposit_return'
|
|
147
159
|
| 'check_transfer_intention'
|
|
@@ -150,6 +162,7 @@ export declare namespace Transaction {
|
|
|
150
162
|
| 'check_transfer_stop_payment_request'
|
|
151
163
|
| 'dispute_resolution'
|
|
152
164
|
| 'empyreal_cash_deposit'
|
|
165
|
+
| 'fee_payment'
|
|
153
166
|
| 'inbound_ach_transfer'
|
|
154
167
|
| 'inbound_ach_transfer_return_intention'
|
|
155
168
|
| 'inbound_check'
|
|
@@ -212,6 +225,11 @@ export declare namespace Transaction {
|
|
|
212
225
|
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
213
226
|
*/
|
|
214
227
|
empyreal_cash_deposit: Source.EmpyrealCashDeposit | null;
|
|
228
|
+
/**
|
|
229
|
+
* A Fee Payment object. This field will be present in the JSON response if and
|
|
230
|
+
* only if `category` is equal to `fee_payment`.
|
|
231
|
+
*/
|
|
232
|
+
fee_payment: Source.FeePayment | null;
|
|
215
233
|
/**
|
|
216
234
|
* A Inbound ACH Transfer object. This field will be present in the JSON response
|
|
217
235
|
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
@@ -265,6 +283,12 @@ export declare namespace Transaction {
|
|
|
265
283
|
* only if `category` is equal to `internal_source`.
|
|
266
284
|
*/
|
|
267
285
|
internal_source: Source.InternalSource | null;
|
|
286
|
+
/**
|
|
287
|
+
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
288
|
+
* in the JSON response if and only if `category` is equal to
|
|
289
|
+
* `real_time_payments_transfer_acknowledgement`.
|
|
290
|
+
*/
|
|
291
|
+
real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
|
|
268
292
|
/**
|
|
269
293
|
* A Sample Funds object. This field will be present in the JSON response if and
|
|
270
294
|
* only if `category` is equal to `sample_funds`.
|
|
@@ -294,6 +318,10 @@ export declare namespace Transaction {
|
|
|
294
318
|
wire_transfer_rejection: Source.WireTransferRejection | null;
|
|
295
319
|
}
|
|
296
320
|
namespace Source {
|
|
321
|
+
/**
|
|
322
|
+
* A Account Transfer Intention object. This field will be present in the JSON
|
|
323
|
+
* response if and only if `category` is equal to `account_transfer_intention`.
|
|
324
|
+
*/
|
|
297
325
|
interface AccountTransferIntention {
|
|
298
326
|
/**
|
|
299
327
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
@@ -322,6 +350,10 @@ export declare namespace Transaction {
|
|
|
322
350
|
*/
|
|
323
351
|
transfer_id: string;
|
|
324
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
* A ACH Check Conversion Return object. This field will be present in the JSON
|
|
355
|
+
* response if and only if `category` is equal to `ach_check_conversion_return`.
|
|
356
|
+
*/
|
|
325
357
|
interface ACHCheckConversionReturn {
|
|
326
358
|
/**
|
|
327
359
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -333,6 +365,10 @@ export declare namespace Transaction {
|
|
|
333
365
|
*/
|
|
334
366
|
return_reason_code: string;
|
|
335
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* A ACH Check Conversion object. This field will be present in the JSON response
|
|
370
|
+
* if and only if `category` is equal to `ach_check_conversion`.
|
|
371
|
+
*/
|
|
336
372
|
interface ACHCheckConversion {
|
|
337
373
|
/**
|
|
338
374
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -344,6 +380,10 @@ export declare namespace Transaction {
|
|
|
344
380
|
*/
|
|
345
381
|
file_id: string;
|
|
346
382
|
}
|
|
383
|
+
/**
|
|
384
|
+
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
385
|
+
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
386
|
+
*/
|
|
347
387
|
interface ACHTransferIntention {
|
|
348
388
|
account_number: string;
|
|
349
389
|
/**
|
|
@@ -358,12 +398,20 @@ export declare namespace Transaction {
|
|
|
358
398
|
*/
|
|
359
399
|
transfer_id: string;
|
|
360
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
* A ACH Transfer Rejection object. This field will be present in the JSON response
|
|
403
|
+
* if and only if `category` is equal to `ach_transfer_rejection`.
|
|
404
|
+
*/
|
|
361
405
|
interface ACHTransferRejection {
|
|
362
406
|
/**
|
|
363
407
|
* The identifier of the ACH Transfer that led to this Transaction.
|
|
364
408
|
*/
|
|
365
409
|
transfer_id: string;
|
|
366
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* A ACH Transfer Return object. This field will be present in the JSON response if
|
|
413
|
+
* and only if `category` is equal to `ach_transfer_return`.
|
|
414
|
+
*/
|
|
367
415
|
interface ACHTransferReturn {
|
|
368
416
|
/**
|
|
369
417
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -406,6 +454,10 @@ export declare namespace Transaction {
|
|
|
406
454
|
*/
|
|
407
455
|
transfer_id: string;
|
|
408
456
|
}
|
|
457
|
+
/**
|
|
458
|
+
* A Card Dispute Acceptance object. This field will be present in the JSON
|
|
459
|
+
* response if and only if `category` is equal to `card_dispute_acceptance`.
|
|
460
|
+
*/
|
|
409
461
|
interface CardDisputeAcceptance {
|
|
410
462
|
/**
|
|
411
463
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -420,44 +472,106 @@ export declare namespace Transaction {
|
|
|
420
472
|
* The identifier of the Transaction that was created to return the disputed funds
|
|
421
473
|
* to your account.
|
|
422
474
|
*/
|
|
423
|
-
transaction_id: string
|
|
475
|
+
transaction_id: string;
|
|
424
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* A Card Refund object. This field will be present in the JSON response if and
|
|
479
|
+
* only if `category` is equal to `card_refund`.
|
|
480
|
+
*/
|
|
425
481
|
interface CardRefund {
|
|
426
482
|
/**
|
|
427
483
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
428
484
|
* for example, this is cents.
|
|
429
485
|
*/
|
|
430
486
|
amount: number;
|
|
431
|
-
/**
|
|
432
|
-
* The identifier for the Transaction this refunds, if any.
|
|
433
|
-
*/
|
|
434
|
-
card_settlement_transaction_id: string | null;
|
|
435
487
|
/**
|
|
436
488
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
437
489
|
* transaction's currency.
|
|
438
490
|
*/
|
|
439
491
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
492
|
+
/**
|
|
493
|
+
* The Card Refund identifier.
|
|
494
|
+
*/
|
|
495
|
+
id: string;
|
|
496
|
+
/**
|
|
497
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
498
|
+
* is transacting with.
|
|
499
|
+
*/
|
|
500
|
+
merchant_acceptor_id: string | null;
|
|
501
|
+
/**
|
|
502
|
+
* The 4-digit MCC describing the merchant's business.
|
|
503
|
+
*/
|
|
504
|
+
merchant_category_code: string;
|
|
505
|
+
/**
|
|
506
|
+
* The city the merchant resides in.
|
|
507
|
+
*/
|
|
508
|
+
merchant_city: string | null;
|
|
509
|
+
/**
|
|
510
|
+
* The country the merchant resides in.
|
|
511
|
+
*/
|
|
512
|
+
merchant_country: string;
|
|
513
|
+
/**
|
|
514
|
+
* The name of the merchant.
|
|
515
|
+
*/
|
|
516
|
+
merchant_name: string | null;
|
|
517
|
+
/**
|
|
518
|
+
* The state the merchant resides in.
|
|
519
|
+
*/
|
|
520
|
+
merchant_state: string | null;
|
|
440
521
|
/**
|
|
441
522
|
* A constant representing the object's type. For this resource it will always be
|
|
442
523
|
* `card_refund`.
|
|
443
524
|
*/
|
|
444
525
|
type: 'card_refund';
|
|
445
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* A Card Settlement object. This field will be present in the JSON response if and
|
|
529
|
+
* only if `category` is equal to `card_settlement`.
|
|
530
|
+
*/
|
|
446
531
|
interface CardSettlement {
|
|
447
532
|
/**
|
|
448
533
|
* The amount in the minor unit of the transaction's settlement currency. For
|
|
449
534
|
* dollars, for example, this is cents.
|
|
450
535
|
*/
|
|
451
536
|
amount: number;
|
|
537
|
+
/**
|
|
538
|
+
* The Card Authorization that was created prior to this Card Settlement, if on
|
|
539
|
+
* exists.
|
|
540
|
+
*/
|
|
541
|
+
card_authorization: string | null;
|
|
452
542
|
/**
|
|
453
543
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
454
544
|
* transaction's settlement currency.
|
|
455
545
|
*/
|
|
456
546
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
547
|
+
/**
|
|
548
|
+
* The Card Settlement identifier.
|
|
549
|
+
*/
|
|
550
|
+
id: string;
|
|
551
|
+
/**
|
|
552
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
553
|
+
* is transacting with.
|
|
554
|
+
*/
|
|
555
|
+
merchant_acceptor_id: string | null;
|
|
556
|
+
/**
|
|
557
|
+
* The 4-digit MCC describing the merchant's business.
|
|
558
|
+
*/
|
|
457
559
|
merchant_category_code: string;
|
|
560
|
+
/**
|
|
561
|
+
* The city the merchant resides in.
|
|
562
|
+
*/
|
|
458
563
|
merchant_city: string | null;
|
|
564
|
+
/**
|
|
565
|
+
* The country the merchant resides in.
|
|
566
|
+
*/
|
|
459
567
|
merchant_country: string;
|
|
568
|
+
/**
|
|
569
|
+
* The name of the merchant.
|
|
570
|
+
*/
|
|
460
571
|
merchant_name: string | null;
|
|
572
|
+
/**
|
|
573
|
+
* The state the merchant resides in.
|
|
574
|
+
*/
|
|
461
575
|
merchant_state: string | null;
|
|
462
576
|
/**
|
|
463
577
|
* The identifier of the Pending Transaction associated with this Transaction.
|
|
@@ -478,6 +592,38 @@ export declare namespace Transaction {
|
|
|
478
592
|
*/
|
|
479
593
|
type: 'card_settlement';
|
|
480
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
597
|
+
* if and only if `category` is equal to `card_revenue_payment`.
|
|
598
|
+
*/
|
|
599
|
+
interface CardRevenuePayment {
|
|
600
|
+
/**
|
|
601
|
+
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
602
|
+
* example, this is cents.
|
|
603
|
+
*/
|
|
604
|
+
amount: number;
|
|
605
|
+
/**
|
|
606
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
607
|
+
* currency.
|
|
608
|
+
*/
|
|
609
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
610
|
+
/**
|
|
611
|
+
* The end of the period for which this transaction paid interest.
|
|
612
|
+
*/
|
|
613
|
+
period_end: string;
|
|
614
|
+
/**
|
|
615
|
+
* The start of the period for which this transaction paid interest.
|
|
616
|
+
*/
|
|
617
|
+
period_start: string;
|
|
618
|
+
/**
|
|
619
|
+
* The account the card belonged to.
|
|
620
|
+
*/
|
|
621
|
+
transacted_on_account_id: string | null;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* A Check Deposit Acceptance object. This field will be present in the JSON
|
|
625
|
+
* response if and only if `category` is equal to `check_deposit_acceptance`.
|
|
626
|
+
*/
|
|
481
627
|
interface CheckDepositAcceptance {
|
|
482
628
|
/**
|
|
483
629
|
* The account number printed on the check.
|
|
@@ -512,6 +658,10 @@ export declare namespace Transaction {
|
|
|
512
658
|
*/
|
|
513
659
|
serial_number: string | null;
|
|
514
660
|
}
|
|
661
|
+
/**
|
|
662
|
+
* A Check Deposit Return object. This field will be present in the JSON response
|
|
663
|
+
* if and only if `category` is equal to `check_deposit_return`.
|
|
664
|
+
*/
|
|
515
665
|
interface CheckDepositReturn {
|
|
516
666
|
/**
|
|
517
667
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -550,6 +700,10 @@ export declare namespace Transaction {
|
|
|
550
700
|
*/
|
|
551
701
|
transaction_id: string;
|
|
552
702
|
}
|
|
703
|
+
/**
|
|
704
|
+
* A Check Transfer Intention object. This field will be present in the JSON
|
|
705
|
+
* response if and only if `category` is equal to `check_transfer_intention`.
|
|
706
|
+
*/
|
|
553
707
|
interface CheckTransferIntention {
|
|
554
708
|
/**
|
|
555
709
|
* The city of the check's destination.
|
|
@@ -589,22 +743,49 @@ export declare namespace Transaction {
|
|
|
589
743
|
*/
|
|
590
744
|
transfer_id: string;
|
|
591
745
|
}
|
|
746
|
+
/**
|
|
747
|
+
* A Check Transfer Return object. This field will be present in the JSON response
|
|
748
|
+
* if and only if `category` is equal to `check_transfer_return`.
|
|
749
|
+
*/
|
|
592
750
|
interface CheckTransferReturn {
|
|
593
751
|
/**
|
|
594
752
|
* If available, a document with additional information about the return.
|
|
595
753
|
*/
|
|
596
754
|
file_id: string | null;
|
|
755
|
+
/**
|
|
756
|
+
* The reason why the check was returned.
|
|
757
|
+
*/
|
|
758
|
+
reason: 'mail_delivery_failure' | 'refused_by_recipient' | 'returned_not_authorized';
|
|
759
|
+
/**
|
|
760
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
761
|
+
* the check was returned.
|
|
762
|
+
*/
|
|
763
|
+
returned_at: string;
|
|
764
|
+
/**
|
|
765
|
+
* The identifier of the Transaction that was created to credit you for the
|
|
766
|
+
* returned check.
|
|
767
|
+
*/
|
|
768
|
+
transaction_id: string | null;
|
|
597
769
|
/**
|
|
598
770
|
* The identifier of the returned Check Transfer.
|
|
599
771
|
*/
|
|
600
772
|
transfer_id: string;
|
|
601
773
|
}
|
|
774
|
+
/**
|
|
775
|
+
* A Check Transfer Rejection object. This field will be present in the JSON
|
|
776
|
+
* response if and only if `category` is equal to `check_transfer_rejection`.
|
|
777
|
+
*/
|
|
602
778
|
interface CheckTransferRejection {
|
|
603
779
|
/**
|
|
604
780
|
* The identifier of the Check Transfer that led to this Transaction.
|
|
605
781
|
*/
|
|
606
782
|
transfer_id: string;
|
|
607
783
|
}
|
|
784
|
+
/**
|
|
785
|
+
* A Check Transfer Stop Payment Request object. This field will be present in the
|
|
786
|
+
* JSON response if and only if `category` is equal to
|
|
787
|
+
* `check_transfer_stop_payment_request`.
|
|
788
|
+
*/
|
|
608
789
|
interface CheckTransferStopPaymentRequest {
|
|
609
790
|
/**
|
|
610
791
|
* The time the stop-payment was requested.
|
|
@@ -624,6 +805,10 @@ export declare namespace Transaction {
|
|
|
624
805
|
*/
|
|
625
806
|
type: 'check_transfer_stop_payment_request';
|
|
626
807
|
}
|
|
808
|
+
/**
|
|
809
|
+
* A Dispute Resolution object. This field will be present in the JSON response if
|
|
810
|
+
* and only if `category` is equal to `dispute_resolution`.
|
|
811
|
+
*/
|
|
627
812
|
interface DisputeResolution {
|
|
628
813
|
/**
|
|
629
814
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -640,6 +825,10 @@ export declare namespace Transaction {
|
|
|
640
825
|
*/
|
|
641
826
|
disputed_transaction_id: string;
|
|
642
827
|
}
|
|
828
|
+
/**
|
|
829
|
+
* A Empyreal Cash Deposit object. This field will be present in the JSON response
|
|
830
|
+
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
831
|
+
*/
|
|
643
832
|
interface EmpyrealCashDeposit {
|
|
644
833
|
/**
|
|
645
834
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -649,6 +838,26 @@ export declare namespace Transaction {
|
|
|
649
838
|
bag_id: string;
|
|
650
839
|
deposit_date: string;
|
|
651
840
|
}
|
|
841
|
+
/**
|
|
842
|
+
* A Fee Payment object. This field will be present in the JSON response if and
|
|
843
|
+
* only if `category` is equal to `fee_payment`.
|
|
844
|
+
*/
|
|
845
|
+
interface FeePayment {
|
|
846
|
+
/**
|
|
847
|
+
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
848
|
+
* example, this is cents.
|
|
849
|
+
*/
|
|
850
|
+
amount: number;
|
|
851
|
+
/**
|
|
852
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
853
|
+
* currency.
|
|
854
|
+
*/
|
|
855
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* A Inbound ACH Transfer object. This field will be present in the JSON response
|
|
859
|
+
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
860
|
+
*/
|
|
652
861
|
interface InboundACHTransfer {
|
|
653
862
|
/**
|
|
654
863
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -664,6 +873,10 @@ export declare namespace Transaction {
|
|
|
664
873
|
receiver_name: string | null;
|
|
665
874
|
trace_number: string;
|
|
666
875
|
}
|
|
876
|
+
/**
|
|
877
|
+
* A Inbound Check object. This field will be present in the JSON response if and
|
|
878
|
+
* only if `category` is equal to `inbound_check`.
|
|
879
|
+
*/
|
|
667
880
|
interface InboundCheck {
|
|
668
881
|
/**
|
|
669
882
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -679,6 +892,11 @@ export declare namespace Transaction {
|
|
|
679
892
|
*/
|
|
680
893
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
681
894
|
}
|
|
895
|
+
/**
|
|
896
|
+
* A Inbound International ACH Transfer object. This field will be present in the
|
|
897
|
+
* JSON response if and only if `category` is equal to
|
|
898
|
+
* `inbound_international_ach_transfer`.
|
|
899
|
+
*/
|
|
682
900
|
interface InboundInternationalACHTransfer {
|
|
683
901
|
/**
|
|
684
902
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -721,6 +939,11 @@ export declare namespace Transaction {
|
|
|
721
939
|
receiving_depository_financial_institution_name: string;
|
|
722
940
|
trace_number: string;
|
|
723
941
|
}
|
|
942
|
+
/**
|
|
943
|
+
* A Inbound Real Time Payments Transfer Confirmation object. This field will be
|
|
944
|
+
* present in the JSON response if and only if `category` is equal to
|
|
945
|
+
* `inbound_real_time_payments_transfer_confirmation`.
|
|
946
|
+
*/
|
|
724
947
|
interface InboundRealTimePaymentsTransferConfirmation {
|
|
725
948
|
/**
|
|
726
949
|
* The amount in the minor unit of the transfer's currency. For dollars, for
|
|
@@ -757,6 +980,11 @@ export declare namespace Transaction {
|
|
|
757
980
|
*/
|
|
758
981
|
transaction_identification: string;
|
|
759
982
|
}
|
|
983
|
+
/**
|
|
984
|
+
* A Inbound Wire Drawdown Payment Reversal object. This field will be present in
|
|
985
|
+
* the JSON response if and only if `category` is equal to
|
|
986
|
+
* `inbound_wire_drawdown_payment_reversal`.
|
|
987
|
+
*/
|
|
760
988
|
interface InboundWireDrawdownPaymentReversal {
|
|
761
989
|
/**
|
|
762
990
|
* The amount that was reversed.
|
|
@@ -799,6 +1027,10 @@ export declare namespace Transaction {
|
|
|
799
1027
|
*/
|
|
800
1028
|
previous_message_input_source: string;
|
|
801
1029
|
}
|
|
1030
|
+
/**
|
|
1031
|
+
* A Inbound Wire Drawdown Payment object. This field will be present in the JSON
|
|
1032
|
+
* response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
|
|
1033
|
+
*/
|
|
802
1034
|
interface InboundWireDrawdownPayment {
|
|
803
1035
|
/**
|
|
804
1036
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -818,11 +1050,20 @@ export declare namespace Transaction {
|
|
|
818
1050
|
originator_name: string | null;
|
|
819
1051
|
originator_to_beneficiary_information: string | null;
|
|
820
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* A Inbound Wire Reversal object. This field will be present in the JSON response
|
|
1055
|
+
* if and only if `category` is equal to `inbound_wire_reversal`.
|
|
1056
|
+
*/
|
|
821
1057
|
interface InboundWireReversal {
|
|
822
1058
|
/**
|
|
823
1059
|
* The amount that was reversed.
|
|
824
1060
|
*/
|
|
825
1061
|
amount: number;
|
|
1062
|
+
/**
|
|
1063
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
1064
|
+
* the reversal was created.
|
|
1065
|
+
*/
|
|
1066
|
+
created_at: string;
|
|
826
1067
|
/**
|
|
827
1068
|
* The description on the reversal message from Fedwire.
|
|
828
1069
|
*/
|
|
@@ -868,7 +1109,19 @@ export declare namespace Transaction {
|
|
|
868
1109
|
* institution.
|
|
869
1110
|
*/
|
|
870
1111
|
receiver_financial_institution_information: string | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* The ID for the Transaction associated with the transfer reversal.
|
|
1114
|
+
*/
|
|
1115
|
+
transaction_id: string | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* The ID for the Wire Transfer that is being reversed.
|
|
1118
|
+
*/
|
|
1119
|
+
wire_transfer_id: string;
|
|
871
1120
|
}
|
|
1121
|
+
/**
|
|
1122
|
+
* A Inbound Wire Transfer object. This field will be present in the JSON response
|
|
1123
|
+
* if and only if `category` is equal to `inbound_wire_transfer`.
|
|
1124
|
+
*/
|
|
872
1125
|
interface InboundWireTransfer {
|
|
873
1126
|
/**
|
|
874
1127
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -892,6 +1145,10 @@ export declare namespace Transaction {
|
|
|
892
1145
|
originator_to_beneficiary_information_line3: string | null;
|
|
893
1146
|
originator_to_beneficiary_information_line4: string | null;
|
|
894
1147
|
}
|
|
1148
|
+
/**
|
|
1149
|
+
* A Interest Payment object. This field will be present in the JSON response if
|
|
1150
|
+
* and only if `category` is equal to `interest_payment`.
|
|
1151
|
+
*/
|
|
895
1152
|
interface InterestPayment {
|
|
896
1153
|
/**
|
|
897
1154
|
* The account on which the interest was accrued.
|
|
@@ -916,6 +1173,10 @@ export declare namespace Transaction {
|
|
|
916
1173
|
*/
|
|
917
1174
|
period_start: string;
|
|
918
1175
|
}
|
|
1176
|
+
/**
|
|
1177
|
+
* A Internal Source object. This field will be present in the JSON response if and
|
|
1178
|
+
* only if `category` is equal to `internal_source`.
|
|
1179
|
+
*/
|
|
919
1180
|
interface InternalSource {
|
|
920
1181
|
/**
|
|
921
1182
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -930,14 +1191,20 @@ export declare namespace Transaction {
|
|
|
930
1191
|
reason:
|
|
931
1192
|
| 'bank_migration'
|
|
932
1193
|
| 'cashback'
|
|
1194
|
+
| 'collection_receivable'
|
|
933
1195
|
| 'empyreal_adjustment'
|
|
934
1196
|
| 'error'
|
|
935
1197
|
| 'error_correction'
|
|
936
1198
|
| 'fees'
|
|
937
1199
|
| 'interest'
|
|
1200
|
+
| 'negative_balance_forgiveness'
|
|
938
1201
|
| 'sample_funds'
|
|
939
1202
|
| 'sample_funds_return';
|
|
940
1203
|
}
|
|
1204
|
+
/**
|
|
1205
|
+
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
1206
|
+
* if and only if `category` is equal to `card_route_refund`.
|
|
1207
|
+
*/
|
|
941
1208
|
interface CardRouteRefund {
|
|
942
1209
|
/**
|
|
943
1210
|
* The refunded amount in the minor unit of the refunded currency. For dollars, for
|
|
@@ -956,6 +1223,10 @@ export declare namespace Transaction {
|
|
|
956
1223
|
merchant_descriptor: string;
|
|
957
1224
|
merchant_state: string | null;
|
|
958
1225
|
}
|
|
1226
|
+
/**
|
|
1227
|
+
* A Deprecated Card Settlement object. This field will be present in the JSON
|
|
1228
|
+
* response if and only if `category` is equal to `card_route_settlement`.
|
|
1229
|
+
*/
|
|
959
1230
|
interface CardRouteSettlement {
|
|
960
1231
|
/**
|
|
961
1232
|
* The settled amount in the minor unit of the settlement currency. For dollars,
|
|
@@ -974,12 +1245,48 @@ export declare namespace Transaction {
|
|
|
974
1245
|
merchant_descriptor: string;
|
|
975
1246
|
merchant_state: string | null;
|
|
976
1247
|
}
|
|
1248
|
+
/**
|
|
1249
|
+
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
1250
|
+
* in the JSON response if and only if `category` is equal to
|
|
1251
|
+
* `real_time_payments_transfer_acknowledgement`.
|
|
1252
|
+
*/
|
|
1253
|
+
interface RealTimePaymentsTransferAcknowledgement {
|
|
1254
|
+
/**
|
|
1255
|
+
* The transfer amount in USD cents.
|
|
1256
|
+
*/
|
|
1257
|
+
amount: number;
|
|
1258
|
+
/**
|
|
1259
|
+
* The destination account number.
|
|
1260
|
+
*/
|
|
1261
|
+
destination_account_number: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
1264
|
+
*/
|
|
1265
|
+
destination_routing_number: string;
|
|
1266
|
+
/**
|
|
1267
|
+
* Unstructured information that will show on the recipient's bank statement.
|
|
1268
|
+
*/
|
|
1269
|
+
remittance_information: string;
|
|
1270
|
+
/**
|
|
1271
|
+
* The identifier of the Real Time Payments Transfer that led to this Transaction.
|
|
1272
|
+
*/
|
|
1273
|
+
transfer_id: string;
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* A Sample Funds object. This field will be present in the JSON response if and
|
|
1277
|
+
* only if `category` is equal to `sample_funds`.
|
|
1278
|
+
*/
|
|
977
1279
|
interface SampleFunds {
|
|
978
1280
|
/**
|
|
979
1281
|
* Where the sample funds came from.
|
|
980
1282
|
*/
|
|
981
1283
|
originator: string;
|
|
982
1284
|
}
|
|
1285
|
+
/**
|
|
1286
|
+
* A Wire Drawdown Payment Intention object. This field will be present in the JSON
|
|
1287
|
+
* response if and only if `category` is equal to
|
|
1288
|
+
* `wire_drawdown_payment_intention`.
|
|
1289
|
+
*/
|
|
983
1290
|
interface WireDrawdownPaymentIntention {
|
|
984
1291
|
account_number: string;
|
|
985
1292
|
/**
|
|
@@ -990,9 +1297,18 @@ export declare namespace Transaction {
|
|
|
990
1297
|
routing_number: string;
|
|
991
1298
|
transfer_id: string;
|
|
992
1299
|
}
|
|
1300
|
+
/**
|
|
1301
|
+
* A Wire Drawdown Payment Rejection object. This field will be present in the JSON
|
|
1302
|
+
* response if and only if `category` is equal to
|
|
1303
|
+
* `wire_drawdown_payment_rejection`.
|
|
1304
|
+
*/
|
|
993
1305
|
interface WireDrawdownPaymentRejection {
|
|
994
1306
|
transfer_id: string;
|
|
995
1307
|
}
|
|
1308
|
+
/**
|
|
1309
|
+
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
1310
|
+
* response if and only if `category` is equal to `wire_transfer_intention`.
|
|
1311
|
+
*/
|
|
996
1312
|
interface WireTransferIntention {
|
|
997
1313
|
/**
|
|
998
1314
|
* The destination account number.
|
|
@@ -1012,6 +1328,10 @@ export declare namespace Transaction {
|
|
|
1012
1328
|
routing_number: string;
|
|
1013
1329
|
transfer_id: string;
|
|
1014
1330
|
}
|
|
1331
|
+
/**
|
|
1332
|
+
* A Wire Transfer Rejection object. This field will be present in the JSON
|
|
1333
|
+
* response if and only if `category` is equal to `wire_transfer_rejection`.
|
|
1334
|
+
*/
|
|
1015
1335
|
interface WireTransferRejection {
|
|
1016
1336
|
transfer_id: string;
|
|
1017
1337
|
}
|
|
@@ -1022,10 +1342,75 @@ export interface TransactionListParams extends PageParams {
|
|
|
1022
1342
|
* Filter Transactions for those belonging to the specified Account.
|
|
1023
1343
|
*/
|
|
1024
1344
|
account_id?: string;
|
|
1025
|
-
category?: TransactionListParams.Category;
|
|
1026
|
-
created_at?: TransactionListParams.CreatedAt;
|
|
1027
1345
|
/**
|
|
1028
|
-
*
|
|
1346
|
+
* Return results whose value is in the provided list. For GET requests, this
|
|
1347
|
+
* should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
1348
|
+
*/
|
|
1349
|
+
'category.in'?: Array<
|
|
1350
|
+
| 'account_transfer_intention'
|
|
1351
|
+
| 'ach_check_conversion_return'
|
|
1352
|
+
| 'ach_check_conversion'
|
|
1353
|
+
| 'ach_transfer_intention'
|
|
1354
|
+
| 'ach_transfer_rejection'
|
|
1355
|
+
| 'ach_transfer_return'
|
|
1356
|
+
| 'card_dispute_acceptance'
|
|
1357
|
+
| 'card_refund'
|
|
1358
|
+
| 'card_settlement'
|
|
1359
|
+
| 'card_revenue_payment'
|
|
1360
|
+
| 'check_deposit_acceptance'
|
|
1361
|
+
| 'check_deposit_return'
|
|
1362
|
+
| 'check_transfer_intention'
|
|
1363
|
+
| 'check_transfer_return'
|
|
1364
|
+
| 'check_transfer_rejection'
|
|
1365
|
+
| 'check_transfer_stop_payment_request'
|
|
1366
|
+
| 'dispute_resolution'
|
|
1367
|
+
| 'empyreal_cash_deposit'
|
|
1368
|
+
| 'fee_payment'
|
|
1369
|
+
| 'inbound_ach_transfer'
|
|
1370
|
+
| 'inbound_ach_transfer_return_intention'
|
|
1371
|
+
| 'inbound_check'
|
|
1372
|
+
| 'inbound_international_ach_transfer'
|
|
1373
|
+
| 'inbound_real_time_payments_transfer_confirmation'
|
|
1374
|
+
| 'inbound_wire_drawdown_payment_reversal'
|
|
1375
|
+
| 'inbound_wire_drawdown_payment'
|
|
1376
|
+
| 'inbound_wire_reversal'
|
|
1377
|
+
| 'inbound_wire_transfer'
|
|
1378
|
+
| 'interest_payment'
|
|
1379
|
+
| 'internal_general_ledger_transaction'
|
|
1380
|
+
| 'internal_source'
|
|
1381
|
+
| 'card_route_refund'
|
|
1382
|
+
| 'card_route_settlement'
|
|
1383
|
+
| 'real_time_payments_transfer_acknowledgement'
|
|
1384
|
+
| 'sample_funds'
|
|
1385
|
+
| 'wire_drawdown_payment_intention'
|
|
1386
|
+
| 'wire_drawdown_payment_rejection'
|
|
1387
|
+
| 'wire_transfer_intention'
|
|
1388
|
+
| 'wire_transfer_rejection'
|
|
1389
|
+
| 'other'
|
|
1390
|
+
>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1393
|
+
* timestamp.
|
|
1394
|
+
*/
|
|
1395
|
+
'created_at.after'?: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1398
|
+
* timestamp.
|
|
1399
|
+
*/
|
|
1400
|
+
'created_at.before'?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* Return results on or after this
|
|
1403
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1404
|
+
*/
|
|
1405
|
+
'created_at.on_or_after'?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* Return results on or before this
|
|
1408
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1409
|
+
*/
|
|
1410
|
+
'created_at.on_or_before'?: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* Filter Transactions for those belonging to the specified route. This could be a
|
|
1413
|
+
* Card ID or an Account Number ID.
|
|
1029
1414
|
*/
|
|
1030
1415
|
route_id?: string;
|
|
1031
1416
|
}
|
|
@@ -1067,6 +1452,7 @@ export declare namespace TransactionListParams {
|
|
|
1067
1452
|
| 'card_dispute_acceptance'
|
|
1068
1453
|
| 'card_refund'
|
|
1069
1454
|
| 'card_settlement'
|
|
1455
|
+
| 'card_revenue_payment'
|
|
1070
1456
|
| 'check_deposit_acceptance'
|
|
1071
1457
|
| 'check_deposit_return'
|
|
1072
1458
|
| 'check_transfer_intention'
|
|
@@ -1075,6 +1461,7 @@ export declare namespace TransactionListParams {
|
|
|
1075
1461
|
| 'check_transfer_stop_payment_request'
|
|
1076
1462
|
| 'dispute_resolution'
|
|
1077
1463
|
| 'empyreal_cash_deposit'
|
|
1464
|
+
| 'fee_payment'
|
|
1078
1465
|
| 'inbound_ach_transfer'
|
|
1079
1466
|
| 'inbound_ach_transfer_return_intention'
|
|
1080
1467
|
| 'inbound_check'
|
|
@@ -1099,3 +1486,4 @@ export declare namespace TransactionListParams {
|
|
|
1099
1486
|
>;
|
|
1100
1487
|
}
|
|
1101
1488
|
}
|
|
1489
|
+
//# sourceMappingURL=transactions.d.ts.map
|