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
|
@@ -25,7 +25,6 @@ export class Transactions extends APIResource {
|
|
|
25
25
|
if (isRequestOptions(query)) {
|
|
26
26
|
return this.list({}, query);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
28
|
return this.getAPIList('/transactions', TransactionsPage, { query, ...options });
|
|
30
29
|
}
|
|
31
30
|
}
|
|
@@ -82,7 +81,7 @@ export interface Transaction {
|
|
|
82
81
|
/**
|
|
83
82
|
* The type of the route this Transaction came through.
|
|
84
83
|
*/
|
|
85
|
-
route_type:
|
|
84
|
+
route_type: 'account_number' | 'card' | null;
|
|
86
85
|
|
|
87
86
|
/**
|
|
88
87
|
* This is an object giving more details on the network-level event that caused the
|
|
@@ -100,6 +99,12 @@ export interface Transaction {
|
|
|
100
99
|
}
|
|
101
100
|
|
|
102
101
|
export namespace Transaction {
|
|
102
|
+
/**
|
|
103
|
+
* This is an object giving more details on the network-level event that caused the
|
|
104
|
+
* Transaction. Note that for backwards compatibility reasons, additional
|
|
105
|
+
* undocumented keys may appear in this object. These should be treated as
|
|
106
|
+
* deprecated and will be removed in the future.
|
|
107
|
+
*/
|
|
103
108
|
export interface Source {
|
|
104
109
|
/**
|
|
105
110
|
* A Account Transfer Intention object. This field will be present in the JSON
|
|
@@ -149,6 +154,12 @@ export namespace Transaction {
|
|
|
149
154
|
*/
|
|
150
155
|
card_refund: Source.CardRefund | null;
|
|
151
156
|
|
|
157
|
+
/**
|
|
158
|
+
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
159
|
+
* if and only if `category` is equal to `card_revenue_payment`.
|
|
160
|
+
*/
|
|
161
|
+
card_revenue_payment: Source.CardRevenuePayment | null;
|
|
162
|
+
|
|
152
163
|
/**
|
|
153
164
|
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
154
165
|
* if and only if `category` is equal to `card_route_refund`.
|
|
@@ -182,6 +193,7 @@ export namespace Transaction {
|
|
|
182
193
|
| 'card_dispute_acceptance'
|
|
183
194
|
| 'card_refund'
|
|
184
195
|
| 'card_settlement'
|
|
196
|
+
| 'card_revenue_payment'
|
|
185
197
|
| 'check_deposit_acceptance'
|
|
186
198
|
| 'check_deposit_return'
|
|
187
199
|
| 'check_transfer_intention'
|
|
@@ -190,6 +202,7 @@ export namespace Transaction {
|
|
|
190
202
|
| 'check_transfer_stop_payment_request'
|
|
191
203
|
| 'dispute_resolution'
|
|
192
204
|
| 'empyreal_cash_deposit'
|
|
205
|
+
| 'fee_payment'
|
|
193
206
|
| 'inbound_ach_transfer'
|
|
194
207
|
| 'inbound_ach_transfer_return_intention'
|
|
195
208
|
| 'inbound_check'
|
|
@@ -261,6 +274,12 @@ export namespace Transaction {
|
|
|
261
274
|
*/
|
|
262
275
|
empyreal_cash_deposit: Source.EmpyrealCashDeposit | null;
|
|
263
276
|
|
|
277
|
+
/**
|
|
278
|
+
* A Fee Payment object. This field will be present in the JSON response if and
|
|
279
|
+
* only if `category` is equal to `fee_payment`.
|
|
280
|
+
*/
|
|
281
|
+
fee_payment: Source.FeePayment | null;
|
|
282
|
+
|
|
264
283
|
/**
|
|
265
284
|
* A Inbound ACH Transfer object. This field will be present in the JSON response
|
|
266
285
|
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
@@ -324,6 +343,13 @@ export namespace Transaction {
|
|
|
324
343
|
*/
|
|
325
344
|
internal_source: Source.InternalSource | null;
|
|
326
345
|
|
|
346
|
+
/**
|
|
347
|
+
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
348
|
+
* in the JSON response if and only if `category` is equal to
|
|
349
|
+
* `real_time_payments_transfer_acknowledgement`.
|
|
350
|
+
*/
|
|
351
|
+
real_time_payments_transfer_acknowledgement: Source.RealTimePaymentsTransferAcknowledgement | null;
|
|
352
|
+
|
|
327
353
|
/**
|
|
328
354
|
* A Sample Funds object. This field will be present in the JSON response if and
|
|
329
355
|
* only if `category` is equal to `sample_funds`.
|
|
@@ -358,6 +384,10 @@ export namespace Transaction {
|
|
|
358
384
|
}
|
|
359
385
|
|
|
360
386
|
export namespace Source {
|
|
387
|
+
/**
|
|
388
|
+
* A Account Transfer Intention object. This field will be present in the JSON
|
|
389
|
+
* response if and only if `category` is equal to `account_transfer_intention`.
|
|
390
|
+
*/
|
|
361
391
|
export interface AccountTransferIntention {
|
|
362
392
|
/**
|
|
363
393
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
@@ -392,6 +422,10 @@ export namespace Transaction {
|
|
|
392
422
|
transfer_id: string;
|
|
393
423
|
}
|
|
394
424
|
|
|
425
|
+
/**
|
|
426
|
+
* A ACH Check Conversion Return object. This field will be present in the JSON
|
|
427
|
+
* response if and only if `category` is equal to `ach_check_conversion_return`.
|
|
428
|
+
*/
|
|
395
429
|
export interface ACHCheckConversionReturn {
|
|
396
430
|
/**
|
|
397
431
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -405,6 +439,10 @@ export namespace Transaction {
|
|
|
405
439
|
return_reason_code: string;
|
|
406
440
|
}
|
|
407
441
|
|
|
442
|
+
/**
|
|
443
|
+
* A ACH Check Conversion object. This field will be present in the JSON response
|
|
444
|
+
* if and only if `category` is equal to `ach_check_conversion`.
|
|
445
|
+
*/
|
|
408
446
|
export interface ACHCheckConversion {
|
|
409
447
|
/**
|
|
410
448
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -418,6 +456,10 @@ export namespace Transaction {
|
|
|
418
456
|
file_id: string;
|
|
419
457
|
}
|
|
420
458
|
|
|
459
|
+
/**
|
|
460
|
+
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
461
|
+
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
462
|
+
*/
|
|
421
463
|
export interface ACHTransferIntention {
|
|
422
464
|
account_number: string;
|
|
423
465
|
|
|
@@ -437,6 +479,10 @@ export namespace Transaction {
|
|
|
437
479
|
transfer_id: string;
|
|
438
480
|
}
|
|
439
481
|
|
|
482
|
+
/**
|
|
483
|
+
* A ACH Transfer Rejection object. This field will be present in the JSON response
|
|
484
|
+
* if and only if `category` is equal to `ach_transfer_rejection`.
|
|
485
|
+
*/
|
|
440
486
|
export interface ACHTransferRejection {
|
|
441
487
|
/**
|
|
442
488
|
* The identifier of the ACH Transfer that led to this Transaction.
|
|
@@ -444,6 +490,10 @@ export namespace Transaction {
|
|
|
444
490
|
transfer_id: string;
|
|
445
491
|
}
|
|
446
492
|
|
|
493
|
+
/**
|
|
494
|
+
* A ACH Transfer Return object. This field will be present in the JSON response if
|
|
495
|
+
* and only if `category` is equal to `ach_transfer_return`.
|
|
496
|
+
*/
|
|
447
497
|
export interface ACHTransferReturn {
|
|
448
498
|
/**
|
|
449
499
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -490,6 +540,10 @@ export namespace Transaction {
|
|
|
490
540
|
transfer_id: string;
|
|
491
541
|
}
|
|
492
542
|
|
|
543
|
+
/**
|
|
544
|
+
* A Card Dispute Acceptance object. This field will be present in the JSON
|
|
545
|
+
* response if and only if `category` is equal to `card_dispute_acceptance`.
|
|
546
|
+
*/
|
|
493
547
|
export interface CardDisputeAcceptance {
|
|
494
548
|
/**
|
|
495
549
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -506,9 +560,13 @@ export namespace Transaction {
|
|
|
506
560
|
* The identifier of the Transaction that was created to return the disputed funds
|
|
507
561
|
* to your account.
|
|
508
562
|
*/
|
|
509
|
-
transaction_id: string
|
|
563
|
+
transaction_id: string;
|
|
510
564
|
}
|
|
511
565
|
|
|
566
|
+
/**
|
|
567
|
+
* A Card Refund object. This field will be present in the JSON response if and
|
|
568
|
+
* only if `category` is equal to `card_refund`.
|
|
569
|
+
*/
|
|
512
570
|
export interface CardRefund {
|
|
513
571
|
/**
|
|
514
572
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
@@ -516,17 +574,48 @@ export namespace Transaction {
|
|
|
516
574
|
*/
|
|
517
575
|
amount: number;
|
|
518
576
|
|
|
519
|
-
/**
|
|
520
|
-
* The identifier for the Transaction this refunds, if any.
|
|
521
|
-
*/
|
|
522
|
-
card_settlement_transaction_id: string | null;
|
|
523
|
-
|
|
524
577
|
/**
|
|
525
578
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
526
579
|
* transaction's currency.
|
|
527
580
|
*/
|
|
528
581
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
529
582
|
|
|
583
|
+
/**
|
|
584
|
+
* The Card Refund identifier.
|
|
585
|
+
*/
|
|
586
|
+
id: string;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
590
|
+
* is transacting with.
|
|
591
|
+
*/
|
|
592
|
+
merchant_acceptor_id: string | null;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* The 4-digit MCC describing the merchant's business.
|
|
596
|
+
*/
|
|
597
|
+
merchant_category_code: string;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* The city the merchant resides in.
|
|
601
|
+
*/
|
|
602
|
+
merchant_city: string | null;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* The country the merchant resides in.
|
|
606
|
+
*/
|
|
607
|
+
merchant_country: string;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* The name of the merchant.
|
|
611
|
+
*/
|
|
612
|
+
merchant_name: string | null;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* The state the merchant resides in.
|
|
616
|
+
*/
|
|
617
|
+
merchant_state: string | null;
|
|
618
|
+
|
|
530
619
|
/**
|
|
531
620
|
* A constant representing the object's type. For this resource it will always be
|
|
532
621
|
* `card_refund`.
|
|
@@ -534,6 +623,10 @@ export namespace Transaction {
|
|
|
534
623
|
type: 'card_refund';
|
|
535
624
|
}
|
|
536
625
|
|
|
626
|
+
/**
|
|
627
|
+
* A Card Settlement object. This field will be present in the JSON response if and
|
|
628
|
+
* only if `category` is equal to `card_settlement`.
|
|
629
|
+
*/
|
|
537
630
|
export interface CardSettlement {
|
|
538
631
|
/**
|
|
539
632
|
* The amount in the minor unit of the transaction's settlement currency. For
|
|
@@ -541,20 +634,52 @@ export namespace Transaction {
|
|
|
541
634
|
*/
|
|
542
635
|
amount: number;
|
|
543
636
|
|
|
637
|
+
/**
|
|
638
|
+
* The Card Authorization that was created prior to this Card Settlement, if on
|
|
639
|
+
* exists.
|
|
640
|
+
*/
|
|
641
|
+
card_authorization: string | null;
|
|
642
|
+
|
|
544
643
|
/**
|
|
545
644
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
546
645
|
* transaction's settlement currency.
|
|
547
646
|
*/
|
|
548
647
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
549
648
|
|
|
649
|
+
/**
|
|
650
|
+
* The Card Settlement identifier.
|
|
651
|
+
*/
|
|
652
|
+
id: string;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
656
|
+
* is transacting with.
|
|
657
|
+
*/
|
|
658
|
+
merchant_acceptor_id: string | null;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* The 4-digit MCC describing the merchant's business.
|
|
662
|
+
*/
|
|
550
663
|
merchant_category_code: string;
|
|
551
664
|
|
|
665
|
+
/**
|
|
666
|
+
* The city the merchant resides in.
|
|
667
|
+
*/
|
|
552
668
|
merchant_city: string | null;
|
|
553
669
|
|
|
670
|
+
/**
|
|
671
|
+
* The country the merchant resides in.
|
|
672
|
+
*/
|
|
554
673
|
merchant_country: string;
|
|
555
674
|
|
|
675
|
+
/**
|
|
676
|
+
* The name of the merchant.
|
|
677
|
+
*/
|
|
556
678
|
merchant_name: string | null;
|
|
557
679
|
|
|
680
|
+
/**
|
|
681
|
+
* The state the merchant resides in.
|
|
682
|
+
*/
|
|
558
683
|
merchant_state: string | null;
|
|
559
684
|
|
|
560
685
|
/**
|
|
@@ -580,6 +705,43 @@ export namespace Transaction {
|
|
|
580
705
|
type: 'card_settlement';
|
|
581
706
|
}
|
|
582
707
|
|
|
708
|
+
/**
|
|
709
|
+
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
710
|
+
* if and only if `category` is equal to `card_revenue_payment`.
|
|
711
|
+
*/
|
|
712
|
+
export interface CardRevenuePayment {
|
|
713
|
+
/**
|
|
714
|
+
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
715
|
+
* example, this is cents.
|
|
716
|
+
*/
|
|
717
|
+
amount: number;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
721
|
+
* currency.
|
|
722
|
+
*/
|
|
723
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* The end of the period for which this transaction paid interest.
|
|
727
|
+
*/
|
|
728
|
+
period_end: string;
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* The start of the period for which this transaction paid interest.
|
|
732
|
+
*/
|
|
733
|
+
period_start: string;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* The account the card belonged to.
|
|
737
|
+
*/
|
|
738
|
+
transacted_on_account_id: string | null;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* A Check Deposit Acceptance object. This field will be present in the JSON
|
|
743
|
+
* response if and only if `category` is equal to `check_deposit_acceptance`.
|
|
744
|
+
*/
|
|
583
745
|
export interface CheckDepositAcceptance {
|
|
584
746
|
/**
|
|
585
747
|
* The account number printed on the check.
|
|
@@ -621,6 +783,10 @@ export namespace Transaction {
|
|
|
621
783
|
serial_number: string | null;
|
|
622
784
|
}
|
|
623
785
|
|
|
786
|
+
/**
|
|
787
|
+
* A Check Deposit Return object. This field will be present in the JSON response
|
|
788
|
+
* if and only if `category` is equal to `check_deposit_return`.
|
|
789
|
+
*/
|
|
624
790
|
export interface CheckDepositReturn {
|
|
625
791
|
/**
|
|
626
792
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -665,6 +831,10 @@ export namespace Transaction {
|
|
|
665
831
|
transaction_id: string;
|
|
666
832
|
}
|
|
667
833
|
|
|
834
|
+
/**
|
|
835
|
+
* A Check Transfer Intention object. This field will be present in the JSON
|
|
836
|
+
* response if and only if `category` is equal to `check_transfer_intention`.
|
|
837
|
+
*/
|
|
668
838
|
export interface CheckTransferIntention {
|
|
669
839
|
/**
|
|
670
840
|
* The city of the check's destination.
|
|
@@ -713,18 +883,43 @@ export namespace Transaction {
|
|
|
713
883
|
transfer_id: string;
|
|
714
884
|
}
|
|
715
885
|
|
|
886
|
+
/**
|
|
887
|
+
* A Check Transfer Return object. This field will be present in the JSON response
|
|
888
|
+
* if and only if `category` is equal to `check_transfer_return`.
|
|
889
|
+
*/
|
|
716
890
|
export interface CheckTransferReturn {
|
|
717
891
|
/**
|
|
718
892
|
* If available, a document with additional information about the return.
|
|
719
893
|
*/
|
|
720
894
|
file_id: string | null;
|
|
721
895
|
|
|
896
|
+
/**
|
|
897
|
+
* The reason why the check was returned.
|
|
898
|
+
*/
|
|
899
|
+
reason: 'mail_delivery_failure' | 'refused_by_recipient' | 'returned_not_authorized';
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
903
|
+
* the check was returned.
|
|
904
|
+
*/
|
|
905
|
+
returned_at: string;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* The identifier of the Transaction that was created to credit you for the
|
|
909
|
+
* returned check.
|
|
910
|
+
*/
|
|
911
|
+
transaction_id: string | null;
|
|
912
|
+
|
|
722
913
|
/**
|
|
723
914
|
* The identifier of the returned Check Transfer.
|
|
724
915
|
*/
|
|
725
916
|
transfer_id: string;
|
|
726
917
|
}
|
|
727
918
|
|
|
919
|
+
/**
|
|
920
|
+
* A Check Transfer Rejection object. This field will be present in the JSON
|
|
921
|
+
* response if and only if `category` is equal to `check_transfer_rejection`.
|
|
922
|
+
*/
|
|
728
923
|
export interface CheckTransferRejection {
|
|
729
924
|
/**
|
|
730
925
|
* The identifier of the Check Transfer that led to this Transaction.
|
|
@@ -732,6 +927,11 @@ export namespace Transaction {
|
|
|
732
927
|
transfer_id: string;
|
|
733
928
|
}
|
|
734
929
|
|
|
930
|
+
/**
|
|
931
|
+
* A Check Transfer Stop Payment Request object. This field will be present in the
|
|
932
|
+
* JSON response if and only if `category` is equal to
|
|
933
|
+
* `check_transfer_stop_payment_request`.
|
|
934
|
+
*/
|
|
735
935
|
export interface CheckTransferStopPaymentRequest {
|
|
736
936
|
/**
|
|
737
937
|
* The time the stop-payment was requested.
|
|
@@ -755,6 +955,10 @@ export namespace Transaction {
|
|
|
755
955
|
type: 'check_transfer_stop_payment_request';
|
|
756
956
|
}
|
|
757
957
|
|
|
958
|
+
/**
|
|
959
|
+
* A Dispute Resolution object. This field will be present in the JSON response if
|
|
960
|
+
* and only if `category` is equal to `dispute_resolution`.
|
|
961
|
+
*/
|
|
758
962
|
export interface DisputeResolution {
|
|
759
963
|
/**
|
|
760
964
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -774,6 +978,10 @@ export namespace Transaction {
|
|
|
774
978
|
disputed_transaction_id: string;
|
|
775
979
|
}
|
|
776
980
|
|
|
981
|
+
/**
|
|
982
|
+
* A Empyreal Cash Deposit object. This field will be present in the JSON response
|
|
983
|
+
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
984
|
+
*/
|
|
777
985
|
export interface EmpyrealCashDeposit {
|
|
778
986
|
/**
|
|
779
987
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -786,6 +994,28 @@ export namespace Transaction {
|
|
|
786
994
|
deposit_date: string;
|
|
787
995
|
}
|
|
788
996
|
|
|
997
|
+
/**
|
|
998
|
+
* A Fee Payment object. This field will be present in the JSON response if and
|
|
999
|
+
* only if `category` is equal to `fee_payment`.
|
|
1000
|
+
*/
|
|
1001
|
+
export interface FeePayment {
|
|
1002
|
+
/**
|
|
1003
|
+
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
1004
|
+
* example, this is cents.
|
|
1005
|
+
*/
|
|
1006
|
+
amount: number;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
1010
|
+
* currency.
|
|
1011
|
+
*/
|
|
1012
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* A Inbound ACH Transfer object. This field will be present in the JSON response
|
|
1017
|
+
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
1018
|
+
*/
|
|
789
1019
|
export interface InboundACHTransfer {
|
|
790
1020
|
/**
|
|
791
1021
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -810,6 +1040,10 @@ export namespace Transaction {
|
|
|
810
1040
|
trace_number: string;
|
|
811
1041
|
}
|
|
812
1042
|
|
|
1043
|
+
/**
|
|
1044
|
+
* A Inbound Check object. This field will be present in the JSON response if and
|
|
1045
|
+
* only if `category` is equal to `inbound_check`.
|
|
1046
|
+
*/
|
|
813
1047
|
export interface InboundCheck {
|
|
814
1048
|
/**
|
|
815
1049
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -830,6 +1064,11 @@ export namespace Transaction {
|
|
|
830
1064
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
831
1065
|
}
|
|
832
1066
|
|
|
1067
|
+
/**
|
|
1068
|
+
* A Inbound International ACH Transfer object. This field will be present in the
|
|
1069
|
+
* JSON response if and only if `category` is equal to
|
|
1070
|
+
* `inbound_international_ach_transfer`.
|
|
1071
|
+
*/
|
|
833
1072
|
export interface InboundInternationalACHTransfer {
|
|
834
1073
|
/**
|
|
835
1074
|
* The amount in the minor unit of the destination account currency. For dollars,
|
|
@@ -908,6 +1147,11 @@ export namespace Transaction {
|
|
|
908
1147
|
trace_number: string;
|
|
909
1148
|
}
|
|
910
1149
|
|
|
1150
|
+
/**
|
|
1151
|
+
* A Inbound Real Time Payments Transfer Confirmation object. This field will be
|
|
1152
|
+
* present in the JSON response if and only if `category` is equal to
|
|
1153
|
+
* `inbound_real_time_payments_transfer_confirmation`.
|
|
1154
|
+
*/
|
|
911
1155
|
export interface InboundRealTimePaymentsTransferConfirmation {
|
|
912
1156
|
/**
|
|
913
1157
|
* The amount in the minor unit of the transfer's currency. For dollars, for
|
|
@@ -952,6 +1196,11 @@ export namespace Transaction {
|
|
|
952
1196
|
transaction_identification: string;
|
|
953
1197
|
}
|
|
954
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* A Inbound Wire Drawdown Payment Reversal object. This field will be present in
|
|
1201
|
+
* the JSON response if and only if `category` is equal to
|
|
1202
|
+
* `inbound_wire_drawdown_payment_reversal`.
|
|
1203
|
+
*/
|
|
955
1204
|
export interface InboundWireDrawdownPaymentReversal {
|
|
956
1205
|
/**
|
|
957
1206
|
* The amount that was reversed.
|
|
@@ -1004,6 +1253,10 @@ export namespace Transaction {
|
|
|
1004
1253
|
previous_message_input_source: string;
|
|
1005
1254
|
}
|
|
1006
1255
|
|
|
1256
|
+
/**
|
|
1257
|
+
* A Inbound Wire Drawdown Payment object. This field will be present in the JSON
|
|
1258
|
+
* response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
|
|
1259
|
+
*/
|
|
1007
1260
|
export interface InboundWireDrawdownPayment {
|
|
1008
1261
|
/**
|
|
1009
1262
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -1036,12 +1289,22 @@ export namespace Transaction {
|
|
|
1036
1289
|
originator_to_beneficiary_information: string | null;
|
|
1037
1290
|
}
|
|
1038
1291
|
|
|
1292
|
+
/**
|
|
1293
|
+
* A Inbound Wire Reversal object. This field will be present in the JSON response
|
|
1294
|
+
* if and only if `category` is equal to `inbound_wire_reversal`.
|
|
1295
|
+
*/
|
|
1039
1296
|
export interface InboundWireReversal {
|
|
1040
1297
|
/**
|
|
1041
1298
|
* The amount that was reversed.
|
|
1042
1299
|
*/
|
|
1043
1300
|
amount: number;
|
|
1044
1301
|
|
|
1302
|
+
/**
|
|
1303
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
1304
|
+
* the reversal was created.
|
|
1305
|
+
*/
|
|
1306
|
+
created_at: string;
|
|
1307
|
+
|
|
1045
1308
|
/**
|
|
1046
1309
|
* The description on the reversal message from Fedwire.
|
|
1047
1310
|
*/
|
|
@@ -1097,8 +1360,22 @@ export namespace Transaction {
|
|
|
1097
1360
|
* institution.
|
|
1098
1361
|
*/
|
|
1099
1362
|
receiver_financial_institution_information: string | null;
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* The ID for the Transaction associated with the transfer reversal.
|
|
1366
|
+
*/
|
|
1367
|
+
transaction_id: string | null;
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* The ID for the Wire Transfer that is being reversed.
|
|
1371
|
+
*/
|
|
1372
|
+
wire_transfer_id: string;
|
|
1100
1373
|
}
|
|
1101
1374
|
|
|
1375
|
+
/**
|
|
1376
|
+
* A Inbound Wire Transfer object. This field will be present in the JSON response
|
|
1377
|
+
* if and only if `category` is equal to `inbound_wire_transfer`.
|
|
1378
|
+
*/
|
|
1102
1379
|
export interface InboundWireTransfer {
|
|
1103
1380
|
/**
|
|
1104
1381
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -1139,6 +1416,10 @@ export namespace Transaction {
|
|
|
1139
1416
|
originator_to_beneficiary_information_line4: string | null;
|
|
1140
1417
|
}
|
|
1141
1418
|
|
|
1419
|
+
/**
|
|
1420
|
+
* A Interest Payment object. This field will be present in the JSON response if
|
|
1421
|
+
* and only if `category` is equal to `interest_payment`.
|
|
1422
|
+
*/
|
|
1142
1423
|
export interface InterestPayment {
|
|
1143
1424
|
/**
|
|
1144
1425
|
* The account on which the interest was accrued.
|
|
@@ -1168,6 +1449,10 @@ export namespace Transaction {
|
|
|
1168
1449
|
period_start: string;
|
|
1169
1450
|
}
|
|
1170
1451
|
|
|
1452
|
+
/**
|
|
1453
|
+
* A Internal Source object. This field will be present in the JSON response if and
|
|
1454
|
+
* only if `category` is equal to `internal_source`.
|
|
1455
|
+
*/
|
|
1171
1456
|
export interface InternalSource {
|
|
1172
1457
|
/**
|
|
1173
1458
|
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
@@ -1184,15 +1469,21 @@ export namespace Transaction {
|
|
|
1184
1469
|
reason:
|
|
1185
1470
|
| 'bank_migration'
|
|
1186
1471
|
| 'cashback'
|
|
1472
|
+
| 'collection_receivable'
|
|
1187
1473
|
| 'empyreal_adjustment'
|
|
1188
1474
|
| 'error'
|
|
1189
1475
|
| 'error_correction'
|
|
1190
1476
|
| 'fees'
|
|
1191
1477
|
| 'interest'
|
|
1478
|
+
| 'negative_balance_forgiveness'
|
|
1192
1479
|
| 'sample_funds'
|
|
1193
1480
|
| 'sample_funds_return';
|
|
1194
1481
|
}
|
|
1195
1482
|
|
|
1483
|
+
/**
|
|
1484
|
+
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
1485
|
+
* if and only if `category` is equal to `card_route_refund`.
|
|
1486
|
+
*/
|
|
1196
1487
|
export interface CardRouteRefund {
|
|
1197
1488
|
/**
|
|
1198
1489
|
* The refunded amount in the minor unit of the refunded currency. For dollars, for
|
|
@@ -1219,6 +1510,10 @@ export namespace Transaction {
|
|
|
1219
1510
|
merchant_state: string | null;
|
|
1220
1511
|
}
|
|
1221
1512
|
|
|
1513
|
+
/**
|
|
1514
|
+
* A Deprecated Card Settlement object. This field will be present in the JSON
|
|
1515
|
+
* response if and only if `category` is equal to `card_route_settlement`.
|
|
1516
|
+
*/
|
|
1222
1517
|
export interface CardRouteSettlement {
|
|
1223
1518
|
/**
|
|
1224
1519
|
* The settled amount in the minor unit of the settlement currency. For dollars,
|
|
@@ -1245,6 +1540,42 @@ export namespace Transaction {
|
|
|
1245
1540
|
merchant_state: string | null;
|
|
1246
1541
|
}
|
|
1247
1542
|
|
|
1543
|
+
/**
|
|
1544
|
+
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
1545
|
+
* in the JSON response if and only if `category` is equal to
|
|
1546
|
+
* `real_time_payments_transfer_acknowledgement`.
|
|
1547
|
+
*/
|
|
1548
|
+
export interface RealTimePaymentsTransferAcknowledgement {
|
|
1549
|
+
/**
|
|
1550
|
+
* The transfer amount in USD cents.
|
|
1551
|
+
*/
|
|
1552
|
+
amount: number;
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* The destination account number.
|
|
1556
|
+
*/
|
|
1557
|
+
destination_account_number: string;
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
1561
|
+
*/
|
|
1562
|
+
destination_routing_number: string;
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* Unstructured information that will show on the recipient's bank statement.
|
|
1566
|
+
*/
|
|
1567
|
+
remittance_information: string;
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* The identifier of the Real Time Payments Transfer that led to this Transaction.
|
|
1571
|
+
*/
|
|
1572
|
+
transfer_id: string;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* A Sample Funds object. This field will be present in the JSON response if and
|
|
1577
|
+
* only if `category` is equal to `sample_funds`.
|
|
1578
|
+
*/
|
|
1248
1579
|
export interface SampleFunds {
|
|
1249
1580
|
/**
|
|
1250
1581
|
* Where the sample funds came from.
|
|
@@ -1252,6 +1583,11 @@ export namespace Transaction {
|
|
|
1252
1583
|
originator: string;
|
|
1253
1584
|
}
|
|
1254
1585
|
|
|
1586
|
+
/**
|
|
1587
|
+
* A Wire Drawdown Payment Intention object. This field will be present in the JSON
|
|
1588
|
+
* response if and only if `category` is equal to
|
|
1589
|
+
* `wire_drawdown_payment_intention`.
|
|
1590
|
+
*/
|
|
1255
1591
|
export interface WireDrawdownPaymentIntention {
|
|
1256
1592
|
account_number: string;
|
|
1257
1593
|
|
|
@@ -1267,10 +1603,19 @@ export namespace Transaction {
|
|
|
1267
1603
|
transfer_id: string;
|
|
1268
1604
|
}
|
|
1269
1605
|
|
|
1606
|
+
/**
|
|
1607
|
+
* A Wire Drawdown Payment Rejection object. This field will be present in the JSON
|
|
1608
|
+
* response if and only if `category` is equal to
|
|
1609
|
+
* `wire_drawdown_payment_rejection`.
|
|
1610
|
+
*/
|
|
1270
1611
|
export interface WireDrawdownPaymentRejection {
|
|
1271
1612
|
transfer_id: string;
|
|
1272
1613
|
}
|
|
1273
1614
|
|
|
1615
|
+
/**
|
|
1616
|
+
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
1617
|
+
* response if and only if `category` is equal to `wire_transfer_intention`.
|
|
1618
|
+
*/
|
|
1274
1619
|
export interface WireTransferIntention {
|
|
1275
1620
|
/**
|
|
1276
1621
|
* The destination account number.
|
|
@@ -1295,6 +1640,10 @@ export namespace Transaction {
|
|
|
1295
1640
|
transfer_id: string;
|
|
1296
1641
|
}
|
|
1297
1642
|
|
|
1643
|
+
/**
|
|
1644
|
+
* A Wire Transfer Rejection object. This field will be present in the JSON
|
|
1645
|
+
* response if and only if `category` is equal to `wire_transfer_rejection`.
|
|
1646
|
+
*/
|
|
1298
1647
|
export interface WireTransferRejection {
|
|
1299
1648
|
transfer_id: string;
|
|
1300
1649
|
}
|
|
@@ -1307,12 +1656,80 @@ export interface TransactionListParams extends PageParams {
|
|
|
1307
1656
|
*/
|
|
1308
1657
|
account_id?: string;
|
|
1309
1658
|
|
|
1310
|
-
|
|
1659
|
+
/**
|
|
1660
|
+
* Return results whose value is in the provided list. For GET requests, this
|
|
1661
|
+
* should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
1662
|
+
*/
|
|
1663
|
+
'category.in'?: Array<
|
|
1664
|
+
| 'account_transfer_intention'
|
|
1665
|
+
| 'ach_check_conversion_return'
|
|
1666
|
+
| 'ach_check_conversion'
|
|
1667
|
+
| 'ach_transfer_intention'
|
|
1668
|
+
| 'ach_transfer_rejection'
|
|
1669
|
+
| 'ach_transfer_return'
|
|
1670
|
+
| 'card_dispute_acceptance'
|
|
1671
|
+
| 'card_refund'
|
|
1672
|
+
| 'card_settlement'
|
|
1673
|
+
| 'card_revenue_payment'
|
|
1674
|
+
| 'check_deposit_acceptance'
|
|
1675
|
+
| 'check_deposit_return'
|
|
1676
|
+
| 'check_transfer_intention'
|
|
1677
|
+
| 'check_transfer_return'
|
|
1678
|
+
| 'check_transfer_rejection'
|
|
1679
|
+
| 'check_transfer_stop_payment_request'
|
|
1680
|
+
| 'dispute_resolution'
|
|
1681
|
+
| 'empyreal_cash_deposit'
|
|
1682
|
+
| 'fee_payment'
|
|
1683
|
+
| 'inbound_ach_transfer'
|
|
1684
|
+
| 'inbound_ach_transfer_return_intention'
|
|
1685
|
+
| 'inbound_check'
|
|
1686
|
+
| 'inbound_international_ach_transfer'
|
|
1687
|
+
| 'inbound_real_time_payments_transfer_confirmation'
|
|
1688
|
+
| 'inbound_wire_drawdown_payment_reversal'
|
|
1689
|
+
| 'inbound_wire_drawdown_payment'
|
|
1690
|
+
| 'inbound_wire_reversal'
|
|
1691
|
+
| 'inbound_wire_transfer'
|
|
1692
|
+
| 'interest_payment'
|
|
1693
|
+
| 'internal_general_ledger_transaction'
|
|
1694
|
+
| 'internal_source'
|
|
1695
|
+
| 'card_route_refund'
|
|
1696
|
+
| 'card_route_settlement'
|
|
1697
|
+
| 'real_time_payments_transfer_acknowledgement'
|
|
1698
|
+
| 'sample_funds'
|
|
1699
|
+
| 'wire_drawdown_payment_intention'
|
|
1700
|
+
| 'wire_drawdown_payment_rejection'
|
|
1701
|
+
| 'wire_transfer_intention'
|
|
1702
|
+
| 'wire_transfer_rejection'
|
|
1703
|
+
| 'other'
|
|
1704
|
+
>;
|
|
1311
1705
|
|
|
1312
|
-
|
|
1706
|
+
/**
|
|
1707
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1708
|
+
* timestamp.
|
|
1709
|
+
*/
|
|
1710
|
+
'created_at.after'?: string;
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1714
|
+
* timestamp.
|
|
1715
|
+
*/
|
|
1716
|
+
'created_at.before'?: string;
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* Return results on or after this
|
|
1720
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1721
|
+
*/
|
|
1722
|
+
'created_at.on_or_after'?: string;
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* Return results on or before this
|
|
1726
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1727
|
+
*/
|
|
1728
|
+
'created_at.on_or_before'?: string;
|
|
1313
1729
|
|
|
1314
1730
|
/**
|
|
1315
|
-
* Filter Transactions for those belonging to the specified route.
|
|
1731
|
+
* Filter Transactions for those belonging to the specified route. This could be a
|
|
1732
|
+
* Card ID or an Account Number ID.
|
|
1316
1733
|
*/
|
|
1317
1734
|
route_id?: string;
|
|
1318
1735
|
}
|
|
@@ -1359,6 +1776,7 @@ export namespace TransactionListParams {
|
|
|
1359
1776
|
| 'card_dispute_acceptance'
|
|
1360
1777
|
| 'card_refund'
|
|
1361
1778
|
| 'card_settlement'
|
|
1779
|
+
| 'card_revenue_payment'
|
|
1362
1780
|
| 'check_deposit_acceptance'
|
|
1363
1781
|
| 'check_deposit_return'
|
|
1364
1782
|
| 'check_transfer_intention'
|
|
@@ -1367,6 +1785,7 @@ export namespace TransactionListParams {
|
|
|
1367
1785
|
| 'check_transfer_stop_payment_request'
|
|
1368
1786
|
| 'dispute_resolution'
|
|
1369
1787
|
| 'empyreal_cash_deposit'
|
|
1788
|
+
| 'fee_payment'
|
|
1370
1789
|
| 'inbound_ach_transfer'
|
|
1371
1790
|
| 'inbound_ach_transfer_return_intention'
|
|
1372
1791
|
| 'inbound_check'
|