increase 0.5.0 → 0.7.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 +80 -0
- package/README.md +11 -6
- package/_shims/agent.d.ts +9 -0
- package/_shims/agent.d.ts.map +1 -0
- package/_shims/agent.js.map +1 -0
- package/_shims/agent.mjs +10 -0
- package/_shims/agent.mjs.map +1 -0
- package/_shims/agent.node.d.ts +7 -0
- package/_shims/agent.node.d.ts.map +1 -0
- package/_shims/agent.node.js.map +1 -0
- package/_shims/agent.node.mjs +16 -0
- package/_shims/agent.node.mjs.map +1 -0
- package/_shims/fetch.d.ts +52 -0
- package/_shims/fetch.js +13 -0
- package/_shims/fetch.mjs +15 -0
- package/_shims/fetch.node.d.ts +53 -0
- package/_shims/fetch.node.js +12 -0
- package/_shims/fetch.node.mjs +14 -0
- package/_shims/fileFromPath.d.ts +22 -0
- package/_shims/fileFromPath.d.ts.map +1 -0
- package/_shims/fileFromPath.js +16 -0
- package/_shims/fileFromPath.js.map +1 -0
- package/_shims/fileFromPath.mjs +12 -0
- package/_shims/fileFromPath.mjs.map +1 -0
- package/_shims/fileFromPath.node.d.ts +17 -0
- package/_shims/fileFromPath.node.d.ts.map +1 -0
- package/_shims/fileFromPath.node.js +17 -0
- package/_shims/fileFromPath.node.js.map +1 -0
- package/_shims/fileFromPath.node.mjs +13 -0
- package/_shims/fileFromPath.node.mjs.map +1 -0
- package/_shims/formdata.d.ts +43 -0
- package/_shims/formdata.js +9 -0
- package/_shims/formdata.mjs +11 -0
- package/_shims/formdata.node.d.ts +44 -0
- package/_shims/formdata.node.js +11 -0
- package/_shims/getMultipartRequestOptions.d.ts.map +1 -0
- package/_shims/getMultipartRequestOptions.js +12 -0
- package/_shims/getMultipartRequestOptions.js.map +1 -0
- package/_shims/getMultipartRequestOptions.mjs +8 -0
- package/_shims/getMultipartRequestOptions.mjs.map +1 -0
- package/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
- package/_shims/getMultipartRequestOptions.node.js +22 -0
- package/_shims/getMultipartRequestOptions.node.js.map +1 -0
- package/_shims/getMultipartRequestOptions.node.mjs +18 -0
- package/_shims/getMultipartRequestOptions.node.mjs.map +1 -0
- package/_shims/node-readable.d.ts +23 -0
- package/_shims/node-readable.d.ts.map +1 -0
- package/_shims/node-readable.js +11 -0
- package/_shims/node-readable.js.map +1 -0
- package/_shims/node-readable.mjs +7 -0
- package/_shims/node-readable.mjs.map +1 -0
- package/_shims/node-readable.node.d.ts +8 -0
- package/_shims/node-readable.node.d.ts.map +1 -0
- package/_shims/node-readable.node.js +9 -0
- package/_shims/node-readable.node.js.map +1 -0
- package/_shims/node-readable.node.mjs +5 -0
- package/_shims/node-readable.node.mjs.map +1 -0
- package/core.d.ts +230 -0
- package/core.d.ts.map +1 -0
- package/core.js +717 -0
- package/core.js.map +1 -0
- package/core.mjs +621 -0
- package/core.mjs.map +1 -0
- package/error.d.ts +225 -0
- package/error.d.ts.map +1 -0
- package/error.js +350 -0
- package/error.js.map +1 -0
- package/error.mjs +297 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +355 -0
- package/index.d.ts +355 -0
- package/index.d.ts.map +1 -0
- package/index.js +292 -0
- package/index.js.map +1 -0
- package/index.mjs +221 -0
- package/index.mjs.map +1 -0
- package/package.json +34 -77
- package/pagination.d.ts.map +1 -0
- package/pagination.js +30 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +26 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.ts.map +1 -0
- package/resource.js.map +1 -0
- package/resource.mjs +13 -0
- package/resource.mjs.map +1 -0
- package/resources/account-numbers.d.ts +151 -0
- package/resources/account-numbers.d.ts.map +1 -0
- package/resources/account-numbers.js +38 -0
- package/resources/account-numbers.js.map +1 -0
- package/resources/account-numbers.mjs +33 -0
- package/resources/account-numbers.mjs.map +1 -0
- package/resources/account-statements.d.ts +108 -0
- package/resources/account-statements.d.ts.map +1 -0
- package/resources/account-statements.js +28 -0
- package/resources/account-statements.js.map +1 -0
- package/resources/account-statements.mjs +21 -0
- package/resources/account-statements.mjs.map +1 -0
- package/resources/account-transfers.d.ts +232 -0
- package/resources/account-transfers.d.ts.map +1 -0
- package/resources/account-transfers.js +46 -0
- package/resources/account-transfers.js.map +1 -0
- package/resources/account-transfers.mjs +39 -0
- package/resources/account-transfers.mjs.map +1 -0
- package/resources/accounts.d.ts +178 -0
- package/resources/accounts.d.ts.map +1 -0
- package/resources/accounts.js +44 -0
- package/resources/accounts.js.map +1 -0
- package/resources/accounts.mjs +39 -0
- package/resources/accounts.mjs.map +1 -0
- package/resources/ach-prenotifications.d.ts +216 -0
- package/resources/ach-prenotifications.d.ts.map +1 -0
- package/resources/ach-prenotifications.js +34 -0
- package/resources/ach-prenotifications.js.map +1 -0
- package/resources/ach-prenotifications.mjs +27 -0
- package/resources/ach-prenotifications.mjs.map +1 -0
- package/resources/ach-transfers.d.ts +681 -0
- package/resources/ach-transfers.d.ts.map +1 -0
- package/resources/ach-transfers.js +44 -0
- package/resources/ach-transfers.js.map +1 -0
- package/resources/ach-transfers.mjs +39 -0
- package/resources/ach-transfers.mjs.map +1 -0
- package/resources/balance-lookups.d.ts +52 -0
- package/resources/balance-lookups.d.ts.map +1 -0
- package/resources/balance-lookups.js +16 -0
- package/resources/balance-lookups.js.map +1 -0
- package/resources/balance-lookups.mjs +12 -0
- package/resources/balance-lookups.mjs.map +1 -0
- package/resources/bookkeeping-accounts.d.ts +86 -0
- package/resources/bookkeeping-accounts.d.ts.map +1 -0
- package/resources/bookkeeping-accounts.js +28 -0
- package/resources/bookkeeping-accounts.js.map +1 -0
- package/resources/bookkeeping-accounts.mjs +21 -0
- package/resources/bookkeeping-accounts.mjs.map +1 -0
- package/resources/bookkeeping-entries.d.ts +51 -0
- package/resources/bookkeeping-entries.d.ts.map +1 -0
- package/resources/bookkeeping-entries.js +22 -0
- package/resources/bookkeeping-entries.js.map +1 -0
- package/resources/bookkeeping-entries.mjs +15 -0
- package/resources/bookkeeping-entries.mjs.map +1 -0
- package/resources/bookkeeping-entry-sets.d.ts +88 -0
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -0
- package/resources/bookkeeping-entry-sets.js +18 -0
- package/resources/bookkeeping-entry-sets.js.map +1 -0
- package/resources/bookkeeping-entry-sets.mjs +12 -0
- package/resources/bookkeeping-entry-sets.mjs.map +1 -0
- package/resources/card-disputes.d.ts +167 -0
- package/resources/card-disputes.d.ts.map +1 -0
- package/resources/card-disputes.js +32 -0
- package/resources/card-disputes.js.map +1 -0
- package/resources/card-disputes.mjs +27 -0
- package/resources/card-disputes.mjs.map +1 -0
- package/resources/card-profiles.d.ts +260 -0
- package/resources/card-profiles.d.ts.map +1 -0
- package/resources/card-profiles.js +32 -0
- package/resources/card-profiles.js.map +1 -0
- package/resources/card-profiles.mjs +27 -0
- package/resources/card-profiles.mjs.map +1 -0
- package/resources/cards.d.ts +364 -0
- package/resources/cards.d.ts.map +1 -0
- package/resources/cards.js +44 -0
- package/resources/cards.js.map +1 -0
- package/resources/cards.mjs +39 -0
- package/resources/cards.mjs.map +1 -0
- package/resources/check-deposits.d.ts +324 -0
- package/resources/check-deposits.d.ts.map +1 -0
- package/resources/check-deposits.js +32 -0
- package/resources/check-deposits.js.map +1 -0
- package/resources/check-deposits.mjs +27 -0
- package/resources/check-deposits.mjs.map +1 -0
- package/resources/check-transfers.d.ts +468 -0
- package/resources/check-transfers.d.ts.map +1 -0
- package/resources/check-transfers.js +50 -0
- package/resources/check-transfers.js.map +1 -0
- package/resources/check-transfers.mjs +45 -0
- package/resources/check-transfers.mjs.map +1 -0
- package/resources/declined-transactions.d.ts +633 -0
- package/resources/declined-transactions.d.ts.map +1 -0
- package/resources/declined-transactions.js +28 -0
- package/resources/declined-transactions.js.map +1 -0
- package/resources/declined-transactions.mjs +21 -0
- package/resources/declined-transactions.mjs.map +1 -0
- package/resources/digital-wallet-tokens.d.ts +103 -0
- package/resources/digital-wallet-tokens.d.ts.map +1 -0
- package/resources/digital-wallet-tokens.js +28 -0
- package/resources/digital-wallet-tokens.js.map +1 -0
- package/resources/digital-wallet-tokens.mjs +21 -0
- package/resources/digital-wallet-tokens.mjs.map +1 -0
- package/resources/documents.d.ts +103 -0
- package/resources/documents.d.ts.map +1 -0
- package/resources/documents.js +26 -0
- package/resources/documents.js.map +1 -0
- package/resources/documents.mjs +21 -0
- package/resources/documents.mjs.map +1 -0
- package/resources/entities/entities.d.ts +1779 -0
- package/resources/entities/entities.d.ts.map +1 -0
- package/resources/entities/entities.js +81 -0
- package/resources/entities/entities.js.map +1 -0
- package/resources/entities/entities.mjs +36 -0
- package/resources/entities/entities.mjs.map +1 -0
- package/resources/entities/index.d.ts.map +1 -0
- package/resources/entities/index.js +35 -0
- package/resources/entities/index.js.map +1 -0
- package/resources/entities/index.mjs +4 -0
- package/resources/entities/index.mjs.map +1 -0
- package/resources/entities/supplemental-documents.d.ts +64 -0
- package/resources/entities/supplemental-documents.d.ts.map +1 -0
- package/resources/entities/supplemental-documents.js +30 -0
- package/resources/entities/supplemental-documents.js.map +1 -0
- package/resources/entities/supplemental-documents.mjs +23 -0
- package/resources/entities/supplemental-documents.mjs.map +1 -0
- package/resources/event-subscriptions.d.ts +373 -0
- package/resources/event-subscriptions.d.ts.map +1 -0
- package/resources/event-subscriptions.js +40 -0
- package/resources/event-subscriptions.js.map +1 -0
- package/resources/event-subscriptions.mjs +33 -0
- package/resources/event-subscriptions.mjs.map +1 -0
- package/resources/events.d.ts +271 -0
- package/resources/events.d.ts.map +1 -0
- package/resources/events.js +26 -0
- package/resources/events.js.map +1 -0
- package/resources/events.mjs +21 -0
- package/resources/events.mjs.map +1 -0
- package/resources/exports.d.ts +182 -0
- package/resources/exports.d.ts.map +1 -0
- package/resources/exports.js +32 -0
- package/resources/exports.js.map +1 -0
- package/resources/exports.mjs +27 -0
- package/resources/exports.mjs.map +1 -0
- package/resources/external-accounts.d.ts +153 -0
- package/resources/external-accounts.d.ts.map +1 -0
- package/resources/external-accounts.js +40 -0
- package/resources/external-accounts.js.map +1 -0
- package/resources/external-accounts.mjs +33 -0
- package/resources/external-accounts.mjs.map +1 -0
- package/resources/files.d.ts +218 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +35 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +30 -0
- package/resources/files.mjs.map +1 -0
- package/resources/groups.d.ts +48 -0
- package/resources/groups.d.ts.map +1 -0
- package/resources/groups.js +16 -0
- package/resources/groups.js.map +1 -0
- package/resources/groups.mjs +12 -0
- package/resources/groups.mjs.map +1 -0
- package/resources/inbound-ach-transfer-returns.d.ts +159 -0
- package/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
- package/resources/inbound-ach-transfer-returns.js +37 -0
- package/resources/inbound-ach-transfer-returns.js.map +1 -0
- package/resources/inbound-ach-transfer-returns.mjs +30 -0
- package/resources/inbound-ach-transfer-returns.mjs.map +1 -0
- package/resources/inbound-wire-drawdown-requests.d.ts +133 -0
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/resources/inbound-wire-drawdown-requests.js +32 -0
- package/resources/inbound-wire-drawdown-requests.js.map +1 -0
- package/resources/inbound-wire-drawdown-requests.mjs +26 -0
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -0
- package/resources/index.d.ts +200 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +569 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +44 -0
- package/resources/index.mjs.map +1 -0
- package/resources/limits.d.ts +152 -0
- package/resources/limits.d.ts.map +1 -0
- package/resources/limits.js +38 -0
- package/resources/limits.js.map +1 -0
- package/resources/limits.mjs +33 -0
- package/resources/limits.mjs.map +1 -0
- package/resources/oauth-connections.d.ts +62 -0
- package/resources/oauth-connections.d.ts.map +1 -0
- package/resources/oauth-connections.js +28 -0
- package/resources/oauth-connections.js.map +1 -0
- package/resources/oauth-connections.mjs +21 -0
- package/resources/oauth-connections.mjs.map +1 -0
- package/resources/pending-transactions.d.ts +599 -0
- package/resources/pending-transactions.d.ts.map +1 -0
- package/resources/pending-transactions.js +28 -0
- package/resources/pending-transactions.js.map +1 -0
- package/resources/pending-transactions.mjs +21 -0
- package/resources/pending-transactions.mjs.map +1 -0
- package/resources/programs.d.ts +56 -0
- package/resources/programs.d.ts.map +1 -0
- package/resources/programs.js +26 -0
- package/resources/programs.js.map +1 -0
- package/resources/programs.mjs +21 -0
- package/resources/programs.mjs.map +1 -0
- package/resources/real-time-decisions.d.ts +400 -0
- package/resources/real-time-decisions.d.ts.map +1 -0
- package/resources/real-time-decisions.js +24 -0
- package/resources/real-time-decisions.js.map +1 -0
- package/resources/real-time-decisions.mjs +18 -0
- package/resources/real-time-decisions.mjs.map +1 -0
- package/resources/real-time-payments-transfers.d.ts +377 -0
- package/resources/real-time-payments-transfers.d.ts.map +1 -0
- package/resources/real-time-payments-transfers.js +37 -0
- package/resources/real-time-payments-transfers.js.map +1 -0
- package/resources/real-time-payments-transfers.mjs +30 -0
- package/resources/real-time-payments-transfers.mjs.map +1 -0
- package/resources/routing-numbers.d.ts +67 -0
- package/resources/routing-numbers.d.ts.map +1 -0
- package/resources/routing-numbers.js +22 -0
- package/resources/routing-numbers.js.map +1 -0
- package/resources/routing-numbers.mjs +17 -0
- package/resources/routing-numbers.mjs.map +1 -0
- package/resources/shared.d.ts +29 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/simulations/account-statements.d.ts +24 -0
- package/resources/simulations/account-statements.d.ts.map +1 -0
- package/resources/simulations/account-statements.js +19 -0
- package/resources/simulations/account-statements.js.map +1 -0
- package/resources/simulations/account-statements.mjs +13 -0
- package/resources/simulations/account-statements.mjs.map +1 -0
- package/resources/simulations/account-transfers.d.ts +16 -0
- package/resources/simulations/account-transfers.d.ts.map +1 -0
- package/resources/simulations/account-transfers.js +18 -0
- package/resources/simulations/account-transfers.js.map +1 -0
- package/resources/simulations/account-transfers.mjs +14 -0
- package/resources/simulations/account-transfers.mjs.map +1 -0
- package/resources/simulations/ach-transfers.d.ts +2439 -0
- package/resources/simulations/ach-transfers.d.ts.map +1 -0
- package/resources/simulations/ach-transfers.js +40 -0
- package/resources/simulations/ach-transfers.js.map +1 -0
- package/resources/simulations/ach-transfers.mjs +36 -0
- package/resources/simulations/ach-transfers.mjs.map +1 -0
- package/resources/simulations/card-disputes.d.ts +35 -0
- package/resources/simulations/card-disputes.d.ts.map +1 -0
- package/resources/simulations/card-disputes.js +19 -0
- package/resources/simulations/card-disputes.js.map +1 -0
- package/resources/simulations/card-disputes.mjs +15 -0
- package/resources/simulations/card-disputes.mjs.map +1 -0
- package/resources/simulations/card-profiles.d.ts +17 -0
- package/resources/simulations/card-profiles.d.ts.map +1 -0
- package/resources/simulations/card-profiles.js +19 -0
- package/resources/simulations/card-profiles.js.map +1 -0
- package/resources/simulations/card-profiles.mjs +15 -0
- package/resources/simulations/card-profiles.mjs.map +1 -0
- package/resources/simulations/card-refunds.d.ts +25 -0
- package/resources/simulations/card-refunds.d.ts.map +1 -0
- package/resources/simulations/card-refunds.js +17 -0
- package/resources/simulations/card-refunds.js.map +1 -0
- package/resources/simulations/card-refunds.mjs +13 -0
- package/resources/simulations/card-refunds.mjs.map +1 -0
- package/resources/simulations/cards.d.ts +1185 -0
- package/resources/simulations/cards.d.ts.map +1 -0
- package/resources/simulations/cards.js +32 -0
- package/resources/simulations/cards.js.map +1 -0
- package/resources/simulations/cards.mjs +28 -0
- package/resources/simulations/cards.mjs.map +1 -0
- package/resources/simulations/check-deposits.d.ts +31 -0
- package/resources/simulations/check-deposits.d.ts.map +1 -0
- package/resources/simulations/check-deposits.js +31 -0
- package/resources/simulations/check-deposits.js.map +1 -0
- package/resources/simulations/check-deposits.mjs +27 -0
- package/resources/simulations/check-deposits.mjs.map +1 -0
- package/resources/simulations/check-transfers.d.ts +23 -0
- package/resources/simulations/check-transfers.d.ts.map +1 -0
- package/resources/simulations/check-transfers.js +24 -0
- package/resources/simulations/check-transfers.js.map +1 -0
- package/resources/simulations/check-transfers.mjs +20 -0
- package/resources/simulations/check-transfers.mjs.map +1 -0
- package/resources/simulations/digital-wallet-token-requests.d.ts +56 -0
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
- package/resources/simulations/digital-wallet-token-requests.js +20 -0
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -0
- package/resources/simulations/digital-wallet-token-requests.mjs +13 -0
- package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -0
- package/resources/simulations/documents.d.ts +23 -0
- package/resources/simulations/documents.d.ts.map +1 -0
- package/resources/simulations/documents.js +16 -0
- package/resources/simulations/documents.js.map +1 -0
- package/resources/simulations/documents.mjs +12 -0
- package/resources/simulations/documents.mjs.map +1 -0
- package/resources/simulations/inbound-funds-holds.d.ts +74 -0
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -0
- package/resources/simulations/inbound-funds-holds.js +19 -0
- package/resources/simulations/inbound-funds-holds.js.map +1 -0
- package/resources/simulations/inbound-funds-holds.mjs +13 -0
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -0
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/resources/simulations/inbound-wire-drawdown-requests.js +20 -0
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +15 -0
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -0
- package/resources/simulations/index.d.ts +40 -0
- package/resources/simulations/index.d.ts.map +1 -0
- package/resources/simulations/index.js +149 -0
- package/resources/simulations/index.js.map +1 -0
- package/resources/simulations/index.mjs +20 -0
- package/resources/simulations/index.mjs.map +1 -0
- package/resources/simulations/interest-payments.d.ts +1591 -0
- package/resources/simulations/interest-payments.d.ts.map +1 -0
- package/resources/simulations/interest-payments.js +19 -0
- package/resources/simulations/interest-payments.js.map +1 -0
- package/resources/simulations/interest-payments.mjs +13 -0
- package/resources/simulations/interest-payments.mjs.map +1 -0
- package/resources/simulations/programs.d.ts +25 -0
- package/resources/simulations/programs.d.ts.map +1 -0
- package/resources/simulations/programs.js +18 -0
- package/resources/simulations/programs.js.map +1 -0
- package/resources/simulations/programs.mjs +14 -0
- package/resources/simulations/programs.mjs.map +1 -0
- package/resources/simulations/real-time-payments-transfers.d.ts +2289 -0
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
- package/resources/simulations/real-time-payments-transfers.js +30 -0
- package/resources/simulations/real-time-payments-transfers.js.map +1 -0
- package/resources/simulations/real-time-payments-transfers.mjs +24 -0
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -0
- package/resources/simulations/simulations.d.ts +80 -0
- package/resources/simulations/simulations.d.ts.map +1 -0
- package/resources/simulations/simulations.js +112 -0
- package/resources/simulations/simulations.js.map +1 -0
- package/resources/simulations/simulations.mjs +62 -0
- package/resources/simulations/simulations.mjs.map +1 -0
- package/resources/simulations/wire-transfers.d.ts +1657 -0
- package/resources/simulations/wire-transfers.d.ts.map +1 -0
- package/resources/simulations/wire-transfers.js +16 -0
- package/resources/simulations/wire-transfers.js.map +1 -0
- package/resources/simulations/wire-transfers.mjs +12 -0
- package/resources/simulations/wire-transfers.mjs.map +1 -0
- package/resources/transactions.d.ts +1646 -0
- package/resources/transactions.d.ts.map +1 -0
- package/resources/transactions.js +26 -0
- package/resources/transactions.js.map +1 -0
- package/resources/transactions.mjs +21 -0
- package/resources/transactions.mjs.map +1 -0
- package/resources/wire-drawdown-requests.d.ts +169 -0
- package/resources/wire-drawdown-requests.d.ts.map +1 -0
- package/resources/wire-drawdown-requests.js +34 -0
- package/resources/wire-drawdown-requests.js.map +1 -0
- package/resources/wire-drawdown-requests.mjs +27 -0
- package/resources/wire-drawdown-requests.mjs.map +1 -0
- package/resources/wire-transfers.d.ts +384 -0
- package/resources/wire-transfers.d.ts.map +1 -0
- package/resources/wire-transfers.js +61 -0
- package/resources/wire-transfers.js.map +1 -0
- package/resources/wire-transfers.mjs +56 -0
- package/resources/wire-transfers.mjs.map +1 -0
- package/src/_shims/agent.node.ts +22 -0
- package/src/_shims/agent.ts +12 -0
- package/src/_shims/fetch.d.ts +52 -0
- package/src/_shims/fetch.js +13 -0
- package/src/_shims/fetch.mjs +15 -0
- package/src/_shims/fetch.node.d.ts +53 -0
- package/src/_shims/fetch.node.js +12 -0
- package/src/_shims/fetch.node.mjs +14 -0
- package/src/_shims/fileFromPath.node.ts +29 -0
- package/src/_shims/fileFromPath.ts +29 -0
- package/src/_shims/formdata.d.ts +43 -0
- package/src/_shims/formdata.js +9 -0
- package/src/_shims/formdata.mjs +11 -0
- package/src/_shims/formdata.node.d.ts +44 -0
- package/src/_shims/formdata.node.js +11 -0
- package/src/_shims/formdata.node.mjs +9 -0
- package/src/_shims/getMultipartRequestOptions.node.ts +25 -0
- package/src/_shims/getMultipartRequestOptions.ts +14 -0
- package/src/_shims/node-readable.node.ts +10 -0
- package/src/_shims/node-readable.ts +30 -0
- package/src/core.ts +819 -0
- package/src/error.ts +545 -0
- package/src/index.ts +456 -0
- package/src/resources/account-numbers.ts +193 -0
- package/src/resources/account-statements.ts +140 -0
- package/src/resources/account-transfers.ts +290 -0
- package/src/resources/accounts.ts +228 -0
- package/src/resources/ach-prenotifications.ts +269 -0
- package/src/resources/ach-transfers.ts +776 -0
- package/src/resources/balance-lookups.ts +63 -0
- package/src/resources/bookkeeping-accounts.ts +114 -0
- package/src/resources/bookkeeping-entries.ts +71 -0
- package/src/resources/bookkeeping-entry-sets.ts +106 -0
- package/src/resources/card-disputes.ts +210 -0
- package/src/resources/card-profiles.ts +321 -0
- package/src/resources/cards.ts +445 -0
- package/src/resources/check-deposits.ts +385 -0
- package/src/resources/check-transfers.ts +573 -0
- package/src/resources/declined-transactions.ts +764 -0
- package/src/resources/digital-wallet-tokens.ts +132 -0
- package/src/resources/documents.ts +134 -0
- package/src/resources/entities/entities.ts +2080 -0
- package/src/resources/entities/supplemental-documents.ts +81 -0
- package/src/resources/event-subscriptions.ts +408 -0
- package/src/resources/events.ts +302 -0
- package/src/resources/exports.ts +225 -0
- package/src/resources/external-accounts.ts +193 -0
- package/src/resources/files.ts +256 -0
- package/src/resources/groups.ts +58 -0
- package/src/resources/inbound-ach-transfer-returns.ts +194 -0
- package/src/resources/inbound-wire-drawdown-requests.ts +176 -0
- package/src/resources/index.ts +194 -0
- package/src/resources/limits.ts +190 -0
- package/src/resources/oauth-connections.ts +85 -0
- package/src/resources/pending-transactions.ts +694 -0
- package/src/resources/programs.ts +79 -0
- package/src/resources/real-time-decisions.ts +456 -0
- package/src/resources/real-time-payments-transfers.ts +445 -0
- package/src/resources/routing-numbers.ts +80 -0
- package/src/resources/shared.ts +30 -0
- package/src/resources/simulations/account-statements.ts +30 -0
- package/src/resources/simulations/account-transfers.ts +20 -0
- package/src/resources/simulations/ach-transfers.ts +2826 -0
- package/src/resources/simulations/card-disputes.ts +42 -0
- package/src/resources/simulations/card-profiles.ts +21 -0
- package/src/resources/simulations/card-refunds.ts +31 -0
- package/src/resources/simulations/cards.ts +1378 -0
- package/src/resources/simulations/check-deposits.ts +41 -0
- package/src/resources/simulations/check-transfers.ts +30 -0
- package/src/resources/simulations/digital-wallet-token-requests.ts +65 -0
- package/src/resources/simulations/documents.ts +29 -0
- package/src/resources/simulations/inbound-funds-holds.ts +88 -0
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +131 -0
- package/src/resources/simulations/index.ts +41 -0
- package/src/resources/simulations/interest-payments.ts +1858 -0
- package/src/resources/simulations/programs.ts +31 -0
- package/src/resources/simulations/real-time-payments-transfers.ts +2677 -0
- package/src/resources/simulations/simulations.ts +99 -0
- package/src/resources/simulations/wire-transfers.ts +1937 -0
- package/src/resources/transactions.ts +1930 -0
- package/src/resources/wire-drawdown-requests.ts +215 -0
- package/src/resources/wire-transfers.ts +479 -0
- package/src/streaming.ts +274 -0
- package/src/uploads.ts +249 -0
- package/src/version.ts +1 -0
- package/streaming.d.ts +14 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +213 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +209 -0
- package/streaming.mjs.map +1 -0
- package/uploads.d.ts +90 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +208 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +175 -0
- package/uploads.mjs.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
- package/_shims/agent.node.ts +0 -20
- package/_shims/agent.ts +0 -12
- package/_shims/fetch.node.ts +0 -11
- package/_shims/fetch.ts +0 -32
- package/_shims/fileFromPath.node.ts +0 -30
- package/_shims/fileFromPath.ts +0 -30
- package/_shims/formdata.ts +0 -22
- package/_shims/getMultipartRequestOptions.node.ts +0 -24
- package/_shims/getMultipartRequestOptions.ts +0 -13
- package/_shims/newFileArgs.ts +0 -94
- package/_shims/toFile.node.ts +0 -25
- package/_shims/toFile.ts +0 -26
- package/_shims/uploadable.node.ts +0 -21
- package/_shims/uploadable.ts +0 -82
- package/check-version.ts +0 -18
- package/core.ts +0 -761
- package/dist/cjs/_shims/agent.d.ts +0 -9
- package/dist/cjs/_shims/agent.d.ts.map +0 -1
- package/dist/cjs/_shims/agent.js.map +0 -1
- package/dist/cjs/_shims/agent.node.d.ts +0 -6
- package/dist/cjs/_shims/agent.node.d.ts.map +0 -1
- package/dist/cjs/_shims/agent.node.js.map +0 -1
- package/dist/cjs/_shims/fetch.d.ts +0 -19
- package/dist/cjs/_shims/fetch.d.ts.map +0 -1
- package/dist/cjs/_shims/fetch.js +0 -24
- package/dist/cjs/_shims/fetch.js.map +0 -1
- package/dist/cjs/_shims/fetch.node.d.ts +0 -9
- package/dist/cjs/_shims/fetch.node.d.ts.map +0 -1
- package/dist/cjs/_shims/fetch.node.js +0 -68
- package/dist/cjs/_shims/fetch.node.js.map +0 -1
- package/dist/cjs/_shims/fileFromPath.d.ts +0 -23
- package/dist/cjs/_shims/fileFromPath.d.ts.map +0 -1
- package/dist/cjs/_shims/fileFromPath.js +0 -49
- package/dist/cjs/_shims/fileFromPath.js.map +0 -1
- package/dist/cjs/_shims/fileFromPath.node.d.ts +0 -18
- package/dist/cjs/_shims/fileFromPath.node.d.ts.map +0 -1
- package/dist/cjs/_shims/fileFromPath.node.js +0 -50
- package/dist/cjs/_shims/fileFromPath.node.js.map +0 -1
- package/dist/cjs/_shims/formdata.d.ts +0 -13
- package/dist/cjs/_shims/formdata.d.ts.map +0 -1
- package/dist/cjs/_shims/formdata.js +0 -20
- package/dist/cjs/_shims/formdata.js.map +0 -1
- package/dist/cjs/_shims/formdata.node.d.ts +0 -7
- package/dist/cjs/_shims/formdata.node.d.ts.map +0 -1
- package/dist/cjs/_shims/formdata.node.js +0 -27
- package/dist/cjs/_shims/formdata.node.js.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +0 -10
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.js +0 -44
- package/dist/cjs/_shims/getMultipartRequestOptions.js.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +0 -10
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.node.js +0 -52
- package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +0 -1
- package/dist/cjs/_shims/newFileArgs.d.ts +0 -19
- package/dist/cjs/_shims/newFileArgs.d.ts.map +0 -1
- package/dist/cjs/_shims/newFileArgs.js +0 -169
- package/dist/cjs/_shims/newFileArgs.js.map +0 -1
- package/dist/cjs/_shims/toFile.d.ts +0 -21
- package/dist/cjs/_shims/toFile.d.ts.map +0 -1
- package/dist/cjs/_shims/toFile.js +0 -56
- package/dist/cjs/_shims/toFile.js.map +0 -1
- package/dist/cjs/_shims/toFile.node.d.ts +0 -20
- package/dist/cjs/_shims/toFile.node.d.ts.map +0 -1
- package/dist/cjs/_shims/toFile.node.js +0 -56
- package/dist/cjs/_shims/toFile.node.js.map +0 -1
- package/dist/cjs/_shims/uploadable.d.ts +0 -56
- package/dist/cjs/_shims/uploadable.d.ts.map +0 -1
- package/dist/cjs/_shims/uploadable.js +0 -37
- package/dist/cjs/_shims/uploadable.js.map +0 -1
- package/dist/cjs/_shims/uploadable.node.d.ts +0 -7
- package/dist/cjs/_shims/uploadable.node.d.ts.map +0 -1
- package/dist/cjs/_shims/uploadable.node.js +0 -23
- package/dist/cjs/_shims/uploadable.node.js.map +0 -1
- package/dist/cjs/check-version.d.ts +0 -2
- package/dist/cjs/check-version.d.ts.map +0 -1
- package/dist/cjs/check-version.js +0 -23
- package/dist/cjs/check-version.js.map +0 -1
- package/dist/cjs/core.d.ts +0 -221
- package/dist/cjs/core.d.ts.map +0 -1
- package/dist/cjs/core.js +0 -825
- package/dist/cjs/core.js.map +0 -1
- package/dist/cjs/error.d.ts +0 -208
- package/dist/cjs/error.d.ts.map +0 -1
- package/dist/cjs/error.js +0 -326
- package/dist/cjs/error.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -301
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -281
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/pagination.d.ts +0 -34
- package/dist/cjs/pagination.d.ts.map +0 -1
- package/dist/cjs/pagination.js +0 -30
- package/dist/cjs/pagination.js.map +0 -1
- package/dist/cjs/resource.d.ts +0 -12
- package/dist/cjs/resource.d.ts.map +0 -1
- package/dist/cjs/resource.js.map +0 -1
- package/dist/cjs/resources/account-numbers.d.ts +0 -137
- package/dist/cjs/resources/account-numbers.d.ts.map +0 -1
- package/dist/cjs/resources/account-numbers.js +0 -81
- package/dist/cjs/resources/account-numbers.js.map +0 -1
- package/dist/cjs/resources/account-statements.d.ts +0 -106
- package/dist/cjs/resources/account-statements.d.ts.map +0 -1
- package/dist/cjs/resources/account-statements.js +0 -69
- package/dist/cjs/resources/account-statements.js.map +0 -1
- package/dist/cjs/resources/account-transfers.d.ts +0 -205
- package/dist/cjs/resources/account-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/account-transfers.js +0 -87
- package/dist/cjs/resources/account-transfers.js.map +0 -1
- package/dist/cjs/resources/accounts.d.ts +0 -163
- package/dist/cjs/resources/accounts.d.ts.map +0 -1
- package/dist/cjs/resources/accounts.js +0 -87
- package/dist/cjs/resources/accounts.js.map +0 -1
- package/dist/cjs/resources/ach-prenotifications.d.ts +0 -199
- package/dist/cjs/resources/ach-prenotifications.d.ts.map +0 -1
- package/dist/cjs/resources/ach-prenotifications.js +0 -79
- package/dist/cjs/resources/ach-prenotifications.js.map +0 -1
- package/dist/cjs/resources/ach-transfers.d.ts +0 -461
- package/dist/cjs/resources/ach-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/ach-transfers.js +0 -87
- package/dist/cjs/resources/ach-transfers.js.map +0 -1
- package/dist/cjs/resources/balance-lookups.d.ts +0 -52
- package/dist/cjs/resources/balance-lookups.d.ts.map +0 -1
- package/dist/cjs/resources/balance-lookups.js +0 -16
- package/dist/cjs/resources/balance-lookups.js.map +0 -1
- package/dist/cjs/resources/bookkeeping-accounts.d.ts +0 -78
- package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +0 -1
- package/dist/cjs/resources/bookkeeping-accounts.js +0 -73
- package/dist/cjs/resources/bookkeeping-accounts.js.map +0 -1
- package/dist/cjs/resources/bookkeeping-entries.d.ts +0 -49
- package/dist/cjs/resources/bookkeeping-entries.d.ts.map +0 -1
- package/dist/cjs/resources/bookkeeping-entries.js +0 -63
- package/dist/cjs/resources/bookkeeping-entries.js.map +0 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +0 -88
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +0 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.js +0 -18
- package/dist/cjs/resources/bookkeeping-entry-sets.js.map +0 -1
- package/dist/cjs/resources/card-disputes.d.ts +0 -160
- package/dist/cjs/resources/card-disputes.d.ts.map +0 -1
- package/dist/cjs/resources/card-disputes.js +0 -75
- package/dist/cjs/resources/card-disputes.js.map +0 -1
- package/dist/cjs/resources/card-profiles.d.ts +0 -206
- package/dist/cjs/resources/card-profiles.d.ts.map +0 -1
- package/dist/cjs/resources/card-profiles.js +0 -75
- package/dist/cjs/resources/card-profiles.js.map +0 -1
- package/dist/cjs/resources/cards.d.ts +0 -354
- package/dist/cjs/resources/cards.d.ts.map +0 -1
- package/dist/cjs/resources/cards.js +0 -87
- package/dist/cjs/resources/cards.js.map +0 -1
- package/dist/cjs/resources/check-deposits.d.ts +0 -263
- package/dist/cjs/resources/check-deposits.d.ts.map +0 -1
- package/dist/cjs/resources/check-deposits.js +0 -75
- package/dist/cjs/resources/check-deposits.js.map +0 -1
- package/dist/cjs/resources/check-transfers.d.ts +0 -438
- package/dist/cjs/resources/check-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/check-transfers.js +0 -93
- package/dist/cjs/resources/check-transfers.js.map +0 -1
- package/dist/cjs/resources/declined-transactions.d.ts +0 -492
- package/dist/cjs/resources/declined-transactions.d.ts.map +0 -1
- package/dist/cjs/resources/declined-transactions.js +0 -73
- package/dist/cjs/resources/declined-transactions.js.map +0 -1
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +0 -92
- package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +0 -1
- package/dist/cjs/resources/digital-wallet-tokens.js +0 -73
- package/dist/cjs/resources/digital-wallet-tokens.js.map +0 -1
- package/dist/cjs/resources/documents.d.ts +0 -95
- package/dist/cjs/resources/documents.d.ts.map +0 -1
- package/dist/cjs/resources/documents.js +0 -69
- package/dist/cjs/resources/documents.js.map +0 -1
- package/dist/cjs/resources/entities/entities.d.ts +0 -1622
- package/dist/cjs/resources/entities/entities.d.ts.map +0 -1
- package/dist/cjs/resources/entities/entities.js +0 -82
- package/dist/cjs/resources/entities/entities.js.map +0 -1
- package/dist/cjs/resources/entities/index.d.ts +0 -9
- package/dist/cjs/resources/entities/index.d.ts.map +0 -1
- package/dist/cjs/resources/entities/index.js +0 -35
- package/dist/cjs/resources/entities/index.js.map +0 -1
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +0 -62
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +0 -1
- package/dist/cjs/resources/entities/supplemental-documents.js +0 -72
- package/dist/cjs/resources/entities/supplemental-documents.js.map +0 -1
- package/dist/cjs/resources/event-subscriptions.d.ts +0 -209
- package/dist/cjs/resources/event-subscriptions.d.ts.map +0 -1
- package/dist/cjs/resources/event-subscriptions.js +0 -81
- package/dist/cjs/resources/event-subscriptions.js.map +0 -1
- package/dist/cjs/resources/events.d.ts +0 -195
- package/dist/cjs/resources/events.d.ts.map +0 -1
- package/dist/cjs/resources/events.js +0 -69
- package/dist/cjs/resources/events.js.map +0 -1
- package/dist/cjs/resources/exports.d.ts +0 -169
- package/dist/cjs/resources/exports.d.ts.map +0 -1
- package/dist/cjs/resources/exports.js +0 -75
- package/dist/cjs/resources/exports.js.map +0 -1
- package/dist/cjs/resources/external-accounts.d.ts +0 -131
- package/dist/cjs/resources/external-accounts.d.ts.map +0 -1
- package/dist/cjs/resources/external-accounts.js +0 -81
- package/dist/cjs/resources/external-accounts.js.map +0 -1
- package/dist/cjs/resources/files.d.ts +0 -167
- package/dist/cjs/resources/files.d.ts.map +0 -1
- package/dist/cjs/resources/files.js +0 -114
- package/dist/cjs/resources/files.js.map +0 -1
- package/dist/cjs/resources/groups.d.ts +0 -42
- package/dist/cjs/resources/groups.d.ts.map +0 -1
- package/dist/cjs/resources/groups.js +0 -16
- package/dist/cjs/resources/groups.js.map +0 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +0 -117
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.js +0 -81
- package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +0 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +0 -131
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js +0 -76
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/cjs/resources/index.d.ts +0 -192
- package/dist/cjs/resources/index.d.ts.map +0 -1
- package/dist/cjs/resources/index.js +0 -569
- package/dist/cjs/resources/index.js.map +0 -1
- package/dist/cjs/resources/limits.d.ts +0 -114
- package/dist/cjs/resources/limits.d.ts.map +0 -1
- package/dist/cjs/resources/limits.js +0 -81
- package/dist/cjs/resources/limits.js.map +0 -1
- package/dist/cjs/resources/oauth-connections.d.ts +0 -57
- package/dist/cjs/resources/oauth-connections.d.ts.map +0 -1
- package/dist/cjs/resources/oauth-connections.js +0 -69
- package/dist/cjs/resources/oauth-connections.js.map +0 -1
- package/dist/cjs/resources/pending-transactions.d.ts +0 -482
- package/dist/cjs/resources/pending-transactions.d.ts.map +0 -1
- package/dist/cjs/resources/pending-transactions.js +0 -73
- package/dist/cjs/resources/pending-transactions.js.map +0 -1
- package/dist/cjs/resources/programs.d.ts +0 -54
- package/dist/cjs/resources/programs.d.ts.map +0 -1
- package/dist/cjs/resources/programs.js +0 -69
- package/dist/cjs/resources/programs.js.map +0 -1
- package/dist/cjs/resources/real-time-decisions.d.ts +0 -330
- package/dist/cjs/resources/real-time-decisions.d.ts.map +0 -1
- package/dist/cjs/resources/real-time-decisions.js +0 -24
- package/dist/cjs/resources/real-time-decisions.js.map +0 -1
- package/dist/cjs/resources/real-time-payments-transfers.d.ts +0 -294
- package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/real-time-payments-transfers.js +0 -81
- package/dist/cjs/resources/real-time-payments-transfers.js.map +0 -1
- package/dist/cjs/resources/routing-numbers.d.ts +0 -56
- package/dist/cjs/resources/routing-numbers.d.ts.map +0 -1
- package/dist/cjs/resources/routing-numbers.js +0 -65
- package/dist/cjs/resources/routing-numbers.js.map +0 -1
- package/dist/cjs/resources/shared.d.ts +0 -16
- package/dist/cjs/resources/shared.d.ts.map +0 -1
- package/dist/cjs/resources/shared.js.map +0 -1
- package/dist/cjs/resources/simulations/account-statements.d.ts +0 -24
- package/dist/cjs/resources/simulations/account-statements.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/account-statements.js +0 -19
- package/dist/cjs/resources/simulations/account-statements.js.map +0 -1
- package/dist/cjs/resources/simulations/account-transfers.d.ts +0 -16
- package/dist/cjs/resources/simulations/account-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/account-transfers.js +0 -18
- package/dist/cjs/resources/simulations/account-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +0 -1836
- package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/ach-transfers.js +0 -40
- package/dist/cjs/resources/simulations/ach-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/card-disputes.d.ts +0 -31
- package/dist/cjs/resources/simulations/card-disputes.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/card-disputes.js +0 -19
- package/dist/cjs/resources/simulations/card-disputes.js.map +0 -1
- package/dist/cjs/resources/simulations/card-refunds.d.ts +0 -25
- package/dist/cjs/resources/simulations/card-refunds.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/card-refunds.js +0 -17
- package/dist/cjs/resources/simulations/card-refunds.js.map +0 -1
- package/dist/cjs/resources/simulations/cards.d.ts +0 -931
- package/dist/cjs/resources/simulations/cards.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/cards.js +0 -32
- package/dist/cjs/resources/simulations/cards.js.map +0 -1
- package/dist/cjs/resources/simulations/check-deposits.d.ts +0 -31
- package/dist/cjs/resources/simulations/check-deposits.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/check-deposits.js +0 -31
- package/dist/cjs/resources/simulations/check-deposits.js.map +0 -1
- package/dist/cjs/resources/simulations/check-transfers.d.ts +0 -42
- package/dist/cjs/resources/simulations/check-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/check-transfers.js +0 -35
- package/dist/cjs/resources/simulations/check-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +0 -20
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +0 -1
- package/dist/cjs/resources/simulations/documents.d.ts +0 -23
- package/dist/cjs/resources/simulations/documents.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/documents.js +0 -16
- package/dist/cjs/resources/simulations/documents.js.map +0 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +0 -20
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/cjs/resources/simulations/index.d.ts +0 -38
- package/dist/cjs/resources/simulations/index.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/index.js +0 -133
- package/dist/cjs/resources/simulations/index.js.map +0 -1
- package/dist/cjs/resources/simulations/interest-payments.d.ts +0 -1272
- package/dist/cjs/resources/simulations/interest-payments.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/interest-payments.js +0 -19
- package/dist/cjs/resources/simulations/interest-payments.js.map +0 -1
- package/dist/cjs/resources/simulations/programs.d.ts +0 -25
- package/dist/cjs/resources/simulations/programs.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/programs.js +0 -18
- package/dist/cjs/resources/simulations/programs.js.map +0 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js +0 -30
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/simulations.d.ts +0 -74
- package/dist/cjs/resources/simulations/simulations.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/simulations.js +0 -106
- package/dist/cjs/resources/simulations/simulations.js.map +0 -1
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +0 -1338
- package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/wire-transfers.js +0 -16
- package/dist/cjs/resources/simulations/wire-transfers.js.map +0 -1
- package/dist/cjs/resources/transactions.d.ts +0 -1326
- package/dist/cjs/resources/transactions.d.ts.map +0 -1
- package/dist/cjs/resources/transactions.js +0 -69
- package/dist/cjs/resources/transactions.js.map +0 -1
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +0 -160
- package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +0 -1
- package/dist/cjs/resources/wire-drawdown-requests.js +0 -79
- package/dist/cjs/resources/wire-drawdown-requests.js.map +0 -1
- package/dist/cjs/resources/wire-transfers.d.ts +0 -352
- package/dist/cjs/resources/wire-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/wire-transfers.js +0 -104
- package/dist/cjs/resources/wire-transfers.js.map +0 -1
- package/dist/cjs/streaming.d.ts +0 -12
- package/dist/cjs/streaming.d.ts.map +0 -1
- package/dist/cjs/streaming.js +0 -284
- package/dist/cjs/streaming.js.map +0 -1
- package/dist/cjs/uploads.d.ts +0 -24
- package/dist/cjs/uploads.d.ts.map +0 -1
- package/dist/cjs/uploads.js +0 -121
- package/dist/cjs/uploads.js.map +0 -1
- package/dist/cjs/version.d.ts +0 -2
- package/dist/cjs/version.d.ts.map +0 -1
- package/dist/cjs/version.js +0 -5
- package/dist/cjs/version.js.map +0 -1
- package/dist/esm/_shims/agent.d.ts +0 -9
- package/dist/esm/_shims/agent.d.ts.map +0 -1
- package/dist/esm/_shims/agent.js +0 -10
- package/dist/esm/_shims/agent.js.map +0 -1
- package/dist/esm/_shims/agent.node.d.ts +0 -6
- package/dist/esm/_shims/agent.node.d.ts.map +0 -1
- package/dist/esm/_shims/agent.node.js +0 -16
- package/dist/esm/_shims/agent.node.js.map +0 -1
- package/dist/esm/_shims/fetch.d.ts +0 -19
- package/dist/esm/_shims/fetch.d.ts.map +0 -1
- package/dist/esm/_shims/fetch.js +0 -18
- package/dist/esm/_shims/fetch.js.map +0 -1
- package/dist/esm/_shims/fetch.node.d.ts +0 -9
- package/dist/esm/_shims/fetch.node.d.ts.map +0 -1
- package/dist/esm/_shims/fetch.node.js +0 -7
- package/dist/esm/_shims/fetch.node.js.map +0 -1
- package/dist/esm/_shims/fileFromPath.d.ts +0 -23
- package/dist/esm/_shims/fileFromPath.d.ts.map +0 -1
- package/dist/esm/_shims/fileFromPath.js +0 -12
- package/dist/esm/_shims/fileFromPath.js.map +0 -1
- package/dist/esm/_shims/fileFromPath.node.d.ts +0 -18
- package/dist/esm/_shims/fileFromPath.node.d.ts.map +0 -1
- package/dist/esm/_shims/fileFromPath.node.js +0 -13
- package/dist/esm/_shims/fileFromPath.node.js.map +0 -1
- package/dist/esm/_shims/formdata.d.ts +0 -13
- package/dist/esm/_shims/formdata.d.ts.map +0 -1
- package/dist/esm/_shims/formdata.js +0 -15
- package/dist/esm/_shims/formdata.js.map +0 -1
- package/dist/esm/_shims/formdata.node.d.ts +0 -7
- package/dist/esm/_shims/formdata.node.d.ts.map +0 -1
- package/dist/esm/_shims/formdata.node.js +0 -7
- package/dist/esm/_shims/formdata.node.js.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.js +0 -7
- package/dist/esm/_shims/getMultipartRequestOptions.js.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.node.js +0 -17
- package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +0 -1
- package/dist/esm/_shims/newFileArgs.d.ts +0 -19
- package/dist/esm/_shims/newFileArgs.d.ts.map +0 -1
- package/dist/esm/_shims/newFileArgs.js +0 -66
- package/dist/esm/_shims/newFileArgs.js.map +0 -1
- package/dist/esm/_shims/toFile.d.ts +0 -21
- package/dist/esm/_shims/toFile.d.ts.map +0 -1
- package/dist/esm/_shims/toFile.js +0 -19
- package/dist/esm/_shims/toFile.js.map +0 -1
- package/dist/esm/_shims/toFile.node.d.ts +0 -20
- package/dist/esm/_shims/toFile.node.d.ts.map +0 -1
- package/dist/esm/_shims/toFile.node.js +0 -19
- package/dist/esm/_shims/toFile.node.js.map +0 -1
- package/dist/esm/_shims/uploadable.d.ts +0 -56
- package/dist/esm/_shims/uploadable.d.ts.map +0 -1
- package/dist/esm/_shims/uploadable.js +0 -30
- package/dist/esm/_shims/uploadable.js.map +0 -1
- package/dist/esm/_shims/uploadable.node.d.ts +0 -7
- package/dist/esm/_shims/uploadable.node.d.ts.map +0 -1
- package/dist/esm/_shims/uploadable.node.js +0 -10
- package/dist/esm/_shims/uploadable.node.js.map +0 -1
- package/dist/esm/check-version.d.ts +0 -2
- package/dist/esm/check-version.d.ts.map +0 -1
- package/dist/esm/check-version.js +0 -16
- package/dist/esm/check-version.js.map +0 -1
- package/dist/esm/core.d.ts +0 -221
- package/dist/esm/core.d.ts.map +0 -1
- package/dist/esm/core.js +0 -556
- package/dist/esm/core.js.map +0 -1
- package/dist/esm/error.d.ts +0 -208
- package/dist/esm/error.d.ts.map +0 -1
- package/dist/esm/error.js +0 -275
- package/dist/esm/error.js.map +0 -1
- package/dist/esm/index.d.ts +0 -301
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -213
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/package.json +0 -3
- package/dist/esm/pagination.d.ts.map +0 -1
- package/dist/esm/pagination.js +0 -26
- package/dist/esm/pagination.js.map +0 -1
- package/dist/esm/resource.d.ts.map +0 -1
- package/dist/esm/resource.js +0 -13
- package/dist/esm/resource.js.map +0 -1
- package/dist/esm/resources/account-numbers.d.ts +0 -137
- package/dist/esm/resources/account-numbers.d.ts.map +0 -1
- package/dist/esm/resources/account-numbers.js +0 -36
- package/dist/esm/resources/account-numbers.js.map +0 -1
- package/dist/esm/resources/account-statements.d.ts +0 -106
- package/dist/esm/resources/account-statements.d.ts.map +0 -1
- package/dist/esm/resources/account-statements.js +0 -24
- package/dist/esm/resources/account-statements.js.map +0 -1
- package/dist/esm/resources/account-transfers.d.ts +0 -205
- package/dist/esm/resources/account-transfers.d.ts.map +0 -1
- package/dist/esm/resources/account-transfers.js +0 -42
- package/dist/esm/resources/account-transfers.js.map +0 -1
- package/dist/esm/resources/accounts.d.ts +0 -163
- package/dist/esm/resources/accounts.d.ts.map +0 -1
- package/dist/esm/resources/accounts.js +0 -42
- package/dist/esm/resources/accounts.js.map +0 -1
- package/dist/esm/resources/ach-prenotifications.d.ts +0 -199
- package/dist/esm/resources/ach-prenotifications.d.ts.map +0 -1
- package/dist/esm/resources/ach-prenotifications.js +0 -30
- package/dist/esm/resources/ach-prenotifications.js.map +0 -1
- package/dist/esm/resources/ach-transfers.d.ts +0 -461
- package/dist/esm/resources/ach-transfers.d.ts.map +0 -1
- package/dist/esm/resources/ach-transfers.js +0 -42
- package/dist/esm/resources/ach-transfers.js.map +0 -1
- package/dist/esm/resources/balance-lookups.d.ts +0 -52
- package/dist/esm/resources/balance-lookups.d.ts.map +0 -1
- package/dist/esm/resources/balance-lookups.js +0 -12
- package/dist/esm/resources/balance-lookups.js.map +0 -1
- package/dist/esm/resources/bookkeeping-accounts.d.ts +0 -78
- package/dist/esm/resources/bookkeeping-accounts.d.ts.map +0 -1
- package/dist/esm/resources/bookkeeping-accounts.js +0 -24
- package/dist/esm/resources/bookkeeping-accounts.js.map +0 -1
- package/dist/esm/resources/bookkeeping-entries.d.ts +0 -49
- package/dist/esm/resources/bookkeeping-entries.d.ts.map +0 -1
- package/dist/esm/resources/bookkeeping-entries.js +0 -18
- package/dist/esm/resources/bookkeeping-entries.js.map +0 -1
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts +0 -88
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +0 -1
- package/dist/esm/resources/bookkeeping-entry-sets.js +0 -12
- package/dist/esm/resources/bookkeeping-entry-sets.js.map +0 -1
- package/dist/esm/resources/card-disputes.d.ts +0 -160
- package/dist/esm/resources/card-disputes.d.ts.map +0 -1
- package/dist/esm/resources/card-disputes.js +0 -30
- package/dist/esm/resources/card-disputes.js.map +0 -1
- package/dist/esm/resources/card-profiles.d.ts +0 -206
- package/dist/esm/resources/card-profiles.d.ts.map +0 -1
- package/dist/esm/resources/card-profiles.js +0 -30
- package/dist/esm/resources/card-profiles.js.map +0 -1
- package/dist/esm/resources/cards.d.ts +0 -354
- package/dist/esm/resources/cards.d.ts.map +0 -1
- package/dist/esm/resources/cards.js +0 -42
- package/dist/esm/resources/cards.js.map +0 -1
- package/dist/esm/resources/check-deposits.d.ts +0 -263
- package/dist/esm/resources/check-deposits.d.ts.map +0 -1
- package/dist/esm/resources/check-deposits.js +0 -30
- package/dist/esm/resources/check-deposits.js.map +0 -1
- package/dist/esm/resources/check-transfers.d.ts +0 -438
- package/dist/esm/resources/check-transfers.d.ts.map +0 -1
- package/dist/esm/resources/check-transfers.js +0 -48
- package/dist/esm/resources/check-transfers.js.map +0 -1
- package/dist/esm/resources/declined-transactions.d.ts +0 -492
- package/dist/esm/resources/declined-transactions.d.ts.map +0 -1
- package/dist/esm/resources/declined-transactions.js +0 -24
- package/dist/esm/resources/declined-transactions.js.map +0 -1
- package/dist/esm/resources/digital-wallet-tokens.d.ts +0 -92
- package/dist/esm/resources/digital-wallet-tokens.d.ts.map +0 -1
- package/dist/esm/resources/digital-wallet-tokens.js +0 -24
- package/dist/esm/resources/digital-wallet-tokens.js.map +0 -1
- package/dist/esm/resources/documents.d.ts +0 -95
- package/dist/esm/resources/documents.d.ts.map +0 -1
- package/dist/esm/resources/documents.js +0 -24
- package/dist/esm/resources/documents.js.map +0 -1
- package/dist/esm/resources/entities/entities.d.ts +0 -1622
- package/dist/esm/resources/entities/entities.d.ts.map +0 -1
- package/dist/esm/resources/entities/entities.js +0 -37
- package/dist/esm/resources/entities/entities.js.map +0 -1
- package/dist/esm/resources/entities/index.d.ts.map +0 -1
- package/dist/esm/resources/entities/index.js +0 -4
- package/dist/esm/resources/entities/index.js.map +0 -1
- package/dist/esm/resources/entities/supplemental-documents.d.ts +0 -62
- package/dist/esm/resources/entities/supplemental-documents.d.ts.map +0 -1
- package/dist/esm/resources/entities/supplemental-documents.js +0 -26
- package/dist/esm/resources/entities/supplemental-documents.js.map +0 -1
- package/dist/esm/resources/event-subscriptions.d.ts +0 -209
- package/dist/esm/resources/event-subscriptions.d.ts.map +0 -1
- package/dist/esm/resources/event-subscriptions.js +0 -36
- package/dist/esm/resources/event-subscriptions.js.map +0 -1
- package/dist/esm/resources/events.d.ts +0 -195
- package/dist/esm/resources/events.d.ts.map +0 -1
- package/dist/esm/resources/events.js +0 -24
- package/dist/esm/resources/events.js.map +0 -1
- package/dist/esm/resources/exports.d.ts +0 -169
- package/dist/esm/resources/exports.d.ts.map +0 -1
- package/dist/esm/resources/exports.js +0 -30
- package/dist/esm/resources/exports.js.map +0 -1
- package/dist/esm/resources/external-accounts.d.ts +0 -131
- package/dist/esm/resources/external-accounts.d.ts.map +0 -1
- package/dist/esm/resources/external-accounts.js +0 -36
- package/dist/esm/resources/external-accounts.js.map +0 -1
- package/dist/esm/resources/files.d.ts +0 -167
- package/dist/esm/resources/files.d.ts.map +0 -1
- package/dist/esm/resources/files.js +0 -33
- package/dist/esm/resources/files.js.map +0 -1
- package/dist/esm/resources/groups.d.ts +0 -42
- package/dist/esm/resources/groups.d.ts.map +0 -1
- package/dist/esm/resources/groups.js +0 -12
- package/dist/esm/resources/groups.js.map +0 -1
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +0 -117
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
- package/dist/esm/resources/inbound-ach-transfer-returns.js +0 -33
- package/dist/esm/resources/inbound-ach-transfer-returns.js.map +0 -1
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +0 -131
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/esm/resources/inbound-wire-drawdown-requests.js +0 -27
- package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/esm/resources/index.d.ts +0 -199
- package/dist/esm/resources/index.d.ts.map +0 -1
- package/dist/esm/resources/index.js +0 -44
- package/dist/esm/resources/index.js.map +0 -1
- package/dist/esm/resources/limits.d.ts +0 -114
- package/dist/esm/resources/limits.d.ts.map +0 -1
- package/dist/esm/resources/limits.js +0 -36
- package/dist/esm/resources/limits.js.map +0 -1
- package/dist/esm/resources/oauth-connections.d.ts +0 -57
- package/dist/esm/resources/oauth-connections.d.ts.map +0 -1
- package/dist/esm/resources/oauth-connections.js +0 -24
- package/dist/esm/resources/oauth-connections.js.map +0 -1
- package/dist/esm/resources/pending-transactions.d.ts +0 -482
- package/dist/esm/resources/pending-transactions.d.ts.map +0 -1
- package/dist/esm/resources/pending-transactions.js +0 -24
- package/dist/esm/resources/pending-transactions.js.map +0 -1
- package/dist/esm/resources/programs.d.ts +0 -54
- package/dist/esm/resources/programs.d.ts.map +0 -1
- package/dist/esm/resources/programs.js +0 -24
- package/dist/esm/resources/programs.js.map +0 -1
- package/dist/esm/resources/real-time-decisions.d.ts +0 -330
- package/dist/esm/resources/real-time-decisions.d.ts.map +0 -1
- package/dist/esm/resources/real-time-decisions.js +0 -18
- package/dist/esm/resources/real-time-decisions.js.map +0 -1
- package/dist/esm/resources/real-time-payments-transfers.d.ts +0 -294
- package/dist/esm/resources/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/esm/resources/real-time-payments-transfers.js +0 -33
- package/dist/esm/resources/real-time-payments-transfers.js.map +0 -1
- package/dist/esm/resources/routing-numbers.d.ts +0 -56
- package/dist/esm/resources/routing-numbers.d.ts.map +0 -1
- package/dist/esm/resources/routing-numbers.js +0 -20
- package/dist/esm/resources/routing-numbers.js.map +0 -1
- package/dist/esm/resources/shared.d.ts +0 -16
- package/dist/esm/resources/shared.d.ts.map +0 -1
- package/dist/esm/resources/shared.js +0 -3
- package/dist/esm/resources/shared.js.map +0 -1
- package/dist/esm/resources/simulations/account-statements.d.ts +0 -24
- package/dist/esm/resources/simulations/account-statements.d.ts.map +0 -1
- package/dist/esm/resources/simulations/account-statements.js +0 -13
- package/dist/esm/resources/simulations/account-statements.js.map +0 -1
- package/dist/esm/resources/simulations/account-transfers.d.ts +0 -16
- package/dist/esm/resources/simulations/account-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/account-transfers.js +0 -14
- package/dist/esm/resources/simulations/account-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/ach-transfers.d.ts +0 -1836
- package/dist/esm/resources/simulations/ach-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/ach-transfers.js +0 -36
- package/dist/esm/resources/simulations/ach-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/card-disputes.d.ts +0 -31
- package/dist/esm/resources/simulations/card-disputes.d.ts.map +0 -1
- package/dist/esm/resources/simulations/card-disputes.js +0 -15
- package/dist/esm/resources/simulations/card-disputes.js.map +0 -1
- package/dist/esm/resources/simulations/card-refunds.d.ts +0 -25
- package/dist/esm/resources/simulations/card-refunds.d.ts.map +0 -1
- package/dist/esm/resources/simulations/card-refunds.js +0 -13
- package/dist/esm/resources/simulations/card-refunds.js.map +0 -1
- package/dist/esm/resources/simulations/cards.d.ts +0 -931
- package/dist/esm/resources/simulations/cards.d.ts.map +0 -1
- package/dist/esm/resources/simulations/cards.js +0 -28
- package/dist/esm/resources/simulations/cards.js.map +0 -1
- package/dist/esm/resources/simulations/check-deposits.d.ts +0 -31
- package/dist/esm/resources/simulations/check-deposits.d.ts.map +0 -1
- package/dist/esm/resources/simulations/check-deposits.js +0 -27
- package/dist/esm/resources/simulations/check-deposits.js.map +0 -1
- package/dist/esm/resources/simulations/check-transfers.d.ts +0 -42
- package/dist/esm/resources/simulations/check-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/check-transfers.js +0 -28
- package/dist/esm/resources/simulations/check-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js +0 -13
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +0 -1
- package/dist/esm/resources/simulations/documents.d.ts +0 -23
- package/dist/esm/resources/simulations/documents.d.ts.map +0 -1
- package/dist/esm/resources/simulations/documents.js +0 -12
- package/dist/esm/resources/simulations/documents.js.map +0 -1
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +0 -15
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/esm/resources/simulations/index.d.ts +0 -38
- package/dist/esm/resources/simulations/index.d.ts.map +0 -1
- package/dist/esm/resources/simulations/index.js +0 -18
- package/dist/esm/resources/simulations/index.js.map +0 -1
- package/dist/esm/resources/simulations/interest-payments.d.ts +0 -1272
- package/dist/esm/resources/simulations/interest-payments.d.ts.map +0 -1
- package/dist/esm/resources/simulations/interest-payments.js +0 -13
- package/dist/esm/resources/simulations/interest-payments.js.map +0 -1
- package/dist/esm/resources/simulations/programs.d.ts +0 -25
- package/dist/esm/resources/simulations/programs.d.ts.map +0 -1
- package/dist/esm/resources/simulations/programs.js +0 -14
- package/dist/esm/resources/simulations/programs.js.map +0 -1
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/real-time-payments-transfers.js +0 -24
- package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/simulations.d.ts +0 -74
- package/dist/esm/resources/simulations/simulations.d.ts.map +0 -1
- package/dist/esm/resources/simulations/simulations.js +0 -56
- package/dist/esm/resources/simulations/simulations.js.map +0 -1
- package/dist/esm/resources/simulations/wire-transfers.d.ts +0 -1338
- package/dist/esm/resources/simulations/wire-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/wire-transfers.js +0 -12
- package/dist/esm/resources/simulations/wire-transfers.js.map +0 -1
- package/dist/esm/resources/transactions.d.ts +0 -1326
- package/dist/esm/resources/transactions.d.ts.map +0 -1
- package/dist/esm/resources/transactions.js +0 -24
- package/dist/esm/resources/transactions.js.map +0 -1
- package/dist/esm/resources/wire-drawdown-requests.d.ts +0 -160
- package/dist/esm/resources/wire-drawdown-requests.d.ts.map +0 -1
- package/dist/esm/resources/wire-drawdown-requests.js +0 -30
- package/dist/esm/resources/wire-drawdown-requests.js.map +0 -1
- package/dist/esm/resources/wire-transfers.d.ts +0 -352
- package/dist/esm/resources/wire-transfers.d.ts.map +0 -1
- package/dist/esm/resources/wire-transfers.js +0 -59
- package/dist/esm/resources/wire-transfers.js.map +0 -1
- package/dist/esm/streaming.d.ts +0 -12
- package/dist/esm/streaming.d.ts.map +0 -1
- package/dist/esm/streaming.js +0 -150
- package/dist/esm/streaming.js.map +0 -1
- package/dist/esm/uploads.d.ts +0 -24
- package/dist/esm/uploads.d.ts.map +0 -1
- package/dist/esm/uploads.js +0 -61
- package/dist/esm/uploads.js.map +0 -1
- package/dist/esm/version.d.ts +0 -2
- package/dist/esm/version.d.ts.map +0 -1
- package/dist/esm/version.js +0 -2
- package/dist/esm/version.js.map +0 -1
- package/error.ts +0 -505
- package/index.ts +0 -388
- package/resources/account-numbers.ts +0 -179
- package/resources/account-statements.ts +0 -138
- package/resources/account-transfers.ts +0 -260
- package/resources/accounts.ts +0 -213
- package/resources/ach-prenotifications.ts +0 -252
- package/resources/ach-transfers.ts +0 -553
- package/resources/balance-lookups.ts +0 -63
- package/resources/bookkeeping-accounts.ts +0 -106
- package/resources/bookkeeping-entries.ts +0 -69
- package/resources/bookkeeping-entry-sets.ts +0 -106
- package/resources/card-disputes.ts +0 -203
- package/resources/card-profiles.ts +0 -258
- package/resources/cards.ts +0 -435
- package/resources/check-deposits.ts +0 -324
- package/resources/check-transfers.ts +0 -541
- package/resources/declined-transactions.ts +0 -623
- package/resources/digital-wallet-tokens.ts +0 -121
- package/resources/documents.ts +0 -126
- package/resources/entities/entities.ts +0 -1913
- package/resources/entities/supplemental-documents.ts +0 -79
- package/resources/event-subscriptions.ts +0 -244
- package/resources/events.ts +0 -226
- package/resources/exports.ts +0 -212
- package/resources/external-accounts.ts +0 -171
- package/resources/files.ts +0 -205
- package/resources/groups.ts +0 -52
- package/resources/inbound-ach-transfer-returns.ts +0 -152
- package/resources/inbound-wire-drawdown-requests.ts +0 -174
- package/resources/index.ts +0 -193
- package/resources/limits.ts +0 -152
- package/resources/oauth-connections.ts +0 -80
- package/resources/pending-transactions.ts +0 -576
- package/resources/programs.ts +0 -77
- package/resources/real-time-decisions.ts +0 -386
- package/resources/real-time-payments-transfers.ts +0 -359
- package/resources/routing-numbers.ts +0 -69
- package/resources/shared.ts +0 -17
- package/resources/simulations/account-statements.ts +0 -30
- package/resources/simulations/account-transfers.ts +0 -20
- package/resources/simulations/ach-transfers.ts +0 -2226
- package/resources/simulations/card-disputes.ts +0 -38
- package/resources/simulations/card-refunds.ts +0 -31
- package/resources/simulations/cards.ts +0 -1123
- package/resources/simulations/check-deposits.ts +0 -41
- package/resources/simulations/check-transfers.ts +0 -54
- package/resources/simulations/digital-wallet-token-requests.ts +0 -58
- package/resources/simulations/documents.ts +0 -29
- package/resources/simulations/inbound-wire-drawdown-requests.ts +0 -131
- package/resources/simulations/index.ts +0 -39
- package/resources/simulations/interest-payments.ts +0 -1542
- package/resources/simulations/programs.ts +0 -31
- package/resources/simulations/real-time-payments-transfers.ts +0 -2173
- package/resources/simulations/simulations.ts +0 -91
- package/resources/simulations/wire-transfers.ts +0 -1621
- package/resources/transactions.ts +0 -1613
- package/resources/wire-drawdown-requests.ts +0 -206
- package/resources/wire-transfers.ts +0 -444
- package/streaming.ts +0 -201
- package/uploads.ts +0 -81
- package/version.ts +0 -1
- /package/{dist/cjs/_shims → _shims}/agent.js +0 -0
- /package/{dist/cjs/_shims → _shims}/agent.node.js +0 -0
- /package/_shims/{formdata.node.ts → formdata.node.mjs} +0 -0
- /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.d.ts +0 -0
- /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.node.d.ts +0 -0
- /package/{dist/esm/pagination.d.ts → pagination.d.ts} +0 -0
- /package/{dist/esm/resource.d.ts → resource.d.ts} +0 -0
- /package/{dist/cjs/resource.js → resource.js} +0 -0
- /package/{dist/esm/resources → resources}/entities/index.d.ts +0 -0
- /package/{dist/cjs/resources → resources}/shared.js +0 -0
- /package/{pagination.ts → src/pagination.ts} +0 -0
- /package/{resource.ts → src/resource.ts} +0 -0
- /package/{resources → src/resources}/entities/index.ts +0 -0
|
@@ -0,0 +1,1378 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
+
|
|
3
|
+
import * as Core from '../../core';
|
|
4
|
+
import { APIResource } from '../../resource';
|
|
5
|
+
import * as Transactions from '../transactions';
|
|
6
|
+
import * as Shared from '../shared';
|
|
7
|
+
import * as API from '.';
|
|
8
|
+
|
|
9
|
+
export class Cards extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Simulates a purchase authorization on a [Card](#cards). Depending on the balance
|
|
12
|
+
* available to the card and the `amount` submitted, the authorization activity
|
|
13
|
+
* will result in a [Pending Transaction](#pending-transactions) of type
|
|
14
|
+
* `card_authorization` or a [Declined Transaction](#declined-transactions) of type
|
|
15
|
+
* `card_decline`. You can pass either a Card id or a
|
|
16
|
+
* [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
|
|
17
|
+
* ways purchases can be made.
|
|
18
|
+
*/
|
|
19
|
+
authorize(
|
|
20
|
+
body: CardAuthorizeParams,
|
|
21
|
+
options?: Core.RequestOptions,
|
|
22
|
+
): Promise<Core.APIResponse<CardAuthorizationSimulation>> {
|
|
23
|
+
return this.post('/simulations/card_authorizations', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Simulates the settlement of an authorization by a card acquirer. After a card
|
|
28
|
+
* authorization is created, the merchant will eventually send a settlement. This
|
|
29
|
+
* simulates that event, which may occur many days after the purchase in
|
|
30
|
+
* production. The amount settled can be different from the amount originally
|
|
31
|
+
* authorized, for example, when adding a tip to a restaurant bill.
|
|
32
|
+
*/
|
|
33
|
+
settlement(
|
|
34
|
+
body: CardSettlementParams,
|
|
35
|
+
options?: Core.RequestOptions,
|
|
36
|
+
): Promise<Core.APIResponse<Transactions.Transaction>> {
|
|
37
|
+
return this.post('/simulations/card_settlements', { body, ...options });
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* The results of a Card Authorization simulation.
|
|
43
|
+
*/
|
|
44
|
+
export interface CardAuthorizationSimulation {
|
|
45
|
+
/**
|
|
46
|
+
* If the authorization attempt fails, this will contain the resulting
|
|
47
|
+
* [Declined Transaction](#declined-transactions) object. The Declined
|
|
48
|
+
* Transaction's `source` will be of `category: card_decline`.
|
|
49
|
+
*/
|
|
50
|
+
declined_transaction: CardAuthorizationSimulation.DeclinedTransaction | null;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* If the authorization attempt succeeds, this will contain the resulting Pending
|
|
54
|
+
* Transaction object. The Pending Transaction's `source` will be of
|
|
55
|
+
* `category: card_authorization`.
|
|
56
|
+
*/
|
|
57
|
+
pending_transaction: CardAuthorizationSimulation.PendingTransaction | null;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* A constant representing the object's type. For this resource it will always be
|
|
61
|
+
* `inbound_card_authorization_simulation_result`.
|
|
62
|
+
*/
|
|
63
|
+
type: 'inbound_card_authorization_simulation_result';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export namespace CardAuthorizationSimulation {
|
|
67
|
+
/**
|
|
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`.
|
|
71
|
+
*/
|
|
72
|
+
export interface DeclinedTransaction {
|
|
73
|
+
/**
|
|
74
|
+
* The Declined Transaction identifier.
|
|
75
|
+
*/
|
|
76
|
+
id: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The identifier for the Account the Declined Transaction belongs to.
|
|
80
|
+
*/
|
|
81
|
+
account_id: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The Declined Transaction amount in the minor unit of its currency. For dollars,
|
|
85
|
+
* for example, this is cents.
|
|
86
|
+
*/
|
|
87
|
+
amount: number;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
|
|
91
|
+
* Transaction occured.
|
|
92
|
+
*/
|
|
93
|
+
created_at: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
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
|
+
* Transcation's Account.
|
|
99
|
+
*
|
|
100
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
101
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
102
|
+
* - `EUR` - Euro (EUR)
|
|
103
|
+
* - `GBP` - British Pound (GBP)
|
|
104
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
105
|
+
* - `USD` - US Dollar (USD)
|
|
106
|
+
*/
|
|
107
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* This is the description the vendor provides.
|
|
111
|
+
*/
|
|
112
|
+
description: string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* The identifier for the route this Declined Transaction came through. Routes are
|
|
116
|
+
* things like cards and ACH details.
|
|
117
|
+
*/
|
|
118
|
+
route_id: string | null;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The type of the route this Declined Transaction came through.
|
|
122
|
+
*
|
|
123
|
+
* - `account_number` - An Account Number.
|
|
124
|
+
* - `card` - A Card.
|
|
125
|
+
*/
|
|
126
|
+
route_type: 'account_number' | 'card' | null;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* This is an object giving more details on the network-level event that caused the
|
|
130
|
+
* Declined Transaction. For example, for a card transaction this lists the
|
|
131
|
+
* merchant's industry and location. Note that for backwards compatibility reasons,
|
|
132
|
+
* additional undocumented keys may appear in this object. These should be treated
|
|
133
|
+
* as deprecated and will be removed in the future.
|
|
134
|
+
*/
|
|
135
|
+
source: DeclinedTransaction.Source;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* A constant representing the object's type. For this resource it will always be
|
|
139
|
+
* `declined_transaction`.
|
|
140
|
+
*/
|
|
141
|
+
type: 'declined_transaction';
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export namespace DeclinedTransaction {
|
|
145
|
+
/**
|
|
146
|
+
* This is an object giving more details on the network-level event that caused the
|
|
147
|
+
* Declined Transaction. For example, for a card transaction this lists the
|
|
148
|
+
* merchant's industry and location. Note that for backwards compatibility reasons,
|
|
149
|
+
* additional undocumented keys may appear in this object. These should be treated
|
|
150
|
+
* as deprecated and will be removed in the future.
|
|
151
|
+
*/
|
|
152
|
+
export interface Source {
|
|
153
|
+
/**
|
|
154
|
+
* A ACH Decline object. This field will be present in the JSON response if and
|
|
155
|
+
* only if `category` is equal to `ach_decline`.
|
|
156
|
+
*/
|
|
157
|
+
ach_decline: Source.ACHDecline | null;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* A Card Decline object. This field will be present in the JSON response if and
|
|
161
|
+
* only if `category` is equal to `card_decline`.
|
|
162
|
+
*/
|
|
163
|
+
card_decline: Source.CardDecline | null;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* The type of decline that took place. We may add additional possible values for
|
|
167
|
+
* this enum over time; your application should be able to handle such additions
|
|
168
|
+
* gracefully.
|
|
169
|
+
*
|
|
170
|
+
* - `ach_decline` - The Declined Transaction was created by a ACH Decline object.
|
|
171
|
+
* Details will be under the `ach_decline` object.
|
|
172
|
+
* - `card_decline` - The Declined Transaction was created by a Card Decline
|
|
173
|
+
* object. Details will be under the `card_decline` object.
|
|
174
|
+
* - `check_decline` - The Declined Transaction was created by a Check Decline
|
|
175
|
+
* object. Details will be under the `check_decline` object.
|
|
176
|
+
* - `inbound_real_time_payments_transfer_decline` - The Declined Transaction was
|
|
177
|
+
* created by a Inbound Real Time Payments Transfer Decline object. Details will
|
|
178
|
+
* be under the `inbound_real_time_payments_transfer_decline` object.
|
|
179
|
+
* - `international_ach_decline` - The Declined Transaction was created by a
|
|
180
|
+
* International ACH Decline object. Details will be under the
|
|
181
|
+
* `international_ach_decline` object.
|
|
182
|
+
* - `wire_decline` - The Declined Transaction was created by a Wire Decline
|
|
183
|
+
* object. Details will be under the `wire_decline` object.
|
|
184
|
+
* - `other` - The Declined Transaction was made for an undocumented or deprecated
|
|
185
|
+
* reason.
|
|
186
|
+
*/
|
|
187
|
+
category:
|
|
188
|
+
| 'ach_decline'
|
|
189
|
+
| 'card_decline'
|
|
190
|
+
| 'check_decline'
|
|
191
|
+
| 'inbound_real_time_payments_transfer_decline'
|
|
192
|
+
| 'international_ach_decline'
|
|
193
|
+
| 'wire_decline'
|
|
194
|
+
| 'other';
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* A Check Decline object. This field will be present in the JSON response if and
|
|
198
|
+
* only if `category` is equal to `check_decline`.
|
|
199
|
+
*/
|
|
200
|
+
check_decline: Source.CheckDecline | null;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* A Inbound Real Time Payments Transfer Decline object. This field will be present
|
|
204
|
+
* in the JSON response if and only if `category` is equal to
|
|
205
|
+
* `inbound_real_time_payments_transfer_decline`.
|
|
206
|
+
*/
|
|
207
|
+
inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* A International ACH Decline object. This field will be present in the JSON
|
|
211
|
+
* response if and only if `category` is equal to `international_ach_decline`.
|
|
212
|
+
*/
|
|
213
|
+
international_ach_decline: Source.InternationalACHDecline | null;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* A Wire Decline object. This field will be present in the JSON response if and
|
|
217
|
+
* only if `category` is equal to `wire_decline`.
|
|
218
|
+
*/
|
|
219
|
+
wire_decline: Source.WireDecline | null;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export namespace Source {
|
|
223
|
+
/**
|
|
224
|
+
* A ACH Decline object. This field will be present in the JSON response if and
|
|
225
|
+
* only if `category` is equal to `ach_decline`.
|
|
226
|
+
*/
|
|
227
|
+
export interface ACHDecline {
|
|
228
|
+
/**
|
|
229
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
230
|
+
* dollars, for example, this is cents.
|
|
231
|
+
*/
|
|
232
|
+
amount: number;
|
|
233
|
+
|
|
234
|
+
originator_company_descriptive_date: string | null;
|
|
235
|
+
|
|
236
|
+
originator_company_discretionary_data: string | null;
|
|
237
|
+
|
|
238
|
+
originator_company_id: string;
|
|
239
|
+
|
|
240
|
+
originator_company_name: string;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Why the ACH transfer was declined.
|
|
244
|
+
*
|
|
245
|
+
* - `ach_route_canceled` - The account number is canceled.
|
|
246
|
+
* - `ach_route_disabled` - The account number is disabled.
|
|
247
|
+
* - `breaches_limit` - The transaction would cause a limit to be exceeded.
|
|
248
|
+
* - `credit_entry_refused_by_receiver` - A credit was refused.
|
|
249
|
+
* - `duplicate_return` - Other.
|
|
250
|
+
* - `entity_not_active` - The account's entity is not active.
|
|
251
|
+
* - `group_locked` - Your account is inactive.
|
|
252
|
+
* - `insufficient_funds` - Your account contains insufficient funds.
|
|
253
|
+
* - `misrouted_return` - Other.
|
|
254
|
+
* - `no_ach_route` - The account number that was debited does not exist.
|
|
255
|
+
* - `originator_request` - Other.
|
|
256
|
+
* - `transaction_not_allowed` - The transaction is not allowed per Increase's
|
|
257
|
+
* terms.
|
|
258
|
+
*/
|
|
259
|
+
reason:
|
|
260
|
+
| 'ach_route_canceled'
|
|
261
|
+
| 'ach_route_disabled'
|
|
262
|
+
| 'breaches_limit'
|
|
263
|
+
| 'credit_entry_refused_by_receiver'
|
|
264
|
+
| 'duplicate_return'
|
|
265
|
+
| 'entity_not_active'
|
|
266
|
+
| 'group_locked'
|
|
267
|
+
| 'insufficient_funds'
|
|
268
|
+
| 'misrouted_return'
|
|
269
|
+
| 'no_ach_route'
|
|
270
|
+
| 'originator_request'
|
|
271
|
+
| 'transaction_not_allowed';
|
|
272
|
+
|
|
273
|
+
receiver_id_number: string | null;
|
|
274
|
+
|
|
275
|
+
receiver_name: string | null;
|
|
276
|
+
|
|
277
|
+
trace_number: string;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* A Card Decline object. This field will be present in the JSON response if and
|
|
282
|
+
* only if `category` is equal to `card_decline`.
|
|
283
|
+
*/
|
|
284
|
+
export interface CardDecline {
|
|
285
|
+
/**
|
|
286
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
287
|
+
* dollars, for example, this is cents.
|
|
288
|
+
*/
|
|
289
|
+
amount: number;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
293
|
+
* account currency.
|
|
294
|
+
*
|
|
295
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
296
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
297
|
+
* - `EUR` - Euro (EUR)
|
|
298
|
+
* - `GBP` - British Pound (GBP)
|
|
299
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
300
|
+
* - `USD` - US Dollar (USD)
|
|
301
|
+
*/
|
|
302
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* If the authorization was attempted using a Digital Wallet Token (such as an
|
|
306
|
+
* Apple Pay purchase), the identifier of the token that was used.
|
|
307
|
+
*/
|
|
308
|
+
digital_wallet_token_id: string | null;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
312
|
+
* is transacting with.
|
|
313
|
+
*/
|
|
314
|
+
merchant_acceptor_id: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
|
318
|
+
* card is transacting with.
|
|
319
|
+
*/
|
|
320
|
+
merchant_category_code: string | null;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* The city the merchant resides in.
|
|
324
|
+
*/
|
|
325
|
+
merchant_city: string | null;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* The country the merchant resides in.
|
|
329
|
+
*/
|
|
330
|
+
merchant_country: string | null;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The merchant descriptor of the merchant the card is transacting with.
|
|
334
|
+
*/
|
|
335
|
+
merchant_descriptor: string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* The state the merchant resides in.
|
|
339
|
+
*/
|
|
340
|
+
merchant_state: string | null;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* The payment network used to process this card authorization
|
|
344
|
+
*
|
|
345
|
+
* - `visa` - Visa
|
|
346
|
+
*/
|
|
347
|
+
network: 'visa';
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Fields specific to the `network`
|
|
351
|
+
*/
|
|
352
|
+
network_details: CardDecline.NetworkDetails;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
356
|
+
* transaction.
|
|
357
|
+
*/
|
|
358
|
+
real_time_decision_id: string | null;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Why the transaction was declined.
|
|
362
|
+
*
|
|
363
|
+
* - `card_not_active` - The Card was not active.
|
|
364
|
+
* - `entity_not_active` - The account's entity was not active.
|
|
365
|
+
* - `group_locked` - The account was inactive.
|
|
366
|
+
* - `insufficient_funds` - The Card's Account did not have a sufficient available
|
|
367
|
+
* balance.
|
|
368
|
+
* - `cvv2_mismatch` - The given CVV2 did not match the card's value.
|
|
369
|
+
* - `transaction_not_allowed` - The attempted card transaction is not allowed per
|
|
370
|
+
* Increase's terms.
|
|
371
|
+
* - `breaches_internal_limit` - The transaction was blocked by an internal limit
|
|
372
|
+
* for new Increase accounts.
|
|
373
|
+
* - `breaches_limit` - The transaction was blocked by a Limit.
|
|
374
|
+
* - `webhook_declined` - Your application declined the transaction via webhook.
|
|
375
|
+
* - `webhook_timed_out` - Your application webhook did not respond without the
|
|
376
|
+
* required timeout.
|
|
377
|
+
* - `declined_by_stand_in_processing` - Declined by stand-in processing.
|
|
378
|
+
* - `invalid_physical_card` - The card read had an invalid CVV, dCVV, or
|
|
379
|
+
* authorization request cryptogram.
|
|
380
|
+
* - `missing_original_authorization` - The original card authorization for this
|
|
381
|
+
* incremental authorization does not exist.
|
|
382
|
+
*/
|
|
383
|
+
reason:
|
|
384
|
+
| 'card_not_active'
|
|
385
|
+
| 'entity_not_active'
|
|
386
|
+
| 'group_locked'
|
|
387
|
+
| 'insufficient_funds'
|
|
388
|
+
| 'cvv2_mismatch'
|
|
389
|
+
| 'transaction_not_allowed'
|
|
390
|
+
| 'breaches_internal_limit'
|
|
391
|
+
| 'breaches_limit'
|
|
392
|
+
| 'webhook_declined'
|
|
393
|
+
| 'webhook_timed_out'
|
|
394
|
+
| 'declined_by_stand_in_processing'
|
|
395
|
+
| 'invalid_physical_card'
|
|
396
|
+
| 'missing_original_authorization';
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export namespace CardDecline {
|
|
400
|
+
/**
|
|
401
|
+
* Fields specific to the `network`
|
|
402
|
+
*/
|
|
403
|
+
export interface NetworkDetails {
|
|
404
|
+
/**
|
|
405
|
+
* Fields specific to the `visa` network
|
|
406
|
+
*/
|
|
407
|
+
visa: NetworkDetails.Visa;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export namespace NetworkDetails {
|
|
411
|
+
/**
|
|
412
|
+
* Fields specific to the `visa` network
|
|
413
|
+
*/
|
|
414
|
+
export interface Visa {
|
|
415
|
+
/**
|
|
416
|
+
* For electronic commerce transactions, this identifies the level of security used
|
|
417
|
+
* in obtaining the customer's payment credential. For mail or telephone order
|
|
418
|
+
* transactions, identifies the type of mail or telephone order.
|
|
419
|
+
*
|
|
420
|
+
* - `mail_phone_order` - Single transaction of a mail/phone order: Use to indicate
|
|
421
|
+
* that the transaction is a mail/phone order purchase, not a recurring
|
|
422
|
+
* transaction or installment payment. For domestic transactions in the US
|
|
423
|
+
* region, this value may also indicate one bill payment transaction in the
|
|
424
|
+
* card-present or card-absent environments.
|
|
425
|
+
* - `recurring` - Recurring transaction: Payment indicator used to indicate a
|
|
426
|
+
* recurring transaction that originates from an acquirer in the US region.
|
|
427
|
+
* - `installment` - Installment payment: Payment indicator used to indicate one
|
|
428
|
+
* purchase of goods or services that is billed to the account in multiple
|
|
429
|
+
* charges over a period of time agreed upon by the cardholder and merchant from
|
|
430
|
+
* transactions that originate from an acquirer in the US region.
|
|
431
|
+
* - `unknown_mail_phone_order` - Unknown classification: other mail order: Use to
|
|
432
|
+
* indicate that the type of mail/telephone order is unknown.
|
|
433
|
+
* - `secure_electronic_commerce` - Secure electronic commerce transaction: Use to
|
|
434
|
+
* indicate that the electronic commerce transaction has been authenticated using
|
|
435
|
+
* e.g., 3-D Secure
|
|
436
|
+
* - `non_authenticated_security_transaction_at_3ds_capable_merchant` -
|
|
437
|
+
* Non-authenticated security transaction at a 3-D Secure-capable merchant, and
|
|
438
|
+
* merchant attempted to authenticate the cardholder using 3-D Secure: Use to
|
|
439
|
+
* identify an electronic commerce transaction where the merchant attempted to
|
|
440
|
+
* authenticate the cardholder using 3-D Secure, but was unable to complete the
|
|
441
|
+
* authentication because the issuer or cardholder does not participate in the
|
|
442
|
+
* 3-D Secure program.
|
|
443
|
+
* - `non_authenticated_security_transaction` - Non-authenticated security
|
|
444
|
+
* transaction: Use to identify an electronic commerce transaction that uses data
|
|
445
|
+
* encryption for security however , cardholder authentication is not performed
|
|
446
|
+
* using 3-D Secure.
|
|
447
|
+
* - `non_secure_transaction` - Non-secure transaction: Use to identify an
|
|
448
|
+
* electronic commerce transaction that has no data protection.
|
|
449
|
+
*/
|
|
450
|
+
electronic_commerce_indicator:
|
|
451
|
+
| 'mail_phone_order'
|
|
452
|
+
| 'recurring'
|
|
453
|
+
| 'installment'
|
|
454
|
+
| 'unknown_mail_phone_order'
|
|
455
|
+
| 'secure_electronic_commerce'
|
|
456
|
+
| 'non_authenticated_security_transaction_at_3ds_capable_merchant'
|
|
457
|
+
| 'non_authenticated_security_transaction'
|
|
458
|
+
| 'non_secure_transaction'
|
|
459
|
+
| null;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* The method used to enter the cardholder's primary account number and card
|
|
463
|
+
* expiration date
|
|
464
|
+
*/
|
|
465
|
+
point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* A Check Decline object. This field will be present in the JSON response if and
|
|
472
|
+
* only if `category` is equal to `check_decline`.
|
|
473
|
+
*/
|
|
474
|
+
export interface CheckDecline {
|
|
475
|
+
/**
|
|
476
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
477
|
+
* dollars, for example, this is cents.
|
|
478
|
+
*/
|
|
479
|
+
amount: number;
|
|
480
|
+
|
|
481
|
+
auxiliary_on_us: string | null;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Why the check was declined.
|
|
485
|
+
*
|
|
486
|
+
* - `ach_route_canceled` - The account number is canceled.
|
|
487
|
+
* - `ach_route_disabled` - The account number is disabled.
|
|
488
|
+
* - `breaches_limit` - The transaction would cause a limit to be exceeded.
|
|
489
|
+
* - `entity_not_active` - The account's entity is not active.
|
|
490
|
+
* - `group_locked` - Your account is inactive.
|
|
491
|
+
* - `insufficient_funds` - Your account contains insufficient funds.
|
|
492
|
+
* - `unable_to_locate_account` - Unable to locate account.
|
|
493
|
+
* - `not_our_item` - Routing number on the check is not ours.
|
|
494
|
+
* - `unable_to_process` - Unable to process.
|
|
495
|
+
* - `refer_to_image` - Refer to image.
|
|
496
|
+
* - `stop_payment_requested` - Stop payment requested for this check.
|
|
497
|
+
* - `returned` - Check was returned to sender.
|
|
498
|
+
* - `duplicate_presentment` - The check was a duplicate deposit.
|
|
499
|
+
* - `not_authorized` - The transaction is not allowed.
|
|
500
|
+
* - `altered_or_fictitious` - The check was altered or fictitious.
|
|
501
|
+
*/
|
|
502
|
+
reason:
|
|
503
|
+
| 'ach_route_canceled'
|
|
504
|
+
| 'ach_route_disabled'
|
|
505
|
+
| 'breaches_limit'
|
|
506
|
+
| 'entity_not_active'
|
|
507
|
+
| 'group_locked'
|
|
508
|
+
| 'insufficient_funds'
|
|
509
|
+
| 'unable_to_locate_account'
|
|
510
|
+
| 'not_our_item'
|
|
511
|
+
| 'unable_to_process'
|
|
512
|
+
| 'refer_to_image'
|
|
513
|
+
| 'stop_payment_requested'
|
|
514
|
+
| 'returned'
|
|
515
|
+
| 'duplicate_presentment'
|
|
516
|
+
| 'not_authorized'
|
|
517
|
+
| 'altered_or_fictitious';
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* A Inbound Real Time Payments Transfer Decline object. This field will be present
|
|
522
|
+
* in the JSON response if and only if `category` is equal to
|
|
523
|
+
* `inbound_real_time_payments_transfer_decline`.
|
|
524
|
+
*/
|
|
525
|
+
export interface InboundRealTimePaymentsTransferDecline {
|
|
526
|
+
/**
|
|
527
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
528
|
+
* dollars, for example, this is cents.
|
|
529
|
+
*/
|
|
530
|
+
amount: number;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* The name the sender of the transfer specified as the recipient of the transfer.
|
|
534
|
+
*/
|
|
535
|
+
creditor_name: string;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
|
|
539
|
+
* transfer's currency. This will always be "USD" for a Real Time Payments
|
|
540
|
+
* transfer.
|
|
541
|
+
*
|
|
542
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
543
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
544
|
+
* - `EUR` - Euro (EUR)
|
|
545
|
+
* - `GBP` - British Pound (GBP)
|
|
546
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
547
|
+
* - `USD` - US Dollar (USD)
|
|
548
|
+
*/
|
|
549
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* The account number of the account that sent the transfer.
|
|
553
|
+
*/
|
|
554
|
+
debtor_account_number: string;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* The name provided by the sender of the transfer.
|
|
558
|
+
*/
|
|
559
|
+
debtor_name: string;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* The routing number of the account that sent the transfer.
|
|
563
|
+
*/
|
|
564
|
+
debtor_routing_number: string;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Why the transfer was declined.
|
|
568
|
+
*
|
|
569
|
+
* - `account_number_canceled` - The account number is canceled.
|
|
570
|
+
* - `account_number_disabled` - The account number is disabled.
|
|
571
|
+
* - `account_restricted` - Your account is restricted.
|
|
572
|
+
* - `group_locked` - Your account is inactive.
|
|
573
|
+
* - `entity_not_active` - The account's entity is not active.
|
|
574
|
+
* - `real_time_payments_not_enabled` - Your account is not enabled to receive Real
|
|
575
|
+
* Time Payments transfers.
|
|
576
|
+
*/
|
|
577
|
+
reason:
|
|
578
|
+
| 'account_number_canceled'
|
|
579
|
+
| 'account_number_disabled'
|
|
580
|
+
| 'account_restricted'
|
|
581
|
+
| 'group_locked'
|
|
582
|
+
| 'entity_not_active'
|
|
583
|
+
| 'real_time_payments_not_enabled';
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Additional information included with the transfer.
|
|
587
|
+
*/
|
|
588
|
+
remittance_information: string | null;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* The Real Time Payments network identification of the declined transfer.
|
|
592
|
+
*/
|
|
593
|
+
transaction_identification: string;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* A International ACH Decline object. This field will be present in the JSON
|
|
598
|
+
* response if and only if `category` is equal to `international_ach_decline`.
|
|
599
|
+
*/
|
|
600
|
+
export interface InternationalACHDecline {
|
|
601
|
+
/**
|
|
602
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
603
|
+
* dollars, for example, this is cents.
|
|
604
|
+
*/
|
|
605
|
+
amount: number;
|
|
606
|
+
|
|
607
|
+
destination_country_code: string;
|
|
608
|
+
|
|
609
|
+
destination_currency_code: string;
|
|
610
|
+
|
|
611
|
+
foreign_exchange_indicator: string;
|
|
612
|
+
|
|
613
|
+
foreign_exchange_reference: string | null;
|
|
614
|
+
|
|
615
|
+
foreign_exchange_reference_indicator: string;
|
|
616
|
+
|
|
617
|
+
foreign_payment_amount: number;
|
|
618
|
+
|
|
619
|
+
foreign_trace_number: string | null;
|
|
620
|
+
|
|
621
|
+
international_transaction_type_code: string;
|
|
622
|
+
|
|
623
|
+
originating_currency_code: string;
|
|
624
|
+
|
|
625
|
+
originating_depository_financial_institution_branch_country: string;
|
|
626
|
+
|
|
627
|
+
originating_depository_financial_institution_id: string;
|
|
628
|
+
|
|
629
|
+
originating_depository_financial_institution_id_qualifier: string;
|
|
630
|
+
|
|
631
|
+
originating_depository_financial_institution_name: string;
|
|
632
|
+
|
|
633
|
+
originator_city: string;
|
|
634
|
+
|
|
635
|
+
originator_company_entry_description: string;
|
|
636
|
+
|
|
637
|
+
originator_country: string;
|
|
638
|
+
|
|
639
|
+
originator_identification: string;
|
|
640
|
+
|
|
641
|
+
originator_name: string;
|
|
642
|
+
|
|
643
|
+
originator_postal_code: string | null;
|
|
644
|
+
|
|
645
|
+
originator_state_or_province: string | null;
|
|
646
|
+
|
|
647
|
+
originator_street_address: string;
|
|
648
|
+
|
|
649
|
+
payment_related_information: string | null;
|
|
650
|
+
|
|
651
|
+
payment_related_information2: string | null;
|
|
652
|
+
|
|
653
|
+
receiver_city: string;
|
|
654
|
+
|
|
655
|
+
receiver_country: string;
|
|
656
|
+
|
|
657
|
+
receiver_identification_number: string | null;
|
|
658
|
+
|
|
659
|
+
receiver_postal_code: string | null;
|
|
660
|
+
|
|
661
|
+
receiver_state_or_province: string | null;
|
|
662
|
+
|
|
663
|
+
receiver_street_address: string;
|
|
664
|
+
|
|
665
|
+
receiving_company_or_individual_name: string;
|
|
666
|
+
|
|
667
|
+
receiving_depository_financial_institution_country: string;
|
|
668
|
+
|
|
669
|
+
receiving_depository_financial_institution_id: string;
|
|
670
|
+
|
|
671
|
+
receiving_depository_financial_institution_id_qualifier: string;
|
|
672
|
+
|
|
673
|
+
receiving_depository_financial_institution_name: string;
|
|
674
|
+
|
|
675
|
+
trace_number: string;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* A Wire Decline object. This field will be present in the JSON response if and
|
|
680
|
+
* only if `category` is equal to `wire_decline`.
|
|
681
|
+
*/
|
|
682
|
+
export interface WireDecline {
|
|
683
|
+
/**
|
|
684
|
+
* The declined amount in the minor unit of the destination account currency. For
|
|
685
|
+
* dollars, for example, this is cents.
|
|
686
|
+
*/
|
|
687
|
+
amount: number;
|
|
688
|
+
|
|
689
|
+
beneficiary_address_line1: string | null;
|
|
690
|
+
|
|
691
|
+
beneficiary_address_line2: string | null;
|
|
692
|
+
|
|
693
|
+
beneficiary_address_line3: string | null;
|
|
694
|
+
|
|
695
|
+
beneficiary_name: string | null;
|
|
696
|
+
|
|
697
|
+
beneficiary_reference: string | null;
|
|
698
|
+
|
|
699
|
+
description: string;
|
|
700
|
+
|
|
701
|
+
input_message_accountability_data: string | null;
|
|
702
|
+
|
|
703
|
+
originator_address_line1: string | null;
|
|
704
|
+
|
|
705
|
+
originator_address_line2: string | null;
|
|
706
|
+
|
|
707
|
+
originator_address_line3: string | null;
|
|
708
|
+
|
|
709
|
+
originator_name: string | null;
|
|
710
|
+
|
|
711
|
+
originator_to_beneficiary_information_line1: string | null;
|
|
712
|
+
|
|
713
|
+
originator_to_beneficiary_information_line2: string | null;
|
|
714
|
+
|
|
715
|
+
originator_to_beneficiary_information_line3: string | null;
|
|
716
|
+
|
|
717
|
+
originator_to_beneficiary_information_line4: string | null;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Why the wire transfer was declined.
|
|
721
|
+
*
|
|
722
|
+
* - `account_number_canceled` - The account number is canceled.
|
|
723
|
+
* - `account_number_disabled` - The account number is disabled.
|
|
724
|
+
* - `entity_not_active` - The account's entity is not active.
|
|
725
|
+
* - `group_locked` - Your account is inactive.
|
|
726
|
+
* - `no_account_number` - The beneficiary account number does not exist.
|
|
727
|
+
* - `transaction_not_allowed` - The transaction is not allowed per Increase's
|
|
728
|
+
* terms.
|
|
729
|
+
*/
|
|
730
|
+
reason:
|
|
731
|
+
| 'account_number_canceled'
|
|
732
|
+
| 'account_number_disabled'
|
|
733
|
+
| 'entity_not_active'
|
|
734
|
+
| 'group_locked'
|
|
735
|
+
| 'no_account_number'
|
|
736
|
+
| 'transaction_not_allowed';
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* If the authorization attempt succeeds, this will contain the resulting Pending
|
|
743
|
+
* Transaction object. The Pending Transaction's `source` will be of
|
|
744
|
+
* `category: card_authorization`.
|
|
745
|
+
*/
|
|
746
|
+
export interface PendingTransaction {
|
|
747
|
+
/**
|
|
748
|
+
* The Pending Transaction identifier.
|
|
749
|
+
*/
|
|
750
|
+
id: string;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* The identifier for the account this Pending Transaction belongs to.
|
|
754
|
+
*/
|
|
755
|
+
account_id: string;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* The Pending Transaction amount in the minor unit of its currency. For dollars,
|
|
759
|
+
* for example, this is cents.
|
|
760
|
+
*/
|
|
761
|
+
amount: number;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
|
765
|
+
* Transaction was completed.
|
|
766
|
+
*/
|
|
767
|
+
completed_at: string | null;
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
|
771
|
+
* Transaction occured.
|
|
772
|
+
*/
|
|
773
|
+
created_at: string;
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
|
|
777
|
+
* Transaction's currency. This will match the currency on the Pending
|
|
778
|
+
* Transcation's Account.
|
|
779
|
+
*
|
|
780
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
781
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
782
|
+
* - `EUR` - Euro (EUR)
|
|
783
|
+
* - `GBP` - British Pound (GBP)
|
|
784
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
785
|
+
* - `USD` - US Dollar (USD)
|
|
786
|
+
*/
|
|
787
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* For a Pending Transaction related to a transfer, this is the description you
|
|
791
|
+
* provide. For a Pending Transaction related to a payment, this is the description
|
|
792
|
+
* the vendor provides.
|
|
793
|
+
*/
|
|
794
|
+
description: string;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* The identifier for the route this Pending Transaction came through. Routes are
|
|
798
|
+
* things like cards and ACH details.
|
|
799
|
+
*/
|
|
800
|
+
route_id: string | null;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* The type of the route this Pending Transaction came through.
|
|
804
|
+
*
|
|
805
|
+
* - `account_number` - An Account Number.
|
|
806
|
+
* - `card` - A Card.
|
|
807
|
+
*/
|
|
808
|
+
route_type: 'account_number' | 'card' | null;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* This is an object giving more details on the network-level event that caused the
|
|
812
|
+
* Pending Transaction. For example, for a card transaction this lists the
|
|
813
|
+
* merchant's industry and location.
|
|
814
|
+
*/
|
|
815
|
+
source: PendingTransaction.Source;
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Whether the Pending Transaction has been confirmed and has an associated
|
|
819
|
+
* Transaction.
|
|
820
|
+
*
|
|
821
|
+
* - `pending` - The Pending Transaction is still awaiting confirmation.
|
|
822
|
+
* - `complete` - The Pending Transaction is confirmed. An associated Transaction
|
|
823
|
+
* exists for this object. The Pending Transaction will no longer count against
|
|
824
|
+
* your balance and can generally be hidden from UIs, etc.
|
|
825
|
+
*/
|
|
826
|
+
status: 'pending' | 'complete';
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* A constant representing the object's type. For this resource it will always be
|
|
830
|
+
* `pending_transaction`.
|
|
831
|
+
*/
|
|
832
|
+
type: 'pending_transaction';
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export namespace PendingTransaction {
|
|
836
|
+
/**
|
|
837
|
+
* This is an object giving more details on the network-level event that caused the
|
|
838
|
+
* Pending Transaction. For example, for a card transaction this lists the
|
|
839
|
+
* merchant's industry and location.
|
|
840
|
+
*/
|
|
841
|
+
export interface Source {
|
|
842
|
+
/**
|
|
843
|
+
* A Account Transfer Instruction object. This field will be present in the JSON
|
|
844
|
+
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
845
|
+
*/
|
|
846
|
+
account_transfer_instruction: Source.AccountTransferInstruction | null;
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* A ACH Transfer Instruction object. This field will be present in the JSON
|
|
850
|
+
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
851
|
+
*/
|
|
852
|
+
ach_transfer_instruction: Source.ACHTransferInstruction | null;
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* A Card Authorization object. This field will be present in the JSON response if
|
|
856
|
+
* and only if `category` is equal to `card_authorization`.
|
|
857
|
+
*/
|
|
858
|
+
card_authorization: Source.CardAuthorization | null;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* The type of transaction that took place. We may add additional possible values
|
|
862
|
+
* for this enum over time; your application should be able to handle such
|
|
863
|
+
* additions gracefully.
|
|
864
|
+
*
|
|
865
|
+
* - `account_transfer_instruction` - The Pending Transaction was created by a
|
|
866
|
+
* Account Transfer Instruction object. Details will be under the
|
|
867
|
+
* `account_transfer_instruction` object.
|
|
868
|
+
* - `ach_transfer_instruction` - The Pending Transaction was created by a ACH
|
|
869
|
+
* Transfer Instruction object. Details will be under the
|
|
870
|
+
* `ach_transfer_instruction` object.
|
|
871
|
+
* - `card_authorization` - The Pending Transaction was created by a Card
|
|
872
|
+
* Authorization object. Details will be under the `card_authorization` object.
|
|
873
|
+
* - `check_deposit_instruction` - The Pending Transaction was created by a Check
|
|
874
|
+
* Deposit Instruction object. Details will be under the
|
|
875
|
+
* `check_deposit_instruction` object.
|
|
876
|
+
* - `check_transfer_instruction` - The Pending Transaction was created by a Check
|
|
877
|
+
* Transfer Instruction object. Details will be under the
|
|
878
|
+
* `check_transfer_instruction` object.
|
|
879
|
+
* - `inbound_funds_hold` - The Pending Transaction was created by a Inbound Funds
|
|
880
|
+
* Hold object. Details will be under the `inbound_funds_hold` object.
|
|
881
|
+
* - `real_time_payments_transfer_instruction` - The Pending Transaction was
|
|
882
|
+
* created by a Real Time Payments Transfer Instruction object. Details will be
|
|
883
|
+
* under the `real_time_payments_transfer_instruction` object.
|
|
884
|
+
* - `wire_transfer_instruction` - The Pending Transaction was created by a Wire
|
|
885
|
+
* Transfer Instruction object. Details will be under the
|
|
886
|
+
* `wire_transfer_instruction` object.
|
|
887
|
+
* - `other` - The Pending Transaction was made for an undocumented or deprecated
|
|
888
|
+
* reason.
|
|
889
|
+
*/
|
|
890
|
+
category:
|
|
891
|
+
| 'account_transfer_instruction'
|
|
892
|
+
| 'ach_transfer_instruction'
|
|
893
|
+
| 'card_authorization'
|
|
894
|
+
| 'check_deposit_instruction'
|
|
895
|
+
| 'check_transfer_instruction'
|
|
896
|
+
| 'inbound_funds_hold'
|
|
897
|
+
| 'real_time_payments_transfer_instruction'
|
|
898
|
+
| 'wire_transfer_instruction'
|
|
899
|
+
| 'other';
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* A Check Deposit Instruction object. This field will be present in the JSON
|
|
903
|
+
* response if and only if `category` is equal to `check_deposit_instruction`.
|
|
904
|
+
*/
|
|
905
|
+
check_deposit_instruction: Source.CheckDepositInstruction | null;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* A Check Transfer Instruction object. This field will be present in the JSON
|
|
909
|
+
* response if and only if `category` is equal to `check_transfer_instruction`.
|
|
910
|
+
*/
|
|
911
|
+
check_transfer_instruction: Source.CheckTransferInstruction | null;
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* A Inbound Funds Hold object. This field will be present in the JSON response if
|
|
915
|
+
* and only if `category` is equal to `inbound_funds_hold`.
|
|
916
|
+
*/
|
|
917
|
+
inbound_funds_hold: Source.InboundFundsHold | null;
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* A Real Time Payments Transfer Instruction object. This field will be present in
|
|
921
|
+
* the JSON response if and only if `category` is equal to
|
|
922
|
+
* `real_time_payments_transfer_instruction`.
|
|
923
|
+
*/
|
|
924
|
+
real_time_payments_transfer_instruction: Source.RealTimePaymentsTransferInstruction | null;
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* A Wire Transfer Instruction object. This field will be present in the JSON
|
|
928
|
+
* response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
929
|
+
*/
|
|
930
|
+
wire_transfer_instruction: Source.WireTransferInstruction | null;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export namespace Source {
|
|
934
|
+
/**
|
|
935
|
+
* A Account Transfer Instruction object. This field will be present in the JSON
|
|
936
|
+
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
937
|
+
*/
|
|
938
|
+
export interface AccountTransferInstruction {
|
|
939
|
+
/**
|
|
940
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
941
|
+
* for example, this is cents.
|
|
942
|
+
*/
|
|
943
|
+
amount: number;
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
947
|
+
* account currency.
|
|
948
|
+
*
|
|
949
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
950
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
951
|
+
* - `EUR` - Euro (EUR)
|
|
952
|
+
* - `GBP` - British Pound (GBP)
|
|
953
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
954
|
+
* - `USD` - US Dollar (USD)
|
|
955
|
+
*/
|
|
956
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* The identifier of the Account Transfer that led to this Pending Transaction.
|
|
960
|
+
*/
|
|
961
|
+
transfer_id: string;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* A ACH Transfer Instruction object. This field will be present in the JSON
|
|
966
|
+
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
967
|
+
*/
|
|
968
|
+
export interface ACHTransferInstruction {
|
|
969
|
+
/**
|
|
970
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
971
|
+
* for example, this is cents.
|
|
972
|
+
*/
|
|
973
|
+
amount: number;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* The identifier of the ACH Transfer that led to this Pending Transaction.
|
|
977
|
+
*/
|
|
978
|
+
transfer_id: string;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* A Card Authorization object. This field will be present in the JSON response if
|
|
983
|
+
* and only if `category` is equal to `card_authorization`.
|
|
984
|
+
*/
|
|
985
|
+
export interface CardAuthorization {
|
|
986
|
+
/**
|
|
987
|
+
* The Card Authorization identifier.
|
|
988
|
+
*/
|
|
989
|
+
id: string;
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
993
|
+
* for example, this is cents.
|
|
994
|
+
*/
|
|
995
|
+
amount: number;
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
999
|
+
* transaction's currency.
|
|
1000
|
+
*
|
|
1001
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
1002
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
1003
|
+
* - `EUR` - Euro (EUR)
|
|
1004
|
+
* - `GBP` - British Pound (GBP)
|
|
1005
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
1006
|
+
* - `USD` - US Dollar (USD)
|
|
1007
|
+
*/
|
|
1008
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
|
1012
|
+
* purchase), the identifier of the token that was used.
|
|
1013
|
+
*/
|
|
1014
|
+
digital_wallet_token_id: string | null;
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
|
|
1018
|
+
* will expire and the pending transaction will be released.
|
|
1019
|
+
*/
|
|
1020
|
+
expires_at: string;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
1024
|
+
* is transacting with.
|
|
1025
|
+
*/
|
|
1026
|
+
merchant_acceptor_id: string;
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
|
1030
|
+
* card is transacting with.
|
|
1031
|
+
*/
|
|
1032
|
+
merchant_category_code: string | null;
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* The city the merchant resides in.
|
|
1036
|
+
*/
|
|
1037
|
+
merchant_city: string | null;
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* The country the merchant resides in.
|
|
1041
|
+
*/
|
|
1042
|
+
merchant_country: string | null;
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* The merchant descriptor of the merchant the card is transacting with.
|
|
1046
|
+
*/
|
|
1047
|
+
merchant_descriptor: string;
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* The payment network used to process this card authorization
|
|
1051
|
+
*
|
|
1052
|
+
* - `visa` - Visa
|
|
1053
|
+
*/
|
|
1054
|
+
network: 'visa';
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Fields specific to the `network`
|
|
1058
|
+
*/
|
|
1059
|
+
network_details: CardAuthorization.NetworkDetails;
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* The identifier of the Pending Transaction associated with this Transaction.
|
|
1063
|
+
*/
|
|
1064
|
+
pending_transaction_id: string | null;
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
1068
|
+
* transaction.
|
|
1069
|
+
*/
|
|
1070
|
+
real_time_decision_id: string | null;
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* A constant representing the object's type. For this resource it will always be
|
|
1074
|
+
* `card_authorization`.
|
|
1075
|
+
*/
|
|
1076
|
+
type: 'card_authorization';
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export namespace CardAuthorization {
|
|
1080
|
+
/**
|
|
1081
|
+
* Fields specific to the `network`
|
|
1082
|
+
*/
|
|
1083
|
+
export interface NetworkDetails {
|
|
1084
|
+
/**
|
|
1085
|
+
* Fields specific to the `visa` network
|
|
1086
|
+
*/
|
|
1087
|
+
visa: NetworkDetails.Visa;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
export namespace NetworkDetails {
|
|
1091
|
+
/**
|
|
1092
|
+
* Fields specific to the `visa` network
|
|
1093
|
+
*/
|
|
1094
|
+
export interface Visa {
|
|
1095
|
+
/**
|
|
1096
|
+
* For electronic commerce transactions, this identifies the level of security used
|
|
1097
|
+
* in obtaining the customer's payment credential. For mail or telephone order
|
|
1098
|
+
* transactions, identifies the type of mail or telephone order.
|
|
1099
|
+
*
|
|
1100
|
+
* - `mail_phone_order` - Single transaction of a mail/phone order: Use to indicate
|
|
1101
|
+
* that the transaction is a mail/phone order purchase, not a recurring
|
|
1102
|
+
* transaction or installment payment. For domestic transactions in the US
|
|
1103
|
+
* region, this value may also indicate one bill payment transaction in the
|
|
1104
|
+
* card-present or card-absent environments.
|
|
1105
|
+
* - `recurring` - Recurring transaction: Payment indicator used to indicate a
|
|
1106
|
+
* recurring transaction that originates from an acquirer in the US region.
|
|
1107
|
+
* - `installment` - Installment payment: Payment indicator used to indicate one
|
|
1108
|
+
* purchase of goods or services that is billed to the account in multiple
|
|
1109
|
+
* charges over a period of time agreed upon by the cardholder and merchant from
|
|
1110
|
+
* transactions that originate from an acquirer in the US region.
|
|
1111
|
+
* - `unknown_mail_phone_order` - Unknown classification: other mail order: Use to
|
|
1112
|
+
* indicate that the type of mail/telephone order is unknown.
|
|
1113
|
+
* - `secure_electronic_commerce` - Secure electronic commerce transaction: Use to
|
|
1114
|
+
* indicate that the electronic commerce transaction has been authenticated using
|
|
1115
|
+
* e.g., 3-D Secure
|
|
1116
|
+
* - `non_authenticated_security_transaction_at_3ds_capable_merchant` -
|
|
1117
|
+
* Non-authenticated security transaction at a 3-D Secure-capable merchant, and
|
|
1118
|
+
* merchant attempted to authenticate the cardholder using 3-D Secure: Use to
|
|
1119
|
+
* identify an electronic commerce transaction where the merchant attempted to
|
|
1120
|
+
* authenticate the cardholder using 3-D Secure, but was unable to complete the
|
|
1121
|
+
* authentication because the issuer or cardholder does not participate in the
|
|
1122
|
+
* 3-D Secure program.
|
|
1123
|
+
* - `non_authenticated_security_transaction` - Non-authenticated security
|
|
1124
|
+
* transaction: Use to identify an electronic commerce transaction that uses data
|
|
1125
|
+
* encryption for security however , cardholder authentication is not performed
|
|
1126
|
+
* using 3-D Secure.
|
|
1127
|
+
* - `non_secure_transaction` - Non-secure transaction: Use to identify an
|
|
1128
|
+
* electronic commerce transaction that has no data protection.
|
|
1129
|
+
*/
|
|
1130
|
+
electronic_commerce_indicator:
|
|
1131
|
+
| 'mail_phone_order'
|
|
1132
|
+
| 'recurring'
|
|
1133
|
+
| 'installment'
|
|
1134
|
+
| 'unknown_mail_phone_order'
|
|
1135
|
+
| 'secure_electronic_commerce'
|
|
1136
|
+
| 'non_authenticated_security_transaction_at_3ds_capable_merchant'
|
|
1137
|
+
| 'non_authenticated_security_transaction'
|
|
1138
|
+
| 'non_secure_transaction'
|
|
1139
|
+
| null;
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* The method used to enter the cardholder's primary account number and card
|
|
1143
|
+
* expiration date
|
|
1144
|
+
*/
|
|
1145
|
+
point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* A Check Deposit Instruction object. This field will be present in the JSON
|
|
1152
|
+
* response if and only if `category` is equal to `check_deposit_instruction`.
|
|
1153
|
+
*/
|
|
1154
|
+
export interface CheckDepositInstruction {
|
|
1155
|
+
/**
|
|
1156
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1157
|
+
* for example, this is cents.
|
|
1158
|
+
*/
|
|
1159
|
+
amount: number;
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* The identifier of the File containing the image of the back of the check that
|
|
1163
|
+
* was deposited.
|
|
1164
|
+
*/
|
|
1165
|
+
back_image_file_id: string | null;
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* The identifier of the Check Deposit.
|
|
1169
|
+
*/
|
|
1170
|
+
check_deposit_id: string | null;
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
1174
|
+
* transaction's currency.
|
|
1175
|
+
*
|
|
1176
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
1177
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
1178
|
+
* - `EUR` - Euro (EUR)
|
|
1179
|
+
* - `GBP` - British Pound (GBP)
|
|
1180
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
1181
|
+
* - `USD` - US Dollar (USD)
|
|
1182
|
+
*/
|
|
1183
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* The identifier of the File containing the image of the front of the check that
|
|
1187
|
+
* was deposited.
|
|
1188
|
+
*/
|
|
1189
|
+
front_image_file_id: string;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* A Check Transfer Instruction object. This field will be present in the JSON
|
|
1194
|
+
* response if and only if `category` is equal to `check_transfer_instruction`.
|
|
1195
|
+
*/
|
|
1196
|
+
export interface CheckTransferInstruction {
|
|
1197
|
+
/**
|
|
1198
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1199
|
+
* for example, this is cents.
|
|
1200
|
+
*/
|
|
1201
|
+
amount: number;
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
|
1205
|
+
* currency.
|
|
1206
|
+
*
|
|
1207
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
1208
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
1209
|
+
* - `EUR` - Euro (EUR)
|
|
1210
|
+
* - `GBP` - British Pound (GBP)
|
|
1211
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
1212
|
+
* - `USD` - US Dollar (USD)
|
|
1213
|
+
*/
|
|
1214
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* The identifier of the Check Transfer that led to this Pending Transaction.
|
|
1218
|
+
*/
|
|
1219
|
+
transfer_id: string;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* A Inbound Funds Hold object. This field will be present in the JSON response if
|
|
1224
|
+
* and only if `category` is equal to `inbound_funds_hold`.
|
|
1225
|
+
*/
|
|
1226
|
+
export interface InboundFundsHold {
|
|
1227
|
+
/**
|
|
1228
|
+
* The held amount in the minor unit of the account's currency. For dollars, for
|
|
1229
|
+
* example, this is cents.
|
|
1230
|
+
*/
|
|
1231
|
+
amount: number;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* When the hold will be released automatically. Certain conditions may cause it to
|
|
1235
|
+
* be released before this time.
|
|
1236
|
+
*/
|
|
1237
|
+
automatically_releases_at: string;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
|
|
1241
|
+
* was created.
|
|
1242
|
+
*/
|
|
1243
|
+
created_at: string;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
|
|
1247
|
+
* currency.
|
|
1248
|
+
*
|
|
1249
|
+
* - `CAD` - Canadian Dollar (CAD)
|
|
1250
|
+
* - `CHF` - Swiss Franc (CHF)
|
|
1251
|
+
* - `EUR` - Euro (EUR)
|
|
1252
|
+
* - `GBP` - British Pound (GBP)
|
|
1253
|
+
* - `JPY` - Japanese Yen (JPY)
|
|
1254
|
+
* - `USD` - US Dollar (USD)
|
|
1255
|
+
*/
|
|
1256
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* The ID of the Transaction for which funds were held.
|
|
1260
|
+
*/
|
|
1261
|
+
held_transaction_id: string | null;
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* The ID of the Pending Transaction representing the held funds.
|
|
1265
|
+
*/
|
|
1266
|
+
pending_transaction_id: string | null;
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* When the hold was released (if it has been released).
|
|
1270
|
+
*/
|
|
1271
|
+
released_at: string | null;
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* The status of the hold.
|
|
1275
|
+
*
|
|
1276
|
+
* - `held` - Funds are still being held.
|
|
1277
|
+
* - `complete` - Funds have been released.
|
|
1278
|
+
*/
|
|
1279
|
+
status: 'held' | 'complete';
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* A constant representing the object's type. For this resource it will always be
|
|
1283
|
+
* `inbound_funds_hold`.
|
|
1284
|
+
*/
|
|
1285
|
+
type: 'inbound_funds_hold';
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* A Real Time Payments Transfer Instruction object. This field will be present in
|
|
1290
|
+
* the JSON response if and only if `category` is equal to
|
|
1291
|
+
* `real_time_payments_transfer_instruction`.
|
|
1292
|
+
*/
|
|
1293
|
+
export interface RealTimePaymentsTransferInstruction {
|
|
1294
|
+
/**
|
|
1295
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1296
|
+
* for example, this is cents.
|
|
1297
|
+
*/
|
|
1298
|
+
amount: number;
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* The identifier of the Real Time Payments Transfer that led to this Pending
|
|
1302
|
+
* Transaction.
|
|
1303
|
+
*/
|
|
1304
|
+
transfer_id: string;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* A Wire Transfer Instruction object. This field will be present in the JSON
|
|
1309
|
+
* response if and only if `category` is equal to `wire_transfer_instruction`.
|
|
1310
|
+
*/
|
|
1311
|
+
export interface WireTransferInstruction {
|
|
1312
|
+
account_number: string;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1316
|
+
* for example, this is cents.
|
|
1317
|
+
*/
|
|
1318
|
+
amount: number;
|
|
1319
|
+
|
|
1320
|
+
message_to_recipient: string;
|
|
1321
|
+
|
|
1322
|
+
routing_number: string;
|
|
1323
|
+
|
|
1324
|
+
transfer_id: string;
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
export interface CardAuthorizeParams {
|
|
1331
|
+
/**
|
|
1332
|
+
* The authorization amount in cents.
|
|
1333
|
+
*/
|
|
1334
|
+
amount: number;
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* The identifier of the Card to be authorized.
|
|
1338
|
+
*/
|
|
1339
|
+
card_id?: string;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* The identifier of the Digital Wallet Token to be authorized.
|
|
1343
|
+
*/
|
|
1344
|
+
digital_wallet_token_id?: string;
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* The identifier of the Event Subscription to use. If provided, will override the
|
|
1348
|
+
* default real time event subscription. Because you can only create one real time
|
|
1349
|
+
* decision event subscription, you can use this field to route events to any
|
|
1350
|
+
* specified event subscription for testing purposes.
|
|
1351
|
+
*/
|
|
1352
|
+
event_subscription_id?: string;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
export interface CardSettlementParams {
|
|
1356
|
+
/**
|
|
1357
|
+
* The identifier of the Card to create a settlement on.
|
|
1358
|
+
*/
|
|
1359
|
+
card_id: string;
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
1363
|
+
* settle.
|
|
1364
|
+
*/
|
|
1365
|
+
pending_transaction_id: string;
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
1369
|
+
* being settled.
|
|
1370
|
+
*/
|
|
1371
|
+
amount?: number;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export namespace Cards {
|
|
1375
|
+
export import CardAuthorizationSimulation = API.CardAuthorizationSimulation;
|
|
1376
|
+
export import CardAuthorizeParams = API.CardAuthorizeParams;
|
|
1377
|
+
export import CardSettlementParams = API.CardSettlementParams;
|
|
1378
|
+
}
|