increase 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +20 -5
- package/_shims/agent.node.ts +20 -0
- package/_shims/agent.ts +12 -0
- package/_shims/fetch.node.ts +11 -0
- package/_shims/fetch.ts +32 -0
- package/_shims/fileFromPath.node.ts +30 -0
- package/_shims/fileFromPath.ts +30 -0
- package/_shims/formdata.node.ts +9 -0
- package/_shims/formdata.ts +22 -0
- package/_shims/getMultipartRequestOptions.node.ts +24 -0
- package/_shims/getMultipartRequestOptions.ts +13 -0
- package/_shims/newFileArgs.ts +94 -0
- package/_shims/toFile.node.ts +25 -0
- package/_shims/toFile.ts +26 -0
- package/_shims/uploadable.node.ts +21 -0
- package/_shims/uploadable.ts +82 -0
- package/core.ts +34 -87
- package/dist/cjs/_shims/agent.d.ts +9 -0
- package/dist/cjs/_shims/agent.d.ts.map +1 -0
- package/dist/cjs/_shims/agent.js +14 -0
- package/dist/cjs/_shims/agent.js.map +1 -0
- package/dist/cjs/_shims/agent.node.d.ts +6 -0
- package/dist/cjs/_shims/agent.node.d.ts.map +1 -0
- package/dist/cjs/_shims/agent.node.js +28 -0
- package/dist/cjs/_shims/agent.node.js.map +1 -0
- package/dist/cjs/_shims/fetch.d.ts +19 -0
- package/dist/cjs/_shims/fetch.d.ts.map +1 -0
- package/dist/cjs/_shims/fetch.js +24 -0
- package/dist/cjs/_shims/fetch.js.map +1 -0
- package/dist/cjs/_shims/fetch.node.d.ts +9 -0
- package/dist/cjs/_shims/fetch.node.d.ts.map +1 -0
- package/dist/cjs/_shims/fetch.node.js +68 -0
- package/dist/cjs/_shims/fetch.node.js.map +1 -0
- package/dist/cjs/_shims/fileFromPath.d.ts +23 -0
- package/dist/cjs/_shims/fileFromPath.d.ts.map +1 -0
- package/dist/cjs/{tests/api-resources/simulations/programs.test.js → _shims/fileFromPath.js} +16 -19
- package/dist/cjs/_shims/fileFromPath.js.map +1 -0
- package/dist/cjs/_shims/fileFromPath.node.d.ts +18 -0
- package/dist/cjs/_shims/fileFromPath.node.d.ts.map +1 -0
- package/dist/cjs/{tests/form.test.js → _shims/fileFromPath.node.js} +16 -27
- package/dist/cjs/_shims/fileFromPath.node.js.map +1 -0
- package/dist/cjs/_shims/formdata.d.ts +13 -0
- package/dist/cjs/_shims/formdata.d.ts.map +1 -0
- package/dist/cjs/_shims/formdata.js +20 -0
- package/dist/cjs/_shims/formdata.js.map +1 -0
- package/dist/cjs/_shims/formdata.node.d.ts +7 -0
- package/dist/cjs/_shims/formdata.node.d.ts.map +1 -0
- package/dist/cjs/_shims/formdata.node.js +27 -0
- package/dist/cjs/_shims/formdata.node.js.map +1 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +10 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +1 -0
- package/dist/cjs/{tests/api-resources/simulations/documents.test.js → _shims/getMultipartRequestOptions.js} +11 -19
- package/dist/cjs/_shims/getMultipartRequestOptions.js.map +1 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +10 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
- package/dist/cjs/{tests/api-resources/simulations/card-refunds.test.js → _shims/getMultipartRequestOptions.node.js} +19 -19
- package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +1 -0
- package/dist/cjs/_shims/newFileArgs.d.ts +19 -0
- package/dist/cjs/_shims/newFileArgs.d.ts.map +1 -0
- package/dist/cjs/_shims/newFileArgs.js +169 -0
- package/dist/cjs/_shims/newFileArgs.js.map +1 -0
- package/dist/cjs/_shims/toFile.d.ts +21 -0
- package/dist/cjs/_shims/toFile.d.ts.map +1 -0
- package/dist/cjs/_shims/toFile.js +56 -0
- package/dist/cjs/_shims/toFile.js.map +1 -0
- package/dist/cjs/_shims/toFile.node.d.ts +20 -0
- package/dist/cjs/_shims/toFile.node.d.ts.map +1 -0
- package/dist/cjs/_shims/toFile.node.js +56 -0
- package/dist/cjs/_shims/toFile.node.js.map +1 -0
- package/dist/cjs/_shims/uploadable.d.ts +56 -0
- package/dist/cjs/_shims/uploadable.d.ts.map +1 -0
- package/dist/cjs/_shims/uploadable.js +37 -0
- package/dist/cjs/_shims/uploadable.js.map +1 -0
- package/dist/cjs/_shims/uploadable.node.d.ts +7 -0
- package/dist/cjs/_shims/uploadable.node.d.ts.map +1 -0
- package/dist/cjs/_shims/uploadable.node.js +23 -0
- package/dist/cjs/_shims/uploadable.node.js.map +1 -0
- package/dist/cjs/core.d.ts +6 -17
- package/dist/cjs/core.d.ts.map +1 -1
- package/dist/cjs/core.js +45 -74
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/error.js +28 -28
- package/dist/cjs/error.js.map +1 -1
- package/dist/cjs/index.d.ts +43 -3
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +48 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/pagination.d.ts +3 -1
- package/dist/cjs/pagination.d.ts.map +1 -1
- package/dist/cjs/pagination.js.map +1 -1
- package/dist/cjs/resources/account-numbers.d.ts +12 -4
- package/dist/cjs/resources/account-numbers.d.ts.map +1 -1
- package/dist/cjs/resources/account-numbers.js +44 -0
- package/dist/cjs/resources/account-numbers.js.map +1 -1
- package/dist/cjs/resources/account-statements.d.ts +10 -4
- package/dist/cjs/resources/account-statements.d.ts.map +1 -1
- package/dist/cjs/resources/account-statements.js +44 -0
- package/dist/cjs/resources/account-statements.js.map +1 -1
- package/dist/cjs/resources/account-transfers.d.ts +11 -4
- package/dist/cjs/resources/account-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/account-transfers.js +44 -0
- package/dist/cjs/resources/account-transfers.js.map +1 -1
- package/dist/cjs/resources/accounts.d.ts +12 -4
- package/dist/cjs/resources/accounts.d.ts.map +1 -1
- package/dist/cjs/resources/accounts.js +44 -0
- package/dist/cjs/resources/accounts.js.map +1 -1
- package/dist/cjs/resources/ach-prenotifications.d.ts +11 -4
- package/dist/cjs/resources/ach-prenotifications.d.ts.map +1 -1
- package/dist/cjs/resources/ach-prenotifications.js +44 -0
- package/dist/cjs/resources/ach-prenotifications.js.map +1 -1
- package/dist/cjs/resources/ach-transfers.d.ts +11 -5
- package/dist/cjs/resources/ach-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/ach-transfers.js +44 -0
- package/dist/cjs/resources/ach-transfers.js.map +1 -1
- package/dist/cjs/resources/balance-lookups.d.ts +5 -0
- package/dist/cjs/resources/balance-lookups.d.ts.map +1 -1
- package/dist/cjs/resources/balance-lookups.js +1 -0
- package/dist/cjs/resources/balance-lookups.js.map +1 -1
- package/dist/cjs/resources/bookkeeping-accounts.d.ts +11 -4
- package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-accounts.js +44 -0
- package/dist/cjs/resources/bookkeeping-accounts.js.map +1 -1
- package/dist/cjs/resources/bookkeeping-entries.d.ts +10 -4
- package/dist/cjs/resources/bookkeeping-entries.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-entries.js +44 -0
- package/dist/cjs/resources/bookkeeping-entries.js.map +1 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +17 -12
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.js +3 -0
- package/dist/cjs/resources/bookkeeping-entry-sets.js.map +1 -1
- package/dist/cjs/resources/card-disputes.d.ts +11 -4
- package/dist/cjs/resources/card-disputes.d.ts.map +1 -1
- package/dist/cjs/resources/card-disputes.js +44 -0
- package/dist/cjs/resources/card-disputes.js.map +1 -1
- package/dist/cjs/resources/card-profiles.d.ts +11 -4
- package/dist/cjs/resources/card-profiles.d.ts.map +1 -1
- package/dist/cjs/resources/card-profiles.js +44 -0
- package/dist/cjs/resources/card-profiles.js.map +1 -1
- package/dist/cjs/resources/cards.d.ts +15 -6
- package/dist/cjs/resources/cards.d.ts.map +1 -1
- package/dist/cjs/resources/cards.js +44 -0
- package/dist/cjs/resources/cards.js.map +1 -1
- package/dist/cjs/resources/check-deposits.d.ts +11 -4
- package/dist/cjs/resources/check-deposits.d.ts.map +1 -1
- package/dist/cjs/resources/check-deposits.js +44 -0
- package/dist/cjs/resources/check-deposits.js.map +1 -1
- package/dist/cjs/resources/check-transfers.d.ts +83 -75
- package/dist/cjs/resources/check-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/check-transfers.js +44 -0
- package/dist/cjs/resources/check-transfers.js.map +1 -1
- package/dist/cjs/resources/declined-transactions.d.ts +10 -4
- package/dist/cjs/resources/declined-transactions.d.ts.map +1 -1
- package/dist/cjs/resources/declined-transactions.js +44 -0
- package/dist/cjs/resources/declined-transactions.js.map +1 -1
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +10 -4
- package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/dist/cjs/resources/digital-wallet-tokens.js +44 -0
- package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -1
- package/dist/cjs/resources/documents.d.ts +12 -105
- package/dist/cjs/resources/documents.d.ts.map +1 -1
- package/dist/cjs/resources/documents.js +44 -0
- package/dist/cjs/resources/documents.js.map +1 -1
- package/dist/cjs/resources/entities/entities.d.ts +291 -279
- package/dist/cjs/resources/entities/entities.d.ts.map +1 -1
- package/dist/cjs/resources/entities/entities.js +46 -0
- package/dist/cjs/resources/entities/entities.js.map +1 -1
- package/dist/cjs/resources/entities/index.d.ts +2 -1
- package/dist/cjs/resources/entities/index.d.ts.map +1 -1
- package/dist/cjs/resources/entities/index.js +17 -1
- package/dist/cjs/resources/entities/index.js.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +7 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.js +44 -0
- package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -1
- package/dist/cjs/resources/event-subscriptions.d.ts +12 -4
- package/dist/cjs/resources/event-subscriptions.d.ts.map +1 -1
- package/dist/cjs/resources/event-subscriptions.js +44 -0
- package/dist/cjs/resources/event-subscriptions.js.map +1 -1
- package/dist/cjs/resources/events.d.ts +10 -4
- package/dist/cjs/resources/events.d.ts.map +1 -1
- package/dist/cjs/resources/events.js +44 -0
- package/dist/cjs/resources/events.js.map +1 -1
- package/dist/cjs/resources/exports.d.ts +11 -4
- package/dist/cjs/resources/exports.d.ts.map +1 -1
- package/dist/cjs/resources/exports.js +44 -0
- package/dist/cjs/resources/exports.js.map +1 -1
- package/dist/cjs/resources/external-accounts.d.ts +12 -4
- package/dist/cjs/resources/external-accounts.d.ts.map +1 -1
- package/dist/cjs/resources/external-accounts.js +44 -0
- package/dist/cjs/resources/external-accounts.js.map +1 -1
- package/dist/cjs/resources/files.d.ts +19 -6
- package/dist/cjs/resources/files.d.ts.map +1 -1
- package/dist/cjs/resources/files.js +82 -2
- package/dist/cjs/resources/files.js.map +1 -1
- package/dist/cjs/resources/groups.d.ts +8 -4
- package/dist/cjs/resources/groups.d.ts.map +1 -1
- package/dist/cjs/resources/groups.js +1 -0
- package/dist/cjs/resources/groups.js.map +1 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +7 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.js +46 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +10 -4
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js +47 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/limits.d.ts +8 -0
- package/dist/cjs/resources/limits.d.ts.map +1 -1
- package/dist/cjs/resources/limits.js +44 -0
- package/dist/cjs/resources/limits.js.map +1 -1
- package/dist/cjs/resources/oauth-connections.d.ts +10 -4
- package/dist/cjs/resources/oauth-connections.d.ts.map +1 -1
- package/dist/cjs/resources/oauth-connections.js +44 -0
- package/dist/cjs/resources/oauth-connections.js.map +1 -1
- package/dist/cjs/resources/pending-transactions.d.ts +14 -8
- package/dist/cjs/resources/pending-transactions.d.ts.map +1 -1
- package/dist/cjs/resources/pending-transactions.js +44 -0
- package/dist/cjs/resources/pending-transactions.js.map +1 -1
- package/dist/cjs/resources/programs.d.ts +10 -4
- package/dist/cjs/resources/programs.d.ts.map +1 -1
- package/dist/cjs/resources/programs.js +44 -0
- package/dist/cjs/resources/programs.js.map +1 -1
- package/dist/cjs/resources/real-time-decisions.d.ts +33 -28
- package/dist/cjs/resources/real-time-decisions.d.ts.map +1 -1
- package/dist/cjs/resources/real-time-decisions.js +3 -0
- package/dist/cjs/resources/real-time-decisions.js.map +1 -1
- package/dist/cjs/resources/real-time-payments-transfers.d.ts +26 -19
- package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/real-time-payments-transfers.js +46 -0
- package/dist/cjs/resources/real-time-payments-transfers.js.map +1 -1
- package/dist/cjs/resources/routing-numbers.d.ts +6 -0
- package/dist/cjs/resources/routing-numbers.d.ts.map +1 -1
- package/dist/cjs/resources/routing-numbers.js +44 -0
- package/dist/cjs/resources/routing-numbers.js.map +1 -1
- package/dist/cjs/resources/simulations/account-statements.d.ts +4 -0
- package/dist/cjs/resources/simulations/account-statements.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/account-statements.js +3 -0
- package/dist/cjs/resources/simulations/account-statements.js.map +1 -1
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +1236 -1201
- package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/ach-transfers.js +1 -0
- package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/card-disputes.d.ts +4 -0
- package/dist/cjs/resources/simulations/card-disputes.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/card-disputes.js +1 -0
- package/dist/cjs/resources/simulations/card-disputes.js.map +1 -1
- package/dist/cjs/resources/simulations/card-refunds.d.ts +4 -0
- package/dist/cjs/resources/simulations/card-refunds.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/card-refunds.js +1 -0
- package/dist/cjs/resources/simulations/card-refunds.js.map +1 -1
- package/dist/cjs/resources/simulations/cards.d.ts +453 -447
- package/dist/cjs/resources/simulations/cards.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/cards.js +1 -0
- package/dist/cjs/resources/simulations/cards.js.map +1 -1
- package/dist/cjs/resources/simulations/check-transfers.d.ts +4 -0
- package/dist/cjs/resources/simulations/check-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/check-transfers.js +1 -0
- package/dist/cjs/resources/simulations/check-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +5 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +4 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/dist/cjs/resources/simulations/documents.d.ts +4 -0
- package/dist/cjs/resources/simulations/documents.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/documents.js +1 -0
- package/dist/cjs/resources/simulations/documents.js.map +1 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +4 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/simulations/index.d.ts +23 -10
- package/dist/cjs/resources/simulations/index.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/index.js +129 -0
- package/dist/cjs/resources/simulations/index.js.map +1 -1
- package/dist/cjs/resources/simulations/interest-payments.d.ts +117 -82
- package/dist/cjs/resources/simulations/interest-payments.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/interest-payments.js +3 -0
- package/dist/cjs/resources/simulations/interest-payments.js.map +1 -1
- package/dist/cjs/resources/simulations/programs.d.ts +4 -0
- package/dist/cjs/resources/simulations/programs.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/programs.js +1 -0
- package/dist/cjs/resources/simulations/programs.js.map +1 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1236 -1200
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js +3 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/simulations.d.ts +40 -0
- package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/simulations.js +58 -0
- package/dist/cjs/resources/simulations/simulations.js.map +1 -1
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +117 -82
- package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/wire-transfers.js +1 -0
- package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -1
- package/dist/cjs/resources/transactions.d.ts +122 -85
- package/dist/cjs/resources/transactions.d.ts.map +1 -1
- package/dist/cjs/resources/transactions.js +44 -0
- package/dist/cjs/resources/transactions.js.map +1 -1
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +11 -4
- package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/wire-drawdown-requests.js +44 -0
- package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/wire-transfers.d.ts +11 -4
- package/dist/cjs/resources/wire-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/wire-transfers.js +44 -0
- package/dist/cjs/resources/wire-transfers.js.map +1 -1
- package/dist/cjs/streaming.d.ts +1 -2
- package/dist/cjs/streaming.d.ts.map +1 -1
- package/dist/cjs/streaming.js +2 -0
- package/dist/cjs/streaming.js.map +1 -1
- package/dist/cjs/uploads.d.ts +24 -0
- package/dist/cjs/uploads.d.ts.map +1 -0
- package/dist/cjs/uploads.js +121 -0
- package/dist/cjs/uploads.js.map +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/_shims/agent.d.ts +9 -0
- package/dist/esm/_shims/agent.d.ts.map +1 -0
- package/dist/esm/_shims/agent.js +10 -0
- package/dist/esm/_shims/agent.js.map +1 -0
- package/dist/esm/_shims/agent.node.d.ts +6 -0
- package/dist/esm/_shims/agent.node.d.ts.map +1 -0
- package/dist/esm/_shims/agent.node.js +16 -0
- package/dist/esm/_shims/agent.node.js.map +1 -0
- package/dist/esm/_shims/fetch.d.ts +19 -0
- package/dist/esm/_shims/fetch.d.ts.map +1 -0
- package/dist/esm/_shims/fetch.js +18 -0
- package/dist/esm/_shims/fetch.js.map +1 -0
- package/dist/esm/_shims/fetch.node.d.ts +9 -0
- package/dist/esm/_shims/fetch.node.d.ts.map +1 -0
- package/dist/esm/_shims/fetch.node.js +7 -0
- package/dist/esm/_shims/fetch.node.js.map +1 -0
- package/dist/esm/_shims/fileFromPath.d.ts +23 -0
- package/dist/esm/_shims/fileFromPath.d.ts.map +1 -0
- package/dist/esm/_shims/fileFromPath.js +12 -0
- package/dist/esm/_shims/fileFromPath.js.map +1 -0
- package/dist/esm/_shims/fileFromPath.node.d.ts +18 -0
- package/dist/esm/_shims/fileFromPath.node.d.ts.map +1 -0
- package/dist/esm/_shims/fileFromPath.node.js +13 -0
- package/dist/esm/_shims/fileFromPath.node.js.map +1 -0
- package/dist/esm/_shims/formdata.d.ts +13 -0
- package/dist/esm/_shims/formdata.d.ts.map +1 -0
- package/dist/esm/_shims/formdata.js +15 -0
- package/dist/esm/_shims/formdata.js.map +1 -0
- package/dist/esm/_shims/formdata.node.d.ts +7 -0
- package/dist/esm/_shims/formdata.node.d.ts.map +1 -0
- package/dist/esm/_shims/formdata.node.js +7 -0
- package/dist/esm/_shims/formdata.node.js.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.d.ts +10 -0
- package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.js +7 -0
- package/dist/esm/_shims/getMultipartRequestOptions.js.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts +10 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.js +17 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +1 -0
- package/dist/esm/_shims/newFileArgs.d.ts +19 -0
- package/dist/esm/_shims/newFileArgs.d.ts.map +1 -0
- package/dist/esm/_shims/newFileArgs.js +66 -0
- package/dist/esm/_shims/newFileArgs.js.map +1 -0
- package/dist/esm/_shims/toFile.d.ts +21 -0
- package/dist/esm/_shims/toFile.d.ts.map +1 -0
- package/dist/esm/_shims/toFile.js +19 -0
- package/dist/esm/_shims/toFile.js.map +1 -0
- package/dist/esm/_shims/toFile.node.d.ts +20 -0
- package/dist/esm/_shims/toFile.node.d.ts.map +1 -0
- package/dist/esm/_shims/toFile.node.js +19 -0
- package/dist/esm/_shims/toFile.node.js.map +1 -0
- package/dist/esm/_shims/uploadable.d.ts +56 -0
- package/dist/esm/_shims/uploadable.d.ts.map +1 -0
- package/dist/esm/_shims/uploadable.js +30 -0
- package/dist/esm/_shims/uploadable.js.map +1 -0
- package/dist/esm/_shims/uploadable.node.d.ts +7 -0
- package/dist/esm/_shims/uploadable.node.d.ts.map +1 -0
- package/dist/esm/_shims/uploadable.node.js +10 -0
- package/dist/esm/_shims/uploadable.node.js.map +1 -0
- package/dist/esm/check-version.d.ts +2 -0
- package/dist/esm/check-version.d.ts.map +1 -0
- package/dist/esm/check-version.js +16 -0
- package/dist/esm/check-version.js.map +1 -0
- package/dist/esm/core.d.ts +221 -0
- package/dist/esm/core.d.ts.map +1 -0
- package/dist/esm/core.js +556 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/error.d.ts +208 -0
- package/dist/esm/error.d.ts.map +1 -0
- package/dist/esm/error.js +275 -0
- package/dist/esm/error.js.map +1 -0
- package/dist/esm/index.d.ts +301 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +213 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagination.d.ts +34 -0
- package/dist/esm/pagination.d.ts.map +1 -0
- package/dist/esm/pagination.js +26 -0
- package/dist/esm/pagination.js.map +1 -0
- package/dist/esm/resource.d.ts +12 -0
- package/dist/esm/resource.d.ts.map +1 -0
- package/dist/esm/resource.js +13 -0
- package/dist/esm/resource.js.map +1 -0
- package/dist/esm/resources/account-numbers.d.ts +137 -0
- package/dist/esm/resources/account-numbers.d.ts.map +1 -0
- package/dist/esm/resources/account-numbers.js +36 -0
- package/dist/esm/resources/account-numbers.js.map +1 -0
- package/dist/esm/resources/account-statements.d.ts +106 -0
- package/dist/esm/resources/account-statements.d.ts.map +1 -0
- package/dist/esm/resources/account-statements.js +24 -0
- package/dist/esm/resources/account-statements.js.map +1 -0
- package/dist/esm/resources/account-transfers.d.ts +205 -0
- package/dist/esm/resources/account-transfers.d.ts.map +1 -0
- package/dist/esm/resources/account-transfers.js +42 -0
- package/dist/esm/resources/account-transfers.js.map +1 -0
- package/dist/esm/resources/accounts.d.ts +163 -0
- package/dist/esm/resources/accounts.d.ts.map +1 -0
- package/dist/esm/resources/accounts.js +42 -0
- package/dist/esm/resources/accounts.js.map +1 -0
- package/dist/esm/resources/ach-prenotifications.d.ts +199 -0
- package/dist/esm/resources/ach-prenotifications.d.ts.map +1 -0
- package/dist/esm/resources/ach-prenotifications.js +30 -0
- package/dist/esm/resources/ach-prenotifications.js.map +1 -0
- package/dist/esm/resources/ach-transfers.d.ts +461 -0
- package/dist/esm/resources/ach-transfers.d.ts.map +1 -0
- package/dist/esm/resources/ach-transfers.js +42 -0
- package/dist/esm/resources/ach-transfers.js.map +1 -0
- package/dist/esm/resources/balance-lookups.d.ts +52 -0
- package/dist/esm/resources/balance-lookups.d.ts.map +1 -0
- package/dist/esm/resources/balance-lookups.js +12 -0
- package/dist/esm/resources/balance-lookups.js.map +1 -0
- package/dist/esm/resources/bookkeeping-accounts.d.ts +78 -0
- package/dist/esm/resources/bookkeeping-accounts.d.ts.map +1 -0
- package/dist/esm/resources/bookkeeping-accounts.js +24 -0
- package/dist/esm/resources/bookkeeping-accounts.js.map +1 -0
- package/dist/esm/resources/bookkeeping-entries.d.ts +49 -0
- package/dist/esm/resources/bookkeeping-entries.d.ts.map +1 -0
- package/dist/esm/resources/bookkeeping-entries.js +18 -0
- package/dist/esm/resources/bookkeeping-entries.js.map +1 -0
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts +88 -0
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +1 -0
- package/dist/esm/resources/bookkeeping-entry-sets.js +12 -0
- package/dist/esm/resources/bookkeeping-entry-sets.js.map +1 -0
- package/dist/esm/resources/card-disputes.d.ts +160 -0
- package/dist/esm/resources/card-disputes.d.ts.map +1 -0
- package/dist/esm/resources/card-disputes.js +30 -0
- package/dist/esm/resources/card-disputes.js.map +1 -0
- package/dist/esm/resources/card-profiles.d.ts +206 -0
- package/dist/esm/resources/card-profiles.d.ts.map +1 -0
- package/dist/esm/resources/card-profiles.js +30 -0
- package/dist/esm/resources/card-profiles.js.map +1 -0
- package/dist/esm/resources/cards.d.ts +354 -0
- package/dist/esm/resources/cards.d.ts.map +1 -0
- package/dist/esm/resources/cards.js +42 -0
- package/dist/esm/resources/cards.js.map +1 -0
- package/dist/esm/resources/check-deposits.d.ts +263 -0
- package/dist/esm/resources/check-deposits.d.ts.map +1 -0
- package/dist/esm/resources/check-deposits.js +30 -0
- package/dist/esm/resources/check-deposits.js.map +1 -0
- package/dist/esm/resources/check-transfers.d.ts +438 -0
- package/dist/esm/resources/check-transfers.d.ts.map +1 -0
- package/dist/esm/resources/check-transfers.js +48 -0
- package/dist/esm/resources/check-transfers.js.map +1 -0
- package/dist/esm/resources/declined-transactions.d.ts +492 -0
- package/dist/esm/resources/declined-transactions.d.ts.map +1 -0
- package/dist/esm/resources/declined-transactions.js +24 -0
- package/dist/esm/resources/declined-transactions.js.map +1 -0
- package/dist/esm/resources/digital-wallet-tokens.d.ts +92 -0
- package/dist/esm/resources/digital-wallet-tokens.d.ts.map +1 -0
- package/dist/esm/resources/digital-wallet-tokens.js +24 -0
- package/dist/esm/resources/digital-wallet-tokens.js.map +1 -0
- package/dist/esm/resources/documents.d.ts +95 -0
- package/dist/esm/resources/documents.d.ts.map +1 -0
- package/dist/esm/resources/documents.js +24 -0
- package/dist/esm/resources/documents.js.map +1 -0
- package/dist/esm/resources/entities/entities.d.ts +1622 -0
- package/dist/esm/resources/entities/entities.d.ts.map +1 -0
- package/dist/esm/resources/entities/entities.js +37 -0
- package/dist/esm/resources/entities/entities.js.map +1 -0
- package/dist/esm/resources/entities/index.d.ts +9 -0
- package/dist/esm/resources/entities/index.d.ts.map +1 -0
- package/dist/esm/resources/entities/index.js +4 -0
- package/dist/esm/resources/entities/index.js.map +1 -0
- package/dist/esm/resources/entities/supplemental-documents.d.ts +62 -0
- package/dist/esm/resources/entities/supplemental-documents.d.ts.map +1 -0
- package/dist/esm/resources/entities/supplemental-documents.js +26 -0
- package/dist/esm/resources/entities/supplemental-documents.js.map +1 -0
- package/dist/esm/resources/event-subscriptions.d.ts +209 -0
- package/dist/esm/resources/event-subscriptions.d.ts.map +1 -0
- package/dist/esm/resources/event-subscriptions.js +36 -0
- package/dist/esm/resources/event-subscriptions.js.map +1 -0
- package/dist/esm/resources/events.d.ts +195 -0
- package/dist/esm/resources/events.d.ts.map +1 -0
- package/dist/esm/resources/events.js +24 -0
- package/dist/esm/resources/events.js.map +1 -0
- package/dist/esm/resources/exports.d.ts +169 -0
- package/dist/esm/resources/exports.d.ts.map +1 -0
- package/dist/esm/resources/exports.js +30 -0
- package/dist/esm/resources/exports.js.map +1 -0
- package/dist/esm/resources/external-accounts.d.ts +131 -0
- package/dist/esm/resources/external-accounts.d.ts.map +1 -0
- package/dist/esm/resources/external-accounts.js +36 -0
- package/dist/esm/resources/external-accounts.js.map +1 -0
- package/dist/esm/resources/files.d.ts +167 -0
- package/dist/esm/resources/files.d.ts.map +1 -0
- package/dist/esm/resources/files.js +33 -0
- package/dist/esm/resources/files.js.map +1 -0
- package/dist/esm/resources/groups.d.ts +42 -0
- package/dist/esm/resources/groups.d.ts.map +1 -0
- package/dist/esm/resources/groups.js +12 -0
- package/dist/esm/resources/groups.js.map +1 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +117 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.js +33 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.js.map +1 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +131 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.js +27 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/esm/resources/index.d.ts +199 -0
- package/dist/esm/resources/index.d.ts.map +1 -0
- package/dist/esm/resources/index.js +44 -0
- package/dist/esm/resources/index.js.map +1 -0
- package/dist/esm/resources/limits.d.ts +114 -0
- package/dist/esm/resources/limits.d.ts.map +1 -0
- package/dist/esm/resources/limits.js +36 -0
- package/dist/esm/resources/limits.js.map +1 -0
- package/dist/esm/resources/oauth-connections.d.ts +57 -0
- package/dist/esm/resources/oauth-connections.d.ts.map +1 -0
- package/dist/esm/resources/oauth-connections.js +24 -0
- package/dist/esm/resources/oauth-connections.js.map +1 -0
- package/dist/esm/resources/pending-transactions.d.ts +482 -0
- package/dist/esm/resources/pending-transactions.d.ts.map +1 -0
- package/dist/esm/resources/pending-transactions.js +24 -0
- package/dist/esm/resources/pending-transactions.js.map +1 -0
- package/dist/esm/resources/programs.d.ts +54 -0
- package/dist/esm/resources/programs.d.ts.map +1 -0
- package/dist/esm/resources/programs.js +24 -0
- package/dist/esm/resources/programs.js.map +1 -0
- package/dist/esm/resources/real-time-decisions.d.ts +330 -0
- package/dist/esm/resources/real-time-decisions.d.ts.map +1 -0
- package/dist/esm/resources/real-time-decisions.js +18 -0
- package/dist/esm/resources/real-time-decisions.js.map +1 -0
- package/dist/esm/resources/real-time-payments-transfers.d.ts +294 -0
- package/dist/esm/resources/real-time-payments-transfers.d.ts.map +1 -0
- package/dist/esm/resources/real-time-payments-transfers.js +33 -0
- package/dist/esm/resources/real-time-payments-transfers.js.map +1 -0
- package/dist/esm/resources/routing-numbers.d.ts +56 -0
- package/dist/esm/resources/routing-numbers.d.ts.map +1 -0
- package/dist/esm/resources/routing-numbers.js +20 -0
- package/dist/esm/resources/routing-numbers.js.map +1 -0
- package/dist/esm/resources/shared.d.ts +16 -0
- package/dist/esm/resources/shared.d.ts.map +1 -0
- package/dist/esm/resources/shared.js +3 -0
- package/dist/esm/resources/shared.js.map +1 -0
- package/dist/esm/resources/simulations/account-statements.d.ts +24 -0
- package/dist/esm/resources/simulations/account-statements.d.ts.map +1 -0
- package/dist/esm/resources/simulations/account-statements.js +13 -0
- package/dist/esm/resources/simulations/account-statements.js.map +1 -0
- package/dist/esm/resources/simulations/account-transfers.d.ts +16 -0
- package/dist/esm/resources/simulations/account-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/account-transfers.js +14 -0
- package/dist/esm/resources/simulations/account-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/ach-transfers.d.ts +1836 -0
- package/dist/esm/resources/simulations/ach-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/ach-transfers.js +36 -0
- package/dist/esm/resources/simulations/ach-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/card-disputes.d.ts +31 -0
- package/dist/esm/resources/simulations/card-disputes.d.ts.map +1 -0
- package/dist/esm/resources/simulations/card-disputes.js +15 -0
- package/dist/esm/resources/simulations/card-disputes.js.map +1 -0
- package/dist/esm/resources/simulations/card-refunds.d.ts +25 -0
- package/dist/esm/resources/simulations/card-refunds.d.ts.map +1 -0
- package/dist/esm/resources/simulations/card-refunds.js +13 -0
- package/dist/esm/resources/simulations/card-refunds.js.map +1 -0
- package/dist/esm/resources/simulations/cards.d.ts +931 -0
- package/dist/esm/resources/simulations/cards.d.ts.map +1 -0
- package/dist/esm/resources/simulations/cards.js +28 -0
- package/dist/esm/resources/simulations/cards.js.map +1 -0
- package/dist/esm/resources/simulations/check-deposits.d.ts +31 -0
- package/dist/esm/resources/simulations/check-deposits.d.ts.map +1 -0
- package/dist/esm/resources/simulations/check-deposits.js +27 -0
- package/dist/esm/resources/simulations/check-deposits.js.map +1 -0
- package/dist/esm/resources/simulations/check-transfers.d.ts +42 -0
- package/dist/esm/resources/simulations/check-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/check-transfers.js +28 -0
- package/dist/esm/resources/simulations/check-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +49 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js +13 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +1 -0
- package/dist/esm/resources/simulations/documents.d.ts +23 -0
- package/dist/esm/resources/simulations/documents.d.ts.map +1 -0
- package/dist/esm/resources/simulations/documents.js +12 -0
- package/dist/esm/resources/simulations/documents.js.map +1 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +15 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/esm/resources/simulations/index.d.ts +38 -0
- package/dist/esm/resources/simulations/index.d.ts.map +1 -0
- package/dist/esm/resources/simulations/index.js +18 -0
- package/dist/esm/resources/simulations/index.js.map +1 -0
- package/dist/esm/resources/simulations/interest-payments.d.ts +1272 -0
- package/dist/esm/resources/simulations/interest-payments.d.ts.map +1 -0
- package/dist/esm/resources/simulations/interest-payments.js +13 -0
- package/dist/esm/resources/simulations/interest-payments.js.map +1 -0
- package/dist/esm/resources/simulations/programs.d.ts +25 -0
- package/dist/esm/resources/simulations/programs.d.ts.map +1 -0
- package/dist/esm/resources/simulations/programs.js +14 -0
- package/dist/esm/resources/simulations/programs.js.map +1 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +1782 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.js +24 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/simulations.d.ts +74 -0
- package/dist/esm/resources/simulations/simulations.d.ts.map +1 -0
- package/dist/esm/resources/simulations/simulations.js +56 -0
- package/dist/esm/resources/simulations/simulations.js.map +1 -0
- package/dist/esm/resources/simulations/wire-transfers.d.ts +1338 -0
- package/dist/esm/resources/simulations/wire-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/wire-transfers.js +12 -0
- package/dist/esm/resources/simulations/wire-transfers.js.map +1 -0
- package/dist/esm/resources/transactions.d.ts +1326 -0
- package/dist/esm/resources/transactions.d.ts.map +1 -0
- package/dist/esm/resources/transactions.js +24 -0
- package/dist/esm/resources/transactions.js.map +1 -0
- package/dist/esm/resources/wire-drawdown-requests.d.ts +160 -0
- package/dist/esm/resources/wire-drawdown-requests.d.ts.map +1 -0
- package/dist/esm/resources/wire-drawdown-requests.js +30 -0
- package/dist/esm/resources/wire-drawdown-requests.js.map +1 -0
- package/dist/esm/resources/wire-transfers.d.ts +352 -0
- package/dist/esm/resources/wire-transfers.d.ts.map +1 -0
- package/dist/esm/resources/wire-transfers.js +59 -0
- package/dist/esm/resources/wire-transfers.js.map +1 -0
- package/dist/esm/streaming.d.ts +12 -0
- package/dist/esm/streaming.d.ts.map +1 -0
- package/dist/esm/streaming.js +150 -0
- package/dist/esm/streaming.js.map +1 -0
- package/dist/esm/uploads.d.ts +24 -0
- package/dist/esm/uploads.d.ts.map +1 -0
- package/dist/esm/uploads.js +61 -0
- package/dist/esm/uploads.js.map +1 -0
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.d.ts.map +1 -0
- package/dist/esm/version.js +2 -0
- package/dist/esm/version.js.map +1 -0
- package/error.ts +29 -29
- package/index.ts +46 -7
- package/package.json +85 -5
- package/pagination.ts +4 -1
- package/resources/account-numbers.ts +14 -5
- package/resources/account-statements.ts +12 -5
- package/resources/account-transfers.ts +13 -5
- package/resources/accounts.ts +14 -5
- package/resources/ach-prenotifications.ts +13 -5
- package/resources/ach-transfers.ts +13 -6
- package/resources/balance-lookups.ts +6 -0
- package/resources/bookkeeping-accounts.ts +13 -5
- package/resources/bookkeeping-entries.ts +12 -5
- package/resources/bookkeeping-entry-sets.ts +20 -14
- package/resources/card-disputes.ts +13 -5
- package/resources/card-profiles.ts +13 -5
- package/resources/cards.ts +17 -7
- package/resources/check-deposits.ts +13 -5
- package/resources/check-transfers.ts +91 -82
- package/resources/declined-transactions.ts +12 -5
- package/resources/digital-wallet-tokens.ts +12 -5
- package/resources/documents.ts +14 -106
- package/resources/entities/entities.ts +349 -335
- package/resources/entities/index.ts +2 -1
- package/resources/entities/supplemental-documents.ts +8 -0
- package/resources/event-subscriptions.ts +13 -4
- package/resources/events.ts +12 -5
- package/resources/exports.ts +13 -5
- package/resources/external-accounts.ts +14 -5
- package/resources/files.ts +23 -10
- package/resources/groups.ts +10 -5
- package/resources/inbound-ach-transfer-returns.ts +8 -0
- package/resources/inbound-wire-drawdown-requests.ts +12 -5
- package/resources/limits.ts +9 -0
- package/resources/oauth-connections.ts +12 -5
- package/resources/pending-transactions.ts +17 -10
- package/resources/programs.ts +12 -5
- package/resources/real-time-decisions.ts +39 -33
- package/resources/real-time-payments-transfers.ts +30 -22
- package/resources/routing-numbers.ts +7 -0
- package/resources/simulations/account-statements.ts +5 -0
- package/resources/simulations/ach-transfers.ts +1372 -1331
- package/resources/simulations/card-disputes.ts +5 -0
- package/resources/simulations/card-refunds.ts +5 -0
- package/resources/simulations/cards.ts +530 -523
- package/resources/simulations/check-transfers.ts +5 -0
- package/resources/simulations/digital-wallet-token-requests.ts +6 -0
- package/resources/simulations/documents.ts +5 -0
- package/resources/simulations/inbound-wire-drawdown-requests.ts +5 -0
- package/resources/simulations/index.ts +23 -10
- package/resources/simulations/interest-payments.ts +145 -104
- package/resources/simulations/programs.ts +5 -0
- package/resources/simulations/real-time-payments-transfers.ts +1373 -1331
- package/resources/simulations/simulations.ts +55 -0
- package/resources/simulations/wire-transfers.ts +145 -104
- package/resources/transactions.ts +150 -107
- package/resources/wire-drawdown-requests.ts +13 -5
- package/resources/wire-transfers.ts +13 -5
- package/streaming.ts +3 -1
- package/uploads.ts +81 -0
- package/version.ts +1 -1
- package/.eslintrc.js +0 -10
- package/.prettierignore +0 -1
- package/.prettierrc +0 -6
- package/.release-please-manifest.json +0 -3
- package/.stats.yml +0 -1
- package/api.md +0 -576
- package/bin/check-release-environment +0 -25
- package/bin/check-test-server +0 -50
- package/bin/publish-npm +0 -6
- package/build +0 -12
- package/dist/cjs/examples/api-error.d.ts +0 -3
- package/dist/cjs/examples/api-error.d.ts.map +0 -1
- package/dist/cjs/examples/api-error.js +0 -92
- package/dist/cjs/examples/api-error.js.map +0 -1
- package/dist/cjs/fetch-polyfill.d.ts +0 -6
- package/dist/cjs/fetch-polyfill.d.ts.map +0 -1
- package/dist/cjs/fetch-polyfill.js +0 -57
- package/dist/cjs/fetch-polyfill.js.map +0 -1
- package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/account-numbers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/account-numbers.test.js +0 -101
- package/dist/cjs/tests/api-resources/account-numbers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/account-statements.test.js +0 -88
- package/dist/cjs/tests/api-resources/account-statements.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/account-transfers.test.js +0 -133
- package/dist/cjs/tests/api-resources/account-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/accounts.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/accounts.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/accounts.test.js +0 -118
- package/dist/cjs/tests/api-resources/accounts.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +0 -113
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ach-transfers.test.js +0 -145
- package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/balance-lookups.test.js +0 -55
- package/dist/cjs/tests/api-resources/balance-lookups.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js +0 -78
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js +0 -65
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js +0 -66
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/card-disputes.test.js +0 -102
- package/dist/cjs/tests/api-resources/card-disputes.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/card-profiles.test.js +0 -106
- package/dist/cjs/tests/api-resources/card-profiles.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/cards.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/cards.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/cards.test.js +0 -116
- package/dist/cjs/tests/api-resources/cards.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/check-deposits.test.js +0 -110
- package/dist/cjs/tests/api-resources/check-deposits.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/check-transfers.test.js +0 -159
- package/dist/cjs/tests/api-resources/check-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/declined-transactions.test.js +0 -91
- package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +0 -90
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/documents.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/documents.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/documents.test.js +0 -93
- package/dist/cjs/tests/api-resources/documents.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/entities/entities.test.js +0 -289
- package/dist/cjs/tests/api-resources/entities/entities.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +0 -68
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js +0 -99
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/events.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/events.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/events.test.js +0 -87
- package/dist/cjs/tests/api-resources/events.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/exports.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/exports.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/exports.test.js +0 -101
- package/dist/cjs/tests/api-resources/exports.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/external-accounts.test.js +0 -99
- package/dist/cjs/tests/api-resources/external-accounts.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/files.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/files.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/files.test.js +0 -104
- package/dist/cjs/tests/api-resources/files.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/groups.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/groups.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/groups.test.js +0 -55
- package/dist/cjs/tests/api-resources/groups.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +0 -94
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +0 -80
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/limits.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/limits.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/limits.test.js +0 -97
- package/dist/cjs/tests/api-resources/limits.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/oauth-connections.test.js +0 -75
- package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/pending-transactions.test.js +0 -93
- package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/programs.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/programs.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/programs.test.js +0 -73
- package/dist/cjs/tests/api-resources/programs.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js +0 -61
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js +0 -113
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/routing-numbers.test.js +0 -56
- package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +0 -52
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +0 -61
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +0 -86
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +0 -57
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/cards.test.js +0 -72
- package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +0 -87
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +0 -92
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +0 -52
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +0 -82
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js +0 -58
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/programs.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +0 -70
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +0 -71
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/transactions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/transactions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/transactions.test.js +0 -92
- package/dist/cjs/tests/api-resources/transactions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +0 -107
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/wire-transfers.test.js +0 -170
- package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +0 -1
- package/dist/cjs/tests/form.test.d.ts +0 -2
- package/dist/cjs/tests/form.test.d.ts.map +0 -1
- package/dist/cjs/tests/form.test.js.map +0 -1
- package/dist/cjs/tests/index.test.d.ts +0 -2
- package/dist/cjs/tests/index.test.d.ts.map +0 -1
- package/dist/cjs/tests/index.test.js +0 -113
- package/dist/cjs/tests/index.test.js.map +0 -1
- package/dist/cjs/tests/responses.test.d.ts +0 -2
- package/dist/cjs/tests/responses.test.d.ts.map +0 -1
- package/dist/cjs/tests/responses.test.js +0 -60
- package/dist/cjs/tests/responses.test.js.map +0 -1
- package/examples/api-error.ts +0 -21
- package/fetch-polyfill.ts +0 -69
- package/jest.config.js +0 -8
- package/release-please-config.json +0 -61
- package/tests/api-resources/account-numbers.test.ts +0 -64
- package/tests/api-resources/account-statements.test.ts +0 -51
- package/tests/api-resources/account-transfers.test.ts +0 -96
- package/tests/api-resources/accounts.test.ts +0 -81
- package/tests/api-resources/ach-prenotifications.test.ts +0 -74
- package/tests/api-resources/ach-transfers.test.ts +0 -106
- package/tests/api-resources/balance-lookups.test.ts +0 -18
- package/tests/api-resources/bookkeeping-accounts.test.ts +0 -38
- package/tests/api-resources/bookkeeping-entries.test.ts +0 -25
- package/tests/api-resources/bookkeeping-entry-sets.test.ts +0 -29
- package/tests/api-resources/card-disputes.test.ts +0 -65
- package/tests/api-resources/card-profiles.test.ts +0 -69
- package/tests/api-resources/cards.test.ts +0 -79
- package/tests/api-resources/check-deposits.test.ts +0 -71
- package/tests/api-resources/check-transfers.test.ts +0 -122
- package/tests/api-resources/declined-transactions.test.ts +0 -54
- package/tests/api-resources/digital-wallet-tokens.test.ts +0 -51
- package/tests/api-resources/documents.test.ts +0 -52
- package/tests/api-resources/entities/entities.test.ts +0 -249
- package/tests/api-resources/entities/supplemental-documents.test.ts +0 -31
- package/tests/api-resources/event-subscriptions.test.ts +0 -59
- package/tests/api-resources/events.test.ts +0 -50
- package/tests/api-resources/exports.test.ts +0 -64
- package/tests/api-resources/external-accounts.test.ts +0 -62
- package/tests/api-resources/files.test.ts +0 -67
- package/tests/api-resources/groups.test.ts +0 -18
- package/tests/api-resources/inbound-ach-transfer-returns.test.ts +0 -57
- package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +0 -43
- package/tests/api-resources/limits.test.ts +0 -60
- package/tests/api-resources/oauth-connections.test.ts +0 -38
- package/tests/api-resources/pending-transactions.test.ts +0 -54
- package/tests/api-resources/programs.test.ts +0 -36
- package/tests/api-resources/real-time-decisions.test.ts +0 -24
- package/tests/api-resources/real-time-payments-transfers.test.ts +0 -76
- package/tests/api-resources/routing-numbers.test.ts +0 -19
- package/tests/api-resources/simulations/account-statements.test.ts +0 -15
- package/tests/api-resources/simulations/account-transfers.test.ts +0 -24
- package/tests/api-resources/simulations/ach-transfers.test.ts +0 -46
- package/tests/api-resources/simulations/card-disputes.test.ts +0 -20
- package/tests/api-resources/simulations/card-refunds.test.ts +0 -15
- package/tests/api-resources/simulations/cards.test.ts +0 -35
- package/tests/api-resources/simulations/check-deposits.test.ts +0 -50
- package/tests/api-resources/simulations/check-transfers.test.ts +0 -47
- package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +0 -15
- package/tests/api-resources/simulations/documents.test.ts +0 -15
- package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +0 -45
- package/tests/api-resources/simulations/interest-payments.test.ts +0 -15
- package/tests/api-resources/simulations/programs.test.ts +0 -15
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +0 -33
- package/tests/api-resources/simulations/wire-transfers.test.ts +0 -34
- package/tests/api-resources/transactions.test.ts +0 -53
- package/tests/api-resources/wire-drawdown-requests.test.ts +0 -70
- package/tests/api-resources/wire-transfers.test.ts +0 -133
- package/tests/form.test.ts +0 -27
- package/tests/index.test.ts +0 -83
- package/tests/responses.test.ts +0 -25
- package/tsconfig.cjs.json +0 -8
- package/tsconfig.json +0 -39
- package/typings/digest-fetch/index.d.ts +0 -33
|
@@ -4,6 +4,7 @@ import * as Core from '~/core';
|
|
|
4
4
|
import { APIResource } from '~/resource';
|
|
5
5
|
import * as Transactions from '~/resources/transactions';
|
|
6
6
|
import * as Shared from '~/resources/shared';
|
|
7
|
+
import * as API from './';
|
|
7
8
|
|
|
8
9
|
export class Cards extends APIResource {
|
|
9
10
|
/**
|
|
@@ -64,232 +65,200 @@ export interface CardAuthorizationSimulation {
|
|
|
64
65
|
|
|
65
66
|
export namespace CardAuthorizationSimulation {
|
|
66
67
|
/**
|
|
67
|
-
* If the authorization attempt
|
|
68
|
-
* Transaction object. The
|
|
69
|
-
* `category:
|
|
68
|
+
* If the authorization attempt fails, this will contain the resulting
|
|
69
|
+
* [Declined Transaction](#declined-transactions) object. The Declined
|
|
70
|
+
* Transaction's `source` will be of `category: card_decline`.
|
|
70
71
|
*/
|
|
71
|
-
export interface
|
|
72
|
+
export interface DeclinedTransaction {
|
|
72
73
|
/**
|
|
73
|
-
* The
|
|
74
|
+
* The Declined Transaction identifier.
|
|
74
75
|
*/
|
|
75
|
-
|
|
76
|
+
id: string;
|
|
76
77
|
|
|
77
78
|
/**
|
|
78
|
-
* The
|
|
79
|
-
* for example, this is cents.
|
|
79
|
+
* The identifier for the Account the Declined Transaction belongs to.
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
account_id: string;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* The
|
|
85
|
-
*
|
|
84
|
+
* The Declined Transaction amount in the minor unit of its currency. For dollars,
|
|
85
|
+
* for example, this is cents.
|
|
86
86
|
*/
|
|
87
|
-
|
|
87
|
+
amount: number;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
|
|
90
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
|
|
91
91
|
* Transaction occured.
|
|
92
92
|
*/
|
|
93
93
|
created_at: string;
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
97
|
-
* Transaction's currency. This will match the currency on the
|
|
96
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
|
|
97
|
+
* Transaction's currency. This will match the currency on the Declined
|
|
98
98
|
* Transcation's Account.
|
|
99
99
|
*/
|
|
100
100
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
104
|
-
* provide. For a Pending Transaction related to a payment, this is the description
|
|
105
|
-
* the vendor provides.
|
|
103
|
+
* This is the description the vendor provides.
|
|
106
104
|
*/
|
|
107
105
|
description: string;
|
|
108
106
|
|
|
109
107
|
/**
|
|
110
|
-
* The
|
|
111
|
-
*/
|
|
112
|
-
id: string;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* The identifier for the route this Pending Transaction came through. Routes are
|
|
108
|
+
* The identifier for the route this Declined Transaction came through. Routes are
|
|
116
109
|
* things like cards and ACH details.
|
|
117
110
|
*/
|
|
118
111
|
route_id: string | null;
|
|
119
112
|
|
|
120
113
|
/**
|
|
121
|
-
* The type of the route this
|
|
114
|
+
* The type of the route this Declined Transaction came through.
|
|
122
115
|
*/
|
|
123
116
|
route_type: 'account_number' | 'card' | null;
|
|
124
117
|
|
|
125
118
|
/**
|
|
126
119
|
* This is an object giving more details on the network-level event that caused the
|
|
127
|
-
*
|
|
128
|
-
* merchant's industry and location.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* Whether the Pending Transaction has been confirmed and has an associated
|
|
134
|
-
* Transaction.
|
|
120
|
+
* Declined Transaction. For example, for a card transaction this lists the
|
|
121
|
+
* merchant's industry and location. Note that for backwards compatibility reasons,
|
|
122
|
+
* additional undocumented keys may appear in this object. These should be treated
|
|
123
|
+
* as deprecated and will be removed in the future.
|
|
135
124
|
*/
|
|
136
|
-
|
|
125
|
+
source: DeclinedTransaction.Source;
|
|
137
126
|
|
|
138
127
|
/**
|
|
139
128
|
* A constant representing the object's type. For this resource it will always be
|
|
140
|
-
* `
|
|
129
|
+
* `declined_transaction`.
|
|
141
130
|
*/
|
|
142
|
-
type: '
|
|
131
|
+
type: 'declined_transaction';
|
|
143
132
|
}
|
|
144
133
|
|
|
145
|
-
export namespace
|
|
134
|
+
export namespace DeclinedTransaction {
|
|
146
135
|
/**
|
|
147
136
|
* This is an object giving more details on the network-level event that caused the
|
|
148
|
-
*
|
|
149
|
-
* merchant's industry and location.
|
|
137
|
+
* Declined Transaction. For example, for a card transaction this lists the
|
|
138
|
+
* merchant's industry and location. Note that for backwards compatibility reasons,
|
|
139
|
+
* additional undocumented keys may appear in this object. These should be treated
|
|
140
|
+
* as deprecated and will be removed in the future.
|
|
150
141
|
*/
|
|
151
142
|
export interface Source {
|
|
152
143
|
/**
|
|
153
|
-
* A
|
|
154
|
-
*
|
|
155
|
-
*/
|
|
156
|
-
account_transfer_instruction: Source.AccountTransferInstruction | null;
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* A ACH Transfer Instruction object. This field will be present in the JSON
|
|
160
|
-
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
144
|
+
* A ACH Decline object. This field will be present in the JSON response if and
|
|
145
|
+
* only if `category` is equal to `ach_decline`.
|
|
161
146
|
*/
|
|
162
|
-
|
|
147
|
+
ach_decline: Source.ACHDecline | null;
|
|
163
148
|
|
|
164
149
|
/**
|
|
165
|
-
* A Card
|
|
166
|
-
*
|
|
150
|
+
* A Card Decline object. This field will be present in the JSON response if and
|
|
151
|
+
* only if `category` is equal to `card_decline`.
|
|
167
152
|
*/
|
|
168
|
-
|
|
153
|
+
card_decline: Source.CardDecline | null;
|
|
169
154
|
|
|
170
155
|
/**
|
|
171
|
-
* The type of
|
|
172
|
-
*
|
|
173
|
-
*
|
|
156
|
+
* The type of decline that took place. We may add additional possible values for
|
|
157
|
+
* this enum over time; your application should be able to handle such additions
|
|
158
|
+
* gracefully.
|
|
174
159
|
*/
|
|
175
160
|
category:
|
|
176
|
-
| '
|
|
177
|
-
| '
|
|
178
|
-
| '
|
|
179
|
-
| '
|
|
180
|
-
| '
|
|
181
|
-
| '
|
|
182
|
-
| 'real_time_payments_transfer_instruction'
|
|
183
|
-
| 'wire_transfer_instruction'
|
|
161
|
+
| 'ach_decline'
|
|
162
|
+
| 'card_decline'
|
|
163
|
+
| 'check_decline'
|
|
164
|
+
| 'inbound_real_time_payments_transfer_decline'
|
|
165
|
+
| 'international_ach_decline'
|
|
166
|
+
| 'wire_decline'
|
|
184
167
|
| 'other';
|
|
185
168
|
|
|
186
169
|
/**
|
|
187
|
-
* A Check
|
|
188
|
-
*
|
|
189
|
-
*/
|
|
190
|
-
check_deposit_instruction: Source.CheckDepositInstruction | null;
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* A Check Transfer Instruction object. This field will be present in the JSON
|
|
194
|
-
* response if and only if `category` is equal to `check_transfer_instruction`.
|
|
170
|
+
* A Check Decline object. This field will be present in the JSON response if and
|
|
171
|
+
* only if `category` is equal to `check_decline`.
|
|
195
172
|
*/
|
|
196
|
-
|
|
173
|
+
check_decline: Source.CheckDecline | null;
|
|
197
174
|
|
|
198
175
|
/**
|
|
199
|
-
* A Inbound
|
|
200
|
-
* and only if `category` is equal to
|
|
176
|
+
* A Inbound Real Time Payments Transfer Decline object. This field will be present
|
|
177
|
+
* in the JSON response if and only if `category` is equal to
|
|
178
|
+
* `inbound_real_time_payments_transfer_decline`.
|
|
201
179
|
*/
|
|
202
|
-
|
|
180
|
+
inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
|
|
203
181
|
|
|
204
182
|
/**
|
|
205
|
-
* A
|
|
206
|
-
*
|
|
207
|
-
* `real_time_payments_transfer_instruction`.
|
|
183
|
+
* A International ACH Decline object. This field will be present in the JSON
|
|
184
|
+
* response if and only if `category` is equal to `international_ach_decline`.
|
|
208
185
|
*/
|
|
209
|
-
|
|
186
|
+
international_ach_decline: Source.InternationalACHDecline | null;
|
|
210
187
|
|
|
211
188
|
/**
|
|
212
|
-
* A Wire
|
|
213
|
-
*
|
|
189
|
+
* A Wire Decline object. This field will be present in the JSON response if and
|
|
190
|
+
* only if `category` is equal to `wire_decline`.
|
|
214
191
|
*/
|
|
215
|
-
|
|
192
|
+
wire_decline: Source.WireDecline | null;
|
|
216
193
|
}
|
|
217
194
|
|
|
218
195
|
export namespace Source {
|
|
219
196
|
/**
|
|
220
|
-
* A
|
|
221
|
-
*
|
|
197
|
+
* A ACH Decline object. This field will be present in the JSON response if and
|
|
198
|
+
* only if `category` is equal to `ach_decline`.
|
|
222
199
|
*/
|
|
223
|
-
export interface
|
|
200
|
+
export interface ACHDecline {
|
|
224
201
|
/**
|
|
225
|
-
* The
|
|
226
|
-
* for example, this is cents.
|
|
202
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
203
|
+
* dollars, for example, this is cents.
|
|
227
204
|
*/
|
|
228
205
|
amount: number;
|
|
229
206
|
|
|
230
|
-
|
|
231
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
232
|
-
* account currency.
|
|
233
|
-
*/
|
|
234
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
207
|
+
originator_company_descriptive_date: string | null;
|
|
235
208
|
|
|
236
|
-
|
|
237
|
-
* The identifier of the Account Transfer that led to this Pending Transaction.
|
|
238
|
-
*/
|
|
239
|
-
transfer_id: string;
|
|
240
|
-
}
|
|
209
|
+
originator_company_discretionary_data: string | null;
|
|
241
210
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
*/
|
|
246
|
-
export interface ACHTransferInstruction {
|
|
247
|
-
/**
|
|
248
|
-
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
249
|
-
* for example, this is cents.
|
|
250
|
-
*/
|
|
251
|
-
amount: number;
|
|
211
|
+
originator_company_id: string;
|
|
212
|
+
|
|
213
|
+
originator_company_name: string;
|
|
252
214
|
|
|
253
215
|
/**
|
|
254
|
-
*
|
|
216
|
+
* Why the ACH transfer was declined.
|
|
255
217
|
*/
|
|
256
|
-
|
|
218
|
+
reason:
|
|
219
|
+
| 'ach_route_canceled'
|
|
220
|
+
| 'ach_route_disabled'
|
|
221
|
+
| 'breaches_limit'
|
|
222
|
+
| 'credit_entry_refused_by_receiver'
|
|
223
|
+
| 'duplicate_return'
|
|
224
|
+
| 'entity_not_active'
|
|
225
|
+
| 'group_locked'
|
|
226
|
+
| 'insufficient_funds'
|
|
227
|
+
| 'misrouted_return'
|
|
228
|
+
| 'no_ach_route'
|
|
229
|
+
| 'originator_request'
|
|
230
|
+
| 'transaction_not_allowed';
|
|
231
|
+
|
|
232
|
+
receiver_id_number: string | null;
|
|
233
|
+
|
|
234
|
+
receiver_name: string | null;
|
|
235
|
+
|
|
236
|
+
trace_number: string;
|
|
257
237
|
}
|
|
258
238
|
|
|
259
239
|
/**
|
|
260
|
-
* A Card
|
|
261
|
-
*
|
|
240
|
+
* A Card Decline object. This field will be present in the JSON response if and
|
|
241
|
+
* only if `category` is equal to `card_decline`.
|
|
262
242
|
*/
|
|
263
|
-
export interface
|
|
243
|
+
export interface CardDecline {
|
|
264
244
|
/**
|
|
265
|
-
* The
|
|
266
|
-
* for example, this is cents.
|
|
245
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
246
|
+
* dollars, for example, this is cents.
|
|
267
247
|
*/
|
|
268
248
|
amount: number;
|
|
269
249
|
|
|
270
250
|
/**
|
|
271
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
272
|
-
*
|
|
251
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
252
|
+
* account currency.
|
|
273
253
|
*/
|
|
274
254
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
275
255
|
|
|
276
256
|
/**
|
|
277
|
-
* If the authorization was
|
|
278
|
-
* purchase), the identifier of the token that was used.
|
|
257
|
+
* If the authorization was attempted using a Digital Wallet Token (such as an
|
|
258
|
+
* Apple Pay purchase), the identifier of the token that was used.
|
|
279
259
|
*/
|
|
280
260
|
digital_wallet_token_id: string | null;
|
|
281
261
|
|
|
282
|
-
/**
|
|
283
|
-
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
|
|
284
|
-
* will expire and the pending transaction will be released.
|
|
285
|
-
*/
|
|
286
|
-
expires_at: string;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* The Card Authorization identifier.
|
|
290
|
-
*/
|
|
291
|
-
id: string;
|
|
292
|
-
|
|
293
262
|
/**
|
|
294
263
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
295
264
|
* is transacting with.
|
|
@@ -318,19 +287,19 @@ export namespace CardAuthorizationSimulation {
|
|
|
318
287
|
merchant_descriptor: string;
|
|
319
288
|
|
|
320
289
|
/**
|
|
321
|
-
* The
|
|
290
|
+
* The state the merchant resides in.
|
|
322
291
|
*/
|
|
323
|
-
|
|
292
|
+
merchant_state: string | null;
|
|
324
293
|
|
|
325
294
|
/**
|
|
326
|
-
*
|
|
295
|
+
* The payment network used to process this card authorization
|
|
327
296
|
*/
|
|
328
|
-
|
|
297
|
+
network: 'visa';
|
|
329
298
|
|
|
330
299
|
/**
|
|
331
|
-
*
|
|
300
|
+
* Fields specific to the `network`
|
|
332
301
|
*/
|
|
333
|
-
|
|
302
|
+
network_details: CardDecline.NetworkDetails;
|
|
334
303
|
|
|
335
304
|
/**
|
|
336
305
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
@@ -339,13 +308,25 @@ export namespace CardAuthorizationSimulation {
|
|
|
339
308
|
real_time_decision_id: string | null;
|
|
340
309
|
|
|
341
310
|
/**
|
|
342
|
-
*
|
|
343
|
-
* `card_authorization`.
|
|
311
|
+
* Why the transaction was declined.
|
|
344
312
|
*/
|
|
345
|
-
|
|
313
|
+
reason:
|
|
314
|
+
| 'card_not_active'
|
|
315
|
+
| 'entity_not_active'
|
|
316
|
+
| 'group_locked'
|
|
317
|
+
| 'insufficient_funds'
|
|
318
|
+
| 'cvv2_mismatch'
|
|
319
|
+
| 'transaction_not_allowed'
|
|
320
|
+
| 'breaches_internal_limit'
|
|
321
|
+
| 'breaches_limit'
|
|
322
|
+
| 'webhook_declined'
|
|
323
|
+
| 'webhook_timed_out'
|
|
324
|
+
| 'declined_by_stand_in_processing'
|
|
325
|
+
| 'invalid_physical_card'
|
|
326
|
+
| 'missing_original_authorization';
|
|
346
327
|
}
|
|
347
328
|
|
|
348
|
-
export namespace
|
|
329
|
+
export namespace CardDecline {
|
|
349
330
|
/**
|
|
350
331
|
* Fields specific to the `network`
|
|
351
332
|
*/
|
|
@@ -387,349 +368,464 @@ export namespace CardAuthorizationSimulation {
|
|
|
387
368
|
}
|
|
388
369
|
|
|
389
370
|
/**
|
|
390
|
-
* A Check
|
|
391
|
-
*
|
|
371
|
+
* A Check Decline object. This field will be present in the JSON response if and
|
|
372
|
+
* only if `category` is equal to `check_decline`.
|
|
392
373
|
*/
|
|
393
|
-
export interface
|
|
374
|
+
export interface CheckDecline {
|
|
394
375
|
/**
|
|
395
|
-
* The
|
|
396
|
-
* for example, this is cents.
|
|
376
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
377
|
+
* dollars, for example, this is cents.
|
|
397
378
|
*/
|
|
398
379
|
amount: number;
|
|
399
380
|
|
|
400
|
-
|
|
401
|
-
* The identifier of the File containing the image of the back of the check that
|
|
402
|
-
* was deposited.
|
|
403
|
-
*/
|
|
404
|
-
back_image_file_id: string | null;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* The identifier of the Check Deposit.
|
|
408
|
-
*/
|
|
409
|
-
check_deposit_id: string | null;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
413
|
-
* transaction's currency.
|
|
414
|
-
*/
|
|
415
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
381
|
+
auxiliary_on_us: string | null;
|
|
416
382
|
|
|
417
383
|
/**
|
|
418
|
-
*
|
|
419
|
-
* was deposited.
|
|
384
|
+
* Why the check was declined.
|
|
420
385
|
*/
|
|
421
|
-
|
|
386
|
+
reason:
|
|
387
|
+
| 'ach_route_canceled'
|
|
388
|
+
| 'ach_route_disabled'
|
|
389
|
+
| 'breaches_limit'
|
|
390
|
+
| 'entity_not_active'
|
|
391
|
+
| 'group_locked'
|
|
392
|
+
| 'insufficient_funds'
|
|
393
|
+
| 'unable_to_locate_account'
|
|
394
|
+
| 'not_our_item'
|
|
395
|
+
| 'unable_to_process'
|
|
396
|
+
| 'refer_to_image'
|
|
397
|
+
| 'stop_payment_requested'
|
|
398
|
+
| 'returned'
|
|
399
|
+
| 'duplicate_presentment'
|
|
400
|
+
| 'not_authorized'
|
|
401
|
+
| 'altered_or_fictitious';
|
|
422
402
|
}
|
|
423
403
|
|
|
424
404
|
/**
|
|
425
|
-
* A
|
|
426
|
-
* response if and only if `category` is equal to
|
|
405
|
+
* A Inbound Real Time Payments Transfer Decline object. This field will be present
|
|
406
|
+
* in the JSON response if and only if `category` is equal to
|
|
407
|
+
* `inbound_real_time_payments_transfer_decline`.
|
|
427
408
|
*/
|
|
428
|
-
export interface
|
|
409
|
+
export interface InboundRealTimePaymentsTransferDecline {
|
|
429
410
|
/**
|
|
430
|
-
* The
|
|
431
|
-
* for example, this is cents.
|
|
411
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
412
|
+
* dollars, for example, this is cents.
|
|
432
413
|
*/
|
|
433
414
|
amount: number;
|
|
434
415
|
|
|
435
416
|
/**
|
|
436
|
-
* The
|
|
437
|
-
* currency.
|
|
438
|
-
*/
|
|
439
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* The identifier of the Check Transfer that led to this Pending Transaction.
|
|
443
|
-
*/
|
|
444
|
-
transfer_id: string;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
* A Inbound Funds Hold object. This field will be present in the JSON response if
|
|
449
|
-
* and only if `category` is equal to `inbound_funds_hold`.
|
|
450
|
-
*/
|
|
451
|
-
export interface InboundFundsHold {
|
|
452
|
-
/**
|
|
453
|
-
* The held amount in the minor unit of the account's currency. For dollars, for
|
|
454
|
-
* example, this is cents.
|
|
417
|
+
* The name the sender of the transfer specified as the recipient of the transfer.
|
|
455
418
|
*/
|
|
456
|
-
|
|
419
|
+
creditor_name: string;
|
|
457
420
|
|
|
458
421
|
/**
|
|
459
|
-
*
|
|
460
|
-
* be
|
|
422
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
|
|
423
|
+
* transfer's currency. This will always be "USD" for a Real Time Payments
|
|
424
|
+
* transfer.
|
|
461
425
|
*/
|
|
462
|
-
|
|
426
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
463
427
|
|
|
464
428
|
/**
|
|
465
|
-
* The
|
|
466
|
-
* was created.
|
|
429
|
+
* The account number of the account that sent the transfer.
|
|
467
430
|
*/
|
|
468
|
-
|
|
431
|
+
debtor_account_number: string;
|
|
469
432
|
|
|
470
433
|
/**
|
|
471
|
-
* The
|
|
472
|
-
* currency.
|
|
434
|
+
* The name provided by the sender of the transfer.
|
|
473
435
|
*/
|
|
474
|
-
|
|
436
|
+
debtor_name: string;
|
|
475
437
|
|
|
476
438
|
/**
|
|
477
|
-
* The
|
|
439
|
+
* The routing number of the account that sent the transfer.
|
|
478
440
|
*/
|
|
479
|
-
|
|
441
|
+
debtor_routing_number: string;
|
|
480
442
|
|
|
481
443
|
/**
|
|
482
|
-
*
|
|
444
|
+
* Why the transfer was declined.
|
|
483
445
|
*/
|
|
484
|
-
|
|
446
|
+
reason:
|
|
447
|
+
| 'account_number_canceled'
|
|
448
|
+
| 'account_number_disabled'
|
|
449
|
+
| 'account_restricted'
|
|
450
|
+
| 'group_locked'
|
|
451
|
+
| 'entity_not_active'
|
|
452
|
+
| 'real_time_payments_not_enabled';
|
|
485
453
|
|
|
486
454
|
/**
|
|
487
|
-
*
|
|
455
|
+
* Additional information included with the transfer.
|
|
488
456
|
*/
|
|
489
|
-
|
|
457
|
+
remittance_information: string | null;
|
|
490
458
|
|
|
491
459
|
/**
|
|
492
|
-
* The
|
|
460
|
+
* The Real Time Payments network identification of the declined transfer.
|
|
493
461
|
*/
|
|
494
|
-
|
|
462
|
+
transaction_identification: string;
|
|
495
463
|
}
|
|
496
464
|
|
|
497
465
|
/**
|
|
498
|
-
* A
|
|
499
|
-
*
|
|
500
|
-
* `real_time_payments_transfer_instruction`.
|
|
466
|
+
* A International ACH Decline object. This field will be present in the JSON
|
|
467
|
+
* response if and only if `category` is equal to `international_ach_decline`.
|
|
501
468
|
*/
|
|
502
|
-
export interface
|
|
469
|
+
export interface InternationalACHDecline {
|
|
503
470
|
/**
|
|
504
|
-
* The
|
|
505
|
-
* for example, this is cents.
|
|
471
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
472
|
+
* dollars, for example, this is cents.
|
|
506
473
|
*/
|
|
507
474
|
amount: number;
|
|
508
475
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
476
|
+
destination_country_code: string;
|
|
477
|
+
|
|
478
|
+
destination_currency_code: string;
|
|
479
|
+
|
|
480
|
+
foreign_exchange_indicator: string;
|
|
481
|
+
|
|
482
|
+
foreign_exchange_reference: string | null;
|
|
483
|
+
|
|
484
|
+
foreign_exchange_reference_indicator: string;
|
|
485
|
+
|
|
486
|
+
foreign_payment_amount: number;
|
|
487
|
+
|
|
488
|
+
foreign_trace_number: string | null;
|
|
489
|
+
|
|
490
|
+
international_transaction_type_code: string;
|
|
491
|
+
|
|
492
|
+
originating_currency_code: string;
|
|
493
|
+
|
|
494
|
+
originating_depository_financial_institution_branch_country: string;
|
|
495
|
+
|
|
496
|
+
originating_depository_financial_institution_id: string;
|
|
497
|
+
|
|
498
|
+
originating_depository_financial_institution_id_qualifier: string;
|
|
499
|
+
|
|
500
|
+
originating_depository_financial_institution_name: string;
|
|
501
|
+
|
|
502
|
+
originator_city: string;
|
|
503
|
+
|
|
504
|
+
originator_company_entry_description: string;
|
|
505
|
+
|
|
506
|
+
originator_country: string;
|
|
507
|
+
|
|
508
|
+
originator_identification: string;
|
|
509
|
+
|
|
510
|
+
originator_name: string;
|
|
511
|
+
|
|
512
|
+
originator_postal_code: string | null;
|
|
513
|
+
|
|
514
|
+
originator_state_or_province: string | null;
|
|
515
|
+
|
|
516
|
+
originator_street_address: string;
|
|
517
|
+
|
|
518
|
+
payment_related_information: string | null;
|
|
519
|
+
|
|
520
|
+
payment_related_information2: string | null;
|
|
521
|
+
|
|
522
|
+
receiver_city: string;
|
|
523
|
+
|
|
524
|
+
receiver_country: string;
|
|
525
|
+
|
|
526
|
+
receiver_identification_number: string | null;
|
|
527
|
+
|
|
528
|
+
receiver_postal_code: string | null;
|
|
529
|
+
|
|
530
|
+
receiver_state_or_province: string | null;
|
|
531
|
+
|
|
532
|
+
receiver_street_address: string;
|
|
533
|
+
|
|
534
|
+
receiving_company_or_individual_name: string;
|
|
535
|
+
|
|
536
|
+
receiving_depository_financial_institution_country: string;
|
|
537
|
+
|
|
538
|
+
receiving_depository_financial_institution_id: string;
|
|
539
|
+
|
|
540
|
+
receiving_depository_financial_institution_id_qualifier: string;
|
|
541
|
+
|
|
542
|
+
receiving_depository_financial_institution_name: string;
|
|
543
|
+
|
|
544
|
+
trace_number: string;
|
|
514
545
|
}
|
|
515
546
|
|
|
516
547
|
/**
|
|
517
|
-
* A Wire
|
|
518
|
-
*
|
|
548
|
+
* A Wire Decline object. This field will be present in the JSON response if and
|
|
549
|
+
* only if `category` is equal to `wire_decline`.
|
|
519
550
|
*/
|
|
520
|
-
export interface
|
|
521
|
-
account_number: string;
|
|
522
|
-
|
|
551
|
+
export interface WireDecline {
|
|
523
552
|
/**
|
|
524
|
-
* The
|
|
525
|
-
* for example, this is cents.
|
|
553
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
554
|
+
* dollars, for example, this is cents.
|
|
526
555
|
*/
|
|
527
556
|
amount: number;
|
|
528
557
|
|
|
529
|
-
|
|
558
|
+
beneficiary_address_line1: string | null;
|
|
530
559
|
|
|
531
|
-
|
|
560
|
+
beneficiary_address_line2: string | null;
|
|
532
561
|
|
|
533
|
-
|
|
562
|
+
beneficiary_address_line3: string | null;
|
|
563
|
+
|
|
564
|
+
beneficiary_name: string | null;
|
|
565
|
+
|
|
566
|
+
beneficiary_reference: string | null;
|
|
567
|
+
|
|
568
|
+
description: string;
|
|
569
|
+
|
|
570
|
+
input_message_accountability_data: string | null;
|
|
571
|
+
|
|
572
|
+
originator_address_line1: string | null;
|
|
573
|
+
|
|
574
|
+
originator_address_line2: string | null;
|
|
575
|
+
|
|
576
|
+
originator_address_line3: string | null;
|
|
577
|
+
|
|
578
|
+
originator_name: string | null;
|
|
579
|
+
|
|
580
|
+
originator_to_beneficiary_information_line1: string | null;
|
|
581
|
+
|
|
582
|
+
originator_to_beneficiary_information_line2: string | null;
|
|
583
|
+
|
|
584
|
+
originator_to_beneficiary_information_line3: string | null;
|
|
585
|
+
|
|
586
|
+
originator_to_beneficiary_information_line4: string | null;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Why the wire transfer was declined.
|
|
590
|
+
*/
|
|
591
|
+
reason:
|
|
592
|
+
| 'account_number_canceled'
|
|
593
|
+
| 'account_number_disabled'
|
|
594
|
+
| 'entity_not_active'
|
|
595
|
+
| 'group_locked'
|
|
596
|
+
| 'no_account_number'
|
|
597
|
+
| 'transaction_not_allowed';
|
|
534
598
|
}
|
|
535
599
|
}
|
|
536
600
|
}
|
|
537
601
|
|
|
538
602
|
/**
|
|
539
|
-
* If the authorization attempt
|
|
540
|
-
*
|
|
541
|
-
*
|
|
603
|
+
* If the authorization attempt succeeds, this will contain the resulting Pending
|
|
604
|
+
* Transaction object. The Pending Transaction's `source` will be of
|
|
605
|
+
* `category: card_authorization`.
|
|
542
606
|
*/
|
|
543
|
-
export interface
|
|
607
|
+
export interface PendingTransaction {
|
|
544
608
|
/**
|
|
545
|
-
* The
|
|
609
|
+
* The Pending Transaction identifier.
|
|
610
|
+
*/
|
|
611
|
+
id: string;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* The identifier for the account this Pending Transaction belongs to.
|
|
546
615
|
*/
|
|
547
616
|
account_id: string;
|
|
548
617
|
|
|
549
618
|
/**
|
|
550
|
-
* The
|
|
619
|
+
* The Pending Transaction amount in the minor unit of its currency. For dollars,
|
|
551
620
|
* for example, this is cents.
|
|
552
621
|
*/
|
|
553
622
|
amount: number;
|
|
554
623
|
|
|
555
624
|
/**
|
|
556
|
-
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
|
|
625
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
|
626
|
+
* Transaction was completed.
|
|
627
|
+
*/
|
|
628
|
+
completed_at: string | null;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
|
557
632
|
* Transaction occured.
|
|
558
633
|
*/
|
|
559
634
|
created_at: string;
|
|
560
635
|
|
|
561
636
|
/**
|
|
562
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
563
|
-
* Transaction's currency. This will match the currency on the
|
|
637
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
|
|
638
|
+
* Transaction's currency. This will match the currency on the Pending
|
|
564
639
|
* Transcation's Account.
|
|
565
640
|
*/
|
|
566
641
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
567
642
|
|
|
568
643
|
/**
|
|
569
|
-
*
|
|
644
|
+
* For a Pending Transaction related to a transfer, this is the description you
|
|
645
|
+
* provide. For a Pending Transaction related to a payment, this is the description
|
|
646
|
+
* the vendor provides.
|
|
570
647
|
*/
|
|
571
648
|
description: string;
|
|
572
649
|
|
|
573
650
|
/**
|
|
574
|
-
* The
|
|
575
|
-
*/
|
|
576
|
-
id: string;
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* The identifier for the route this Declined Transaction came through. Routes are
|
|
651
|
+
* The identifier for the route this Pending Transaction came through. Routes are
|
|
580
652
|
* things like cards and ACH details.
|
|
581
653
|
*/
|
|
582
654
|
route_id: string | null;
|
|
583
655
|
|
|
584
656
|
/**
|
|
585
|
-
* The type of the route this
|
|
657
|
+
* The type of the route this Pending Transaction came through.
|
|
586
658
|
*/
|
|
587
659
|
route_type: 'account_number' | 'card' | null;
|
|
588
660
|
|
|
589
661
|
/**
|
|
590
662
|
* This is an object giving more details on the network-level event that caused the
|
|
591
|
-
*
|
|
592
|
-
* merchant's industry and location.
|
|
593
|
-
* additional undocumented keys may appear in this object. These should be treated
|
|
594
|
-
* as deprecated and will be removed in the future.
|
|
663
|
+
* Pending Transaction. For example, for a card transaction this lists the
|
|
664
|
+
* merchant's industry and location.
|
|
595
665
|
*/
|
|
596
|
-
source:
|
|
666
|
+
source: PendingTransaction.Source;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Whether the Pending Transaction has been confirmed and has an associated
|
|
670
|
+
* Transaction.
|
|
671
|
+
*/
|
|
672
|
+
status: 'pending' | 'complete';
|
|
597
673
|
|
|
598
674
|
/**
|
|
599
675
|
* A constant representing the object's type. For this resource it will always be
|
|
600
|
-
* `
|
|
676
|
+
* `pending_transaction`.
|
|
601
677
|
*/
|
|
602
|
-
type: '
|
|
678
|
+
type: 'pending_transaction';
|
|
603
679
|
}
|
|
604
680
|
|
|
605
|
-
export namespace
|
|
681
|
+
export namespace PendingTransaction {
|
|
606
682
|
/**
|
|
607
683
|
* This is an object giving more details on the network-level event that caused the
|
|
608
|
-
*
|
|
609
|
-
* merchant's industry and location.
|
|
610
|
-
* additional undocumented keys may appear in this object. These should be treated
|
|
611
|
-
* as deprecated and will be removed in the future.
|
|
684
|
+
* Pending Transaction. For example, for a card transaction this lists the
|
|
685
|
+
* merchant's industry and location.
|
|
612
686
|
*/
|
|
613
687
|
export interface Source {
|
|
614
688
|
/**
|
|
615
|
-
* A
|
|
616
|
-
* only if `category` is equal to `
|
|
689
|
+
* A Account Transfer Instruction object. This field will be present in the JSON
|
|
690
|
+
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
617
691
|
*/
|
|
618
|
-
|
|
692
|
+
account_transfer_instruction: Source.AccountTransferInstruction | null;
|
|
619
693
|
|
|
620
694
|
/**
|
|
621
|
-
* A
|
|
622
|
-
* only if `category` is equal to `
|
|
695
|
+
* A ACH Transfer Instruction object. This field will be present in the JSON
|
|
696
|
+
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
623
697
|
*/
|
|
624
|
-
|
|
698
|
+
ach_transfer_instruction: Source.ACHTransferInstruction | null;
|
|
625
699
|
|
|
626
700
|
/**
|
|
627
|
-
*
|
|
628
|
-
*
|
|
629
|
-
|
|
701
|
+
* A Card Authorization object. This field will be present in the JSON response if
|
|
702
|
+
* and only if `category` is equal to `card_authorization`.
|
|
703
|
+
*/
|
|
704
|
+
card_authorization: Source.CardAuthorization | null;
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* The type of transaction that took place. We may add additional possible values
|
|
708
|
+
* for this enum over time; your application should be able to handle such
|
|
709
|
+
* additions gracefully.
|
|
630
710
|
*/
|
|
631
711
|
category:
|
|
632
|
-
| '
|
|
633
|
-
| '
|
|
634
|
-
| '
|
|
635
|
-
| '
|
|
636
|
-
| '
|
|
637
|
-
| '
|
|
712
|
+
| 'account_transfer_instruction'
|
|
713
|
+
| 'ach_transfer_instruction'
|
|
714
|
+
| 'card_authorization'
|
|
715
|
+
| 'check_deposit_instruction'
|
|
716
|
+
| 'check_transfer_instruction'
|
|
717
|
+
| 'inbound_funds_hold'
|
|
718
|
+
| 'real_time_payments_transfer_instruction'
|
|
719
|
+
| 'wire_transfer_instruction'
|
|
638
720
|
| 'other';
|
|
639
721
|
|
|
640
722
|
/**
|
|
641
|
-
* A Check
|
|
642
|
-
* only if `category` is equal to `
|
|
723
|
+
* A Check Deposit Instruction object. This field will be present in the JSON
|
|
724
|
+
* response if and only if `category` is equal to `check_deposit_instruction`.
|
|
643
725
|
*/
|
|
644
|
-
|
|
726
|
+
check_deposit_instruction: Source.CheckDepositInstruction | null;
|
|
645
727
|
|
|
646
728
|
/**
|
|
647
|
-
* A
|
|
648
|
-
*
|
|
649
|
-
* `inbound_real_time_payments_transfer_decline`.
|
|
729
|
+
* A Check Transfer Instruction object. This field will be present in the JSON
|
|
730
|
+
* response if and only if `category` is equal to `check_transfer_instruction`.
|
|
650
731
|
*/
|
|
651
|
-
|
|
732
|
+
check_transfer_instruction: Source.CheckTransferInstruction | null;
|
|
652
733
|
|
|
653
734
|
/**
|
|
654
|
-
* A
|
|
655
|
-
*
|
|
735
|
+
* A Inbound Funds Hold object. This field will be present in the JSON response if
|
|
736
|
+
* and only if `category` is equal to `inbound_funds_hold`.
|
|
656
737
|
*/
|
|
657
|
-
|
|
738
|
+
inbound_funds_hold: Source.InboundFundsHold | null;
|
|
658
739
|
|
|
659
740
|
/**
|
|
660
|
-
* A
|
|
661
|
-
* only if `category` is equal to
|
|
741
|
+
* A Real Time Payments Transfer Instruction object. This field will be present in
|
|
742
|
+
* the JSON response if and only if `category` is equal to
|
|
743
|
+
* `real_time_payments_transfer_instruction`.
|
|
662
744
|
*/
|
|
663
|
-
|
|
745
|
+
real_time_payments_transfer_instruction: Source.RealTimePaymentsTransferInstruction | null;
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* A Wire Transfer Instruction object. This field will be present in the JSON
|
|
749
|
+
* response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
750
|
+
*/
|
|
751
|
+
wire_transfer_instruction: Source.WireTransferInstruction | null;
|
|
664
752
|
}
|
|
665
753
|
|
|
666
754
|
export namespace Source {
|
|
667
755
|
/**
|
|
668
|
-
* A
|
|
669
|
-
* only if `category` is equal to `
|
|
756
|
+
* A Account Transfer Instruction object. This field will be present in the JSON
|
|
757
|
+
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
670
758
|
*/
|
|
671
|
-
export interface
|
|
759
|
+
export interface AccountTransferInstruction {
|
|
672
760
|
/**
|
|
673
|
-
* The
|
|
674
|
-
*
|
|
761
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
762
|
+
* for example, this is cents.
|
|
675
763
|
*/
|
|
676
764
|
amount: number;
|
|
677
765
|
|
|
678
|
-
originator_company_descriptive_date: string | null;
|
|
679
|
-
|
|
680
|
-
originator_company_discretionary_data: string | null;
|
|
681
|
-
|
|
682
|
-
originator_company_id: string;
|
|
683
|
-
|
|
684
|
-
originator_company_name: string;
|
|
685
|
-
|
|
686
766
|
/**
|
|
687
|
-
*
|
|
767
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
768
|
+
* account currency.
|
|
688
769
|
*/
|
|
689
|
-
|
|
690
|
-
| 'ach_route_canceled'
|
|
691
|
-
| 'ach_route_disabled'
|
|
692
|
-
| 'breaches_limit'
|
|
693
|
-
| 'credit_entry_refused_by_receiver'
|
|
694
|
-
| 'duplicate_return'
|
|
695
|
-
| 'entity_not_active'
|
|
696
|
-
| 'group_locked'
|
|
697
|
-
| 'insufficient_funds'
|
|
698
|
-
| 'misrouted_return'
|
|
699
|
-
| 'no_ach_route'
|
|
700
|
-
| 'originator_request'
|
|
701
|
-
| 'transaction_not_allowed';
|
|
770
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
702
771
|
|
|
703
|
-
|
|
772
|
+
/**
|
|
773
|
+
* The identifier of the Account Transfer that led to this Pending Transaction.
|
|
774
|
+
*/
|
|
775
|
+
transfer_id: string;
|
|
776
|
+
}
|
|
704
777
|
|
|
705
|
-
|
|
778
|
+
/**
|
|
779
|
+
* A ACH Transfer Instruction object. This field will be present in the JSON
|
|
780
|
+
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
781
|
+
*/
|
|
782
|
+
export interface ACHTransferInstruction {
|
|
783
|
+
/**
|
|
784
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
785
|
+
* for example, this is cents.
|
|
786
|
+
*/
|
|
787
|
+
amount: number;
|
|
706
788
|
|
|
707
|
-
|
|
789
|
+
/**
|
|
790
|
+
* The identifier of the ACH Transfer that led to this Pending Transaction.
|
|
791
|
+
*/
|
|
792
|
+
transfer_id: string;
|
|
708
793
|
}
|
|
709
794
|
|
|
710
795
|
/**
|
|
711
|
-
* A Card
|
|
712
|
-
* only if `category` is equal to `
|
|
796
|
+
* A Card Authorization object. This field will be present in the JSON response if
|
|
797
|
+
* and only if `category` is equal to `card_authorization`.
|
|
713
798
|
*/
|
|
714
|
-
export interface
|
|
799
|
+
export interface CardAuthorization {
|
|
715
800
|
/**
|
|
716
|
-
* The
|
|
717
|
-
|
|
801
|
+
* The Card Authorization identifier.
|
|
802
|
+
*/
|
|
803
|
+
id: string;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
807
|
+
* for example, this is cents.
|
|
718
808
|
*/
|
|
719
809
|
amount: number;
|
|
720
810
|
|
|
721
811
|
/**
|
|
722
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
723
|
-
*
|
|
812
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
813
|
+
* transaction's currency.
|
|
724
814
|
*/
|
|
725
815
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
726
816
|
|
|
727
817
|
/**
|
|
728
|
-
* If the authorization was
|
|
729
|
-
*
|
|
818
|
+
* If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
|
819
|
+
* purchase), the identifier of the token that was used.
|
|
730
820
|
*/
|
|
731
821
|
digital_wallet_token_id: string | null;
|
|
732
822
|
|
|
823
|
+
/**
|
|
824
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
|
|
825
|
+
* will expire and the pending transaction will be released.
|
|
826
|
+
*/
|
|
827
|
+
expires_at: string;
|
|
828
|
+
|
|
733
829
|
/**
|
|
734
830
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
735
831
|
* is transacting with.
|
|
@@ -757,11 +853,6 @@ export namespace CardAuthorizationSimulation {
|
|
|
757
853
|
*/
|
|
758
854
|
merchant_descriptor: string;
|
|
759
855
|
|
|
760
|
-
/**
|
|
761
|
-
* The state the merchant resides in.
|
|
762
|
-
*/
|
|
763
|
-
merchant_state: string | null;
|
|
764
|
-
|
|
765
856
|
/**
|
|
766
857
|
* The payment network used to process this card authorization
|
|
767
858
|
*/
|
|
@@ -770,7 +861,12 @@ export namespace CardAuthorizationSimulation {
|
|
|
770
861
|
/**
|
|
771
862
|
* Fields specific to the `network`
|
|
772
863
|
*/
|
|
773
|
-
network_details:
|
|
864
|
+
network_details: CardAuthorization.NetworkDetails;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* The identifier of the Pending Transaction associated with this Transaction.
|
|
868
|
+
*/
|
|
869
|
+
pending_transaction_id: string | null;
|
|
774
870
|
|
|
775
871
|
/**
|
|
776
872
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
@@ -779,25 +875,13 @@ export namespace CardAuthorizationSimulation {
|
|
|
779
875
|
real_time_decision_id: string | null;
|
|
780
876
|
|
|
781
877
|
/**
|
|
782
|
-
*
|
|
878
|
+
* A constant representing the object's type. For this resource it will always be
|
|
879
|
+
* `card_authorization`.
|
|
783
880
|
*/
|
|
784
|
-
|
|
785
|
-
| 'card_not_active'
|
|
786
|
-
| 'entity_not_active'
|
|
787
|
-
| 'group_locked'
|
|
788
|
-
| 'insufficient_funds'
|
|
789
|
-
| 'cvv2_mismatch'
|
|
790
|
-
| 'transaction_not_allowed'
|
|
791
|
-
| 'breaches_internal_limit'
|
|
792
|
-
| 'breaches_limit'
|
|
793
|
-
| 'webhook_declined'
|
|
794
|
-
| 'webhook_timed_out'
|
|
795
|
-
| 'declined_by_stand_in_processing'
|
|
796
|
-
| 'invalid_physical_card'
|
|
797
|
-
| 'missing_original_authorization';
|
|
881
|
+
type: 'card_authorization';
|
|
798
882
|
}
|
|
799
883
|
|
|
800
|
-
export namespace
|
|
884
|
+
export namespace CardAuthorization {
|
|
801
885
|
/**
|
|
802
886
|
* Fields specific to the `network`
|
|
803
887
|
*/
|
|
@@ -829,243 +913,160 @@ export namespace CardAuthorizationSimulation {
|
|
|
829
913
|
| 'non_secure_transaction'
|
|
830
914
|
| null;
|
|
831
915
|
|
|
832
|
-
/**
|
|
833
|
-
* The method used to enter the cardholder's primary account number and card
|
|
834
|
-
* expiration date
|
|
835
|
-
*/
|
|
836
|
-
point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
|
|
837
|
-
}
|
|
838
|
-
}
|
|
916
|
+
/**
|
|
917
|
+
* The method used to enter the cardholder's primary account number and card
|
|
918
|
+
* expiration date
|
|
919
|
+
*/
|
|
920
|
+
point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* A Check Deposit Instruction object. This field will be present in the JSON
|
|
927
|
+
* response if and only if `category` is equal to `check_deposit_instruction`.
|
|
928
|
+
*/
|
|
929
|
+
export interface CheckDepositInstruction {
|
|
930
|
+
/**
|
|
931
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
932
|
+
* for example, this is cents.
|
|
933
|
+
*/
|
|
934
|
+
amount: number;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* The identifier of the File containing the image of the back of the check that
|
|
938
|
+
* was deposited.
|
|
939
|
+
*/
|
|
940
|
+
back_image_file_id: string | null;
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* The identifier of the Check Deposit.
|
|
944
|
+
*/
|
|
945
|
+
check_deposit_id: string | null;
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
949
|
+
* transaction's currency.
|
|
950
|
+
*/
|
|
951
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* The identifier of the File containing the image of the front of the check that
|
|
955
|
+
* was deposited.
|
|
956
|
+
*/
|
|
957
|
+
front_image_file_id: string;
|
|
839
958
|
}
|
|
840
959
|
|
|
841
960
|
/**
|
|
842
|
-
* A Check
|
|
843
|
-
* only if `category` is equal to `
|
|
961
|
+
* A Check Transfer Instruction object. This field will be present in the JSON
|
|
962
|
+
* response if and only if `category` is equal to `check_transfer_instruction`.
|
|
844
963
|
*/
|
|
845
|
-
export interface
|
|
964
|
+
export interface CheckTransferInstruction {
|
|
846
965
|
/**
|
|
847
|
-
* The
|
|
848
|
-
*
|
|
966
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
967
|
+
* for example, this is cents.
|
|
849
968
|
*/
|
|
850
969
|
amount: number;
|
|
851
970
|
|
|
852
|
-
|
|
971
|
+
/**
|
|
972
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
|
973
|
+
* currency.
|
|
974
|
+
*/
|
|
975
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
853
976
|
|
|
854
977
|
/**
|
|
855
|
-
*
|
|
978
|
+
* The identifier of the Check Transfer that led to this Pending Transaction.
|
|
856
979
|
*/
|
|
857
|
-
|
|
858
|
-
| 'ach_route_canceled'
|
|
859
|
-
| 'ach_route_disabled'
|
|
860
|
-
| 'breaches_limit'
|
|
861
|
-
| 'entity_not_active'
|
|
862
|
-
| 'group_locked'
|
|
863
|
-
| 'insufficient_funds'
|
|
864
|
-
| 'unable_to_locate_account'
|
|
865
|
-
| 'not_our_item'
|
|
866
|
-
| 'unable_to_process'
|
|
867
|
-
| 'refer_to_image'
|
|
868
|
-
| 'stop_payment_requested'
|
|
869
|
-
| 'returned'
|
|
870
|
-
| 'duplicate_presentment'
|
|
871
|
-
| 'not_authorized'
|
|
872
|
-
| 'altered_or_fictitious';
|
|
980
|
+
transfer_id: string;
|
|
873
981
|
}
|
|
874
982
|
|
|
875
983
|
/**
|
|
876
|
-
* A Inbound
|
|
877
|
-
*
|
|
878
|
-
* `inbound_real_time_payments_transfer_decline`.
|
|
984
|
+
* A Inbound Funds Hold object. This field will be present in the JSON response if
|
|
985
|
+
* and only if `category` is equal to `inbound_funds_hold`.
|
|
879
986
|
*/
|
|
880
|
-
export interface
|
|
987
|
+
export interface InboundFundsHold {
|
|
881
988
|
/**
|
|
882
|
-
* The
|
|
883
|
-
*
|
|
989
|
+
* The held amount in the minor unit of the account's currency. For dollars, for
|
|
990
|
+
* example, this is cents.
|
|
884
991
|
*/
|
|
885
992
|
amount: number;
|
|
886
993
|
|
|
887
994
|
/**
|
|
888
|
-
*
|
|
889
|
-
|
|
890
|
-
creditor_name: string;
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
|
|
894
|
-
* transfer's currency. This will always be "USD" for a Real Time Payments
|
|
895
|
-
* transfer.
|
|
995
|
+
* When the hold will be released automatically. Certain conditions may cause it to
|
|
996
|
+
* be released before this time.
|
|
896
997
|
*/
|
|
897
|
-
|
|
998
|
+
automatically_releases_at: string;
|
|
898
999
|
|
|
899
1000
|
/**
|
|
900
|
-
* The
|
|
1001
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
|
|
1002
|
+
* was created.
|
|
901
1003
|
*/
|
|
902
|
-
|
|
1004
|
+
created_at: string;
|
|
903
1005
|
|
|
904
1006
|
/**
|
|
905
|
-
* The
|
|
1007
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
|
|
1008
|
+
* currency.
|
|
906
1009
|
*/
|
|
907
|
-
|
|
1010
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
908
1011
|
|
|
909
1012
|
/**
|
|
910
|
-
* The
|
|
1013
|
+
* The ID of the Transaction for which funds were held.
|
|
911
1014
|
*/
|
|
912
|
-
|
|
1015
|
+
held_transaction_id: string | null;
|
|
913
1016
|
|
|
914
1017
|
/**
|
|
915
|
-
*
|
|
1018
|
+
* The ID of the Pending Transaction representing the held funds.
|
|
916
1019
|
*/
|
|
917
|
-
|
|
918
|
-
| 'account_number_canceled'
|
|
919
|
-
| 'account_number_disabled'
|
|
920
|
-
| 'account_restricted'
|
|
921
|
-
| 'group_locked'
|
|
922
|
-
| 'entity_not_active'
|
|
923
|
-
| 'real_time_payments_not_enabled';
|
|
1020
|
+
pending_transaction_id: string | null;
|
|
924
1021
|
|
|
925
1022
|
/**
|
|
926
|
-
*
|
|
1023
|
+
* When the hold was released (if it has been released).
|
|
927
1024
|
*/
|
|
928
|
-
|
|
1025
|
+
released_at: string | null;
|
|
929
1026
|
|
|
930
1027
|
/**
|
|
931
|
-
* The
|
|
1028
|
+
* The status of the hold.
|
|
932
1029
|
*/
|
|
933
|
-
|
|
1030
|
+
status: 'held' | 'complete';
|
|
934
1031
|
}
|
|
935
1032
|
|
|
936
1033
|
/**
|
|
937
|
-
* A
|
|
938
|
-
* response if and only if `category` is equal to
|
|
1034
|
+
* A Real Time Payments Transfer Instruction object. This field will be present in
|
|
1035
|
+
* the JSON response if and only if `category` is equal to
|
|
1036
|
+
* `real_time_payments_transfer_instruction`.
|
|
939
1037
|
*/
|
|
940
|
-
export interface
|
|
1038
|
+
export interface RealTimePaymentsTransferInstruction {
|
|
941
1039
|
/**
|
|
942
|
-
* The
|
|
943
|
-
*
|
|
1040
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1041
|
+
* for example, this is cents.
|
|
944
1042
|
*/
|
|
945
1043
|
amount: number;
|
|
946
1044
|
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
foreign_exchange_reference: string | null;
|
|
954
|
-
|
|
955
|
-
foreign_exchange_reference_indicator: string;
|
|
956
|
-
|
|
957
|
-
foreign_payment_amount: number;
|
|
958
|
-
|
|
959
|
-
foreign_trace_number: string | null;
|
|
960
|
-
|
|
961
|
-
international_transaction_type_code: string;
|
|
962
|
-
|
|
963
|
-
originating_currency_code: string;
|
|
964
|
-
|
|
965
|
-
originating_depository_financial_institution_branch_country: string;
|
|
966
|
-
|
|
967
|
-
originating_depository_financial_institution_id: string;
|
|
968
|
-
|
|
969
|
-
originating_depository_financial_institution_id_qualifier: string;
|
|
970
|
-
|
|
971
|
-
originating_depository_financial_institution_name: string;
|
|
972
|
-
|
|
973
|
-
originator_city: string;
|
|
974
|
-
|
|
975
|
-
originator_company_entry_description: string;
|
|
976
|
-
|
|
977
|
-
originator_country: string;
|
|
978
|
-
|
|
979
|
-
originator_identification: string;
|
|
980
|
-
|
|
981
|
-
originator_name: string;
|
|
982
|
-
|
|
983
|
-
originator_postal_code: string | null;
|
|
984
|
-
|
|
985
|
-
originator_state_or_province: string | null;
|
|
986
|
-
|
|
987
|
-
originator_street_address: string;
|
|
988
|
-
|
|
989
|
-
payment_related_information: string | null;
|
|
990
|
-
|
|
991
|
-
payment_related_information2: string | null;
|
|
992
|
-
|
|
993
|
-
receiver_city: string;
|
|
994
|
-
|
|
995
|
-
receiver_country: string;
|
|
996
|
-
|
|
997
|
-
receiver_identification_number: string | null;
|
|
998
|
-
|
|
999
|
-
receiver_postal_code: string | null;
|
|
1000
|
-
|
|
1001
|
-
receiver_state_or_province: string | null;
|
|
1002
|
-
|
|
1003
|
-
receiver_street_address: string;
|
|
1004
|
-
|
|
1005
|
-
receiving_company_or_individual_name: string;
|
|
1006
|
-
|
|
1007
|
-
receiving_depository_financial_institution_country: string;
|
|
1008
|
-
|
|
1009
|
-
receiving_depository_financial_institution_id: string;
|
|
1010
|
-
|
|
1011
|
-
receiving_depository_financial_institution_id_qualifier: string;
|
|
1012
|
-
|
|
1013
|
-
receiving_depository_financial_institution_name: string;
|
|
1014
|
-
|
|
1015
|
-
trace_number: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* The identifier of the Real Time Payments Transfer that led to this Pending
|
|
1047
|
+
* Transaction.
|
|
1048
|
+
*/
|
|
1049
|
+
transfer_id: string;
|
|
1016
1050
|
}
|
|
1017
1051
|
|
|
1018
1052
|
/**
|
|
1019
|
-
* A Wire
|
|
1020
|
-
* only if `category` is equal to `
|
|
1053
|
+
* A Wire Transfer Instruction object. This field will be present in the JSON
|
|
1054
|
+
* response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
1021
1055
|
*/
|
|
1022
|
-
export interface
|
|
1056
|
+
export interface WireTransferInstruction {
|
|
1057
|
+
account_number: string;
|
|
1058
|
+
|
|
1023
1059
|
/**
|
|
1024
|
-
* The
|
|
1025
|
-
*
|
|
1060
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1061
|
+
* for example, this is cents.
|
|
1026
1062
|
*/
|
|
1027
1063
|
amount: number;
|
|
1028
1064
|
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
beneficiary_address_line2: string | null;
|
|
1032
|
-
|
|
1033
|
-
beneficiary_address_line3: string | null;
|
|
1034
|
-
|
|
1035
|
-
beneficiary_name: string | null;
|
|
1036
|
-
|
|
1037
|
-
beneficiary_reference: string | null;
|
|
1038
|
-
|
|
1039
|
-
description: string;
|
|
1040
|
-
|
|
1041
|
-
input_message_accountability_data: string | null;
|
|
1042
|
-
|
|
1043
|
-
originator_address_line1: string | null;
|
|
1044
|
-
|
|
1045
|
-
originator_address_line2: string | null;
|
|
1046
|
-
|
|
1047
|
-
originator_address_line3: string | null;
|
|
1048
|
-
|
|
1049
|
-
originator_name: string | null;
|
|
1050
|
-
|
|
1051
|
-
originator_to_beneficiary_information_line1: string | null;
|
|
1052
|
-
|
|
1053
|
-
originator_to_beneficiary_information_line2: string | null;
|
|
1054
|
-
|
|
1055
|
-
originator_to_beneficiary_information_line3: string | null;
|
|
1065
|
+
message_to_recipient: string;
|
|
1056
1066
|
|
|
1057
|
-
|
|
1067
|
+
routing_number: string;
|
|
1058
1068
|
|
|
1059
|
-
|
|
1060
|
-
* Why the wire transfer was declined.
|
|
1061
|
-
*/
|
|
1062
|
-
reason:
|
|
1063
|
-
| 'account_number_canceled'
|
|
1064
|
-
| 'account_number_disabled'
|
|
1065
|
-
| 'entity_not_active'
|
|
1066
|
-
| 'group_locked'
|
|
1067
|
-
| 'no_account_number'
|
|
1068
|
-
| 'transaction_not_allowed';
|
|
1069
|
+
transfer_id: string;
|
|
1069
1070
|
}
|
|
1070
1071
|
}
|
|
1071
1072
|
}
|
|
@@ -1114,3 +1115,9 @@ export interface CardSettlementParams {
|
|
|
1114
1115
|
*/
|
|
1115
1116
|
amount?: number;
|
|
1116
1117
|
}
|
|
1118
|
+
|
|
1119
|
+
export namespace Cards {
|
|
1120
|
+
export import CardAuthorizationSimulation = API.CardAuthorizationSimulation;
|
|
1121
|
+
export import CardAuthorizeParams = API.CardAuthorizeParams;
|
|
1122
|
+
export import CardSettlementParams = API.CardSettlementParams;
|
|
1123
|
+
}
|