@moovio/sdk 24.3.6 → 24.3.8
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/README.md +22 -10
- package/bin/mcp-server.js +136 -37
- package/bin/mcp-server.js.map +78 -75
- package/funcs/cardIssuingGetFull.d.ts +1 -1
- package/funcs/cardIssuingGetFull.js +1 -1
- package/funcs/imagesUpload.d.ts +1 -1
- package/funcs/imagesUpload.js +1 -1
- package/funcs/institutionsSearch.d.ts +1 -1
- package/funcs/institutionsSearch.js +1 -1
- package/funcs/issuingTransactionsList.js +1 -0
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/transfersCreateCancellation.d.ts +3 -0
- package/funcs/transfersCreateCancellation.d.ts.map +1 -1
- package/funcs/transfersCreateCancellation.js +6 -1
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.d.ts +3 -0
- package/funcs/transfersCreateReversal.d.ts.map +1 -1
- package/funcs/transfersCreateReversal.js +3 -0
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersListCancellations.js +1 -1
- package/funcs/transfersListCancellations.js.map +1 -1
- package/funcs/transfersListRefunds.js +1 -1
- package/funcs/transfersListRefunds.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +29 -13
- package/lib/encodings.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js.map +1 -1
- package/mcp-server/tools/imagesUpload.js +1 -1
- package/mcp-server/tools/imagesUpload.js.map +1 -1
- package/mcp-server/tools/institutionsSearch.js +1 -1
- package/mcp-server/tools/transfersCreateCancellation.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateCancellation.js +3 -0
- package/mcp-server/tools/transfersCreateCancellation.js.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.d.ts.map +1 -1
- package/mcp-server/tools/transfersCreateReversal.js +4 -1
- package/mcp-server/tools/transfersCreateReversal.js.map +1 -1
- package/mcp-server/tools/transfersListCancellations.js +1 -1
- package/models/components/adjustmentfees.d.ts +30 -0
- package/models/components/adjustmentfees.d.ts.map +1 -0
- package/models/components/adjustmentfees.js +62 -0
- package/models/components/adjustmentfees.js.map +1 -0
- package/models/components/applicationscope.d.ts +1 -1
- package/models/components/applicationscope.js +1 -1
- package/models/components/applicationscope.js.map +1 -1
- package/models/components/billingadjustment.d.ts +34 -0
- package/models/components/billingadjustment.d.ts.map +1 -0
- package/models/components/billingadjustment.js +63 -0
- package/models/components/billingadjustment.js.map +1 -0
- package/models/components/billingsummary.d.ts +15 -10
- package/models/components/billingsummary.d.ts.map +1 -1
- package/models/components/billingsummary.js +15 -11
- package/models/components/billingsummary.js.map +1 -1
- package/models/components/cancellation.d.ts +3 -0
- package/models/components/cancellation.d.ts.map +1 -1
- package/models/components/cancellation.js.map +1 -1
- package/models/components/createdtransfer.d.ts +8 -0
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createfeeplanagreement.d.ts +16 -1
- package/models/components/createfeeplanagreement.d.ts.map +1 -1
- package/models/components/createfeeplanagreement.js +2 -0
- package/models/components/createfeeplanagreement.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +3 -0
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createrefund.d.ts +1 -1
- package/models/components/createreversal.d.ts +6 -1
- package/models/components/createreversal.d.ts.map +1 -1
- package/models/components/createreversal.js.map +1 -1
- package/models/components/facilitatorfee.d.ts +2 -2
- package/models/components/feeplanagreement.d.ts +10 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +5 -0
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/fullissuedcard.d.ts +4 -0
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issuedcard.d.ts +4 -0
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcardauthorization.d.ts +5 -0
- package/models/components/issuedcardauthorization.d.ts.map +1 -1
- package/models/components/issuedcardauthorization.js +2 -0
- package/models/components/issuedcardauthorization.js.map +1 -1
- package/models/components/issuedcardstate.d.ts +3 -0
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +2 -0
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/issuedcardtransaction.d.ts +5 -0
- package/models/components/issuedcardtransaction.d.ts.map +1 -1
- package/models/components/issuedcardtransaction.js +2 -0
- package/models/components/issuedcardtransaction.js.map +1 -1
- package/models/components/issuingcontrols.d.ts +3 -0
- package/models/components/issuingcontrols.d.ts.map +1 -1
- package/models/components/issuingcontrols.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +12 -2
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +5 -0
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/paymentlink.d.ts +3 -0
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkpayoutdetails.d.ts +3 -0
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +3 -0
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
- package/models/components/requestcard.d.ts +3 -0
- package/models/components/requestcard.d.ts.map +1 -1
- package/models/components/requestcard.js.map +1 -1
- package/models/components/reversedwithcancellation.d.ts +3 -0
- package/models/components/reversedwithcancellation.d.ts.map +1 -1
- package/models/components/reversedwithcancellation.js.map +1 -1
- package/models/components/statement.d.ts +6 -0
- package/models/components/statement.d.ts.map +1 -1
- package/models/components/statement.js +3 -0
- package/models/components/statement.js.map +1 -1
- package/models/components/sweepconfig.d.ts +2 -2
- package/models/components/sweepconfigpaymentmethod.d.ts +1 -1
- package/models/components/transfer.d.ts +8 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js.map +1 -1
- package/models/components/updateissuedcard.d.ts +2 -0
- package/models/components/updateissuedcard.d.ts.map +1 -1
- package/models/components/updateissuedcard.js.map +1 -1
- package/models/components/updateissuedcardstate.d.ts +6 -0
- package/models/components/updateissuedcardstate.d.ts.map +1 -1
- package/models/components/updateissuedcardstate.js +4 -0
- package/models/components/updateissuedcardstate.js.map +1 -1
- package/models/components/updatepaymentlink.d.ts +3 -0
- package/models/components/updatepaymentlink.d.ts.map +1 -1
- package/models/components/updatepaymentlink.js.map +1 -1
- package/models/components/webhookdata.d.ts +3 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +3 -0
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdataeventtest.d.ts +20 -0
- package/models/components/webhookdataeventtest.d.ts.map +1 -0
- package/models/components/webhookdataeventtest.js +58 -0
- package/models/components/webhookdataeventtest.js.map +1 -0
- package/models/components/webhookeventtype.d.ts +1 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +1 -0
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/errors/transfer.d.ts +16 -0
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/listaccounts.d.ts +3 -0
- package/models/operations/listaccounts.d.ts.map +1 -1
- package/models/operations/listaccounts.js.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.d.ts +3 -0
- package/models/operations/listconnectedaccountsforaccount.d.ts.map +1 -1
- package/models/operations/listconnectedaccountsforaccount.js.map +1 -1
- package/models/operations/listdisputes.d.ts +3 -0
- package/models/operations/listdisputes.d.ts.map +1 -1
- package/models/operations/listdisputes.js.map +1 -1
- package/models/operations/listfeeplanagreements.d.ts +3 -0
- package/models/operations/listfeeplanagreements.d.ts.map +1 -1
- package/models/operations/listfeeplanagreements.js.map +1 -1
- package/models/operations/listfeerevenue.d.ts +3 -0
- package/models/operations/listfeerevenue.d.ts.map +1 -1
- package/models/operations/listfeerevenue.js.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.d.ts +3 -0
- package/models/operations/listissuedcardauthorizationevents.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizationevents.js.map +1 -1
- package/models/operations/listissuedcardauthorizations.d.ts +3 -0
- package/models/operations/listissuedcardauthorizations.d.ts.map +1 -1
- package/models/operations/listissuedcardauthorizations.js.map +1 -1
- package/models/operations/listissuedcards.d.ts +3 -0
- package/models/operations/listissuedcards.d.ts.map +1 -1
- package/models/operations/listissuedcards.js.map +1 -1
- package/models/operations/listissuedcardtransactions.d.ts +8 -0
- package/models/operations/listissuedcardtransactions.d.ts.map +1 -1
- package/models/operations/listissuedcardtransactions.js +2 -0
- package/models/operations/listissuedcardtransactions.js.map +1 -1
- package/models/operations/listpartnerpricingagreements.d.ts +3 -0
- package/models/operations/listpartnerpricingagreements.d.ts.map +1 -1
- package/models/operations/listpartnerpricingagreements.js.map +1 -1
- package/models/operations/listpaymentlinks.d.ts +3 -0
- package/models/operations/listpaymentlinks.d.ts.map +1 -1
- package/models/operations/listpaymentlinks.js.map +1 -1
- package/models/operations/listproducts.d.ts +3 -0
- package/models/operations/listproducts.d.ts.map +1 -1
- package/models/operations/listproducts.js.map +1 -1
- package/models/operations/listresidualfees.d.ts +3 -0
- package/models/operations/listresidualfees.d.ts.map +1 -1
- package/models/operations/listresidualfees.js.map +1 -1
- package/models/operations/listresiduals.d.ts +3 -0
- package/models/operations/listresiduals.d.ts.map +1 -1
- package/models/operations/listresiduals.js.map +1 -1
- package/models/operations/listschedules.d.ts +3 -0
- package/models/operations/listschedules.d.ts.map +1 -1
- package/models/operations/listschedules.js.map +1 -1
- package/models/operations/liststatements.d.ts +3 -0
- package/models/operations/liststatements.d.ts.map +1 -1
- package/models/operations/liststatements.js.map +1 -1
- package/models/operations/listsweeps.d.ts +3 -0
- package/models/operations/listsweeps.d.ts.map +1 -1
- package/models/operations/listsweeps.js.map +1 -1
- package/models/operations/listtransfers.d.ts +4 -1
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js.map +1 -1
- package/models/operations/listwallets.d.ts +3 -0
- package/models/operations/listwallets.d.ts.map +1 -1
- package/models/operations/listwallets.js.map +1 -1
- package/models/operations/listwallettransactions.d.ts +3 -0
- package/models/operations/listwallettransactions.d.ts.map +1 -1
- package/models/operations/listwallettransactions.js.map +1 -1
- package/models/operations/retrievefees.d.ts +3 -0
- package/models/operations/retrievefees.d.ts.map +1 -1
- package/models/operations/retrievefees.js.map +1 -1
- package/package.json +1 -1
- package/sdk/cardissuing.d.ts +1 -1
- package/sdk/cardissuing.js +1 -1
- package/sdk/images.d.ts +1 -1
- package/sdk/images.js +1 -1
- package/sdk/institutions.d.ts +1 -1
- package/sdk/institutions.js +1 -1
- package/sdk/transfers.d.ts +6 -0
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +6 -0
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/cardIssuingGetFull.ts +1 -1
- package/src/funcs/imagesUpload.ts +1 -1
- package/src/funcs/institutionsSearch.ts +1 -1
- package/src/funcs/issuingTransactionsList.ts +1 -0
- package/src/funcs/transfersCreateCancellation.ts +6 -1
- package/src/funcs/transfersCreateReversal.ts +3 -0
- package/src/funcs/transfersListCancellations.ts +1 -1
- package/src/funcs/transfersListRefunds.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +58 -23
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/cardIssuingGetFull.ts +1 -1
- package/src/mcp-server/tools/imagesUpload.ts +1 -1
- package/src/mcp-server/tools/institutionsSearch.ts +1 -1
- package/src/mcp-server/tools/transfersCreateCancellation.ts +3 -0
- package/src/mcp-server/tools/transfersCreateReversal.ts +4 -1
- package/src/mcp-server/tools/transfersListCancellations.ts +1 -1
- package/src/models/components/adjustmentfees.ts +72 -0
- package/src/models/components/applicationscope.ts +1 -1
- package/src/models/components/billingadjustment.ts +77 -0
- package/src/models/components/billingsummary.ts +34 -19
- package/src/models/components/cancellation.ts +3 -0
- package/src/models/components/createdtransfer.ts +8 -0
- package/src/models/components/createfeeplanagreement.ts +18 -1
- package/src/models/components/createpaymentlink.ts +3 -0
- package/src/models/components/createrefund.ts +1 -1
- package/src/models/components/createreversal.ts +6 -1
- package/src/models/components/facilitatorfee.ts +2 -2
- package/src/models/components/feeplanagreement.ts +17 -0
- package/src/models/components/fullissuedcard.ts +4 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/issuedcard.ts +4 -0
- package/src/models/components/issuedcardauthorization.ts +7 -0
- package/src/models/components/issuedcardstate.ts +3 -0
- package/src/models/components/issuedcardtransaction.ts +7 -0
- package/src/models/components/issuingcontrols.ts +3 -0
- package/src/models/components/partnerpricingagreement.ts +19 -2
- package/src/models/components/paymentlink.ts +3 -0
- package/src/models/components/paymentlinkpayoutdetails.ts +3 -0
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +3 -0
- package/src/models/components/requestcard.ts +3 -0
- package/src/models/components/reversedwithcancellation.ts +3 -0
- package/src/models/components/statement.ts +13 -0
- package/src/models/components/sweepconfig.ts +2 -2
- package/src/models/components/sweepconfigpaymentmethod.ts +1 -1
- package/src/models/components/transfer.ts +8 -0
- package/src/models/components/updateissuedcard.ts +2 -0
- package/src/models/components/updateissuedcardstate.ts +6 -0
- package/src/models/components/updatepaymentlink.ts +3 -0
- package/src/models/components/webhookdata.ts +12 -2
- package/src/models/components/webhookdataeventtest.ts +54 -0
- package/src/models/components/webhookeventtype.ts +1 -0
- package/src/models/errors/transfer.ts +16 -0
- package/src/models/operations/listaccounts.ts +3 -0
- package/src/models/operations/listconnectedaccountsforaccount.ts +3 -0
- package/src/models/operations/listdisputes.ts +3 -0
- package/src/models/operations/listfeeplanagreements.ts +3 -0
- package/src/models/operations/listfeerevenue.ts +3 -0
- package/src/models/operations/listissuedcardauthorizationevents.ts +3 -0
- package/src/models/operations/listissuedcardauthorizations.ts +3 -0
- package/src/models/operations/listissuedcards.ts +3 -0
- package/src/models/operations/listissuedcardtransactions.ts +10 -0
- package/src/models/operations/listpartnerpricingagreements.ts +3 -0
- package/src/models/operations/listpaymentlinks.ts +3 -0
- package/src/models/operations/listproducts.ts +3 -0
- package/src/models/operations/listresidualfees.ts +3 -0
- package/src/models/operations/listresiduals.ts +3 -0
- package/src/models/operations/listschedules.ts +3 -0
- package/src/models/operations/liststatements.ts +3 -0
- package/src/models/operations/listsweeps.ts +3 -0
- package/src/models/operations/listtransfers.ts +4 -1
- package/src/models/operations/listwallets.ts +3 -0
- package/src/models/operations/listwallettransactions.ts +3 -0
- package/src/models/operations/retrievefees.ts +3 -0
- package/src/sdk/cardissuing.ts +1 -1
- package/src/sdk/images.ts +1 -1
- package/src/sdk/institutions.ts +1 -1
- package/src/sdk/transfers.ts +6 -0
package/README.md
CHANGED
|
@@ -577,7 +577,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.write` scope.
|
|
|
577
577
|
Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
|
|
578
578
|
|
|
579
579
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
580
|
-
you'll need to specify the `/accounts/{accountID}/issued-cards.read-
|
|
580
|
+
you'll need to specify the `/accounts/{accountID}/issued-cards.read-private` scope.
|
|
581
581
|
|
|
582
582
|
### [Cards](docs/sdks/cards/README.md)
|
|
583
583
|
|
|
@@ -789,7 +789,7 @@ you'll need to specify the `/accounts/{accountID}/files.read` scope.
|
|
|
789
789
|
|
|
790
790
|
* [list](docs/sdks/images/README.md#list) - List metadata for all images in the specified account.
|
|
791
791
|
* [upload](docs/sdks/images/README.md#upload) - Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
792
|
-
Duplicate images
|
|
792
|
+
Duplicate images return the existing image's metadata with a 409 status. Requests larger than 16MB will be rejected.
|
|
793
793
|
* [getMetadata](docs/sdks/images/README.md#getmetadata) - Retrieve metadata for a specific image by its ID.
|
|
794
794
|
* [update](docs/sdks/images/README.md#update) - Replace an existing image and, optionally, its metadata.
|
|
795
795
|
|
|
@@ -819,7 +819,7 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
819
819
|
|
|
820
820
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
821
821
|
you'll need to specify the `/institutions.read` scope.
|
|
822
|
-
* [~~search~~](docs/sdks/institutions/README.md#search) - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/
|
|
822
|
+
* [~~search~~](docs/sdks/institutions/README.md#search) - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/institutions/get/).
|
|
823
823
|
|
|
824
824
|
Search for institutions by either their name or routing number.
|
|
825
825
|
|
|
@@ -1119,10 +1119,13 @@ To access this endpoint using an [access token](https://docs.moov.io/api/authent
|
|
|
1119
1119
|
you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1120
1120
|
* [createCancellation](docs/sdks/transfers/README.md#createcancellation) - Initiate a cancellation for a card, ACH, or queued transfer.
|
|
1121
1121
|
|
|
1122
|
+
In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
|
|
1123
|
+
For these transfers, a successful cancellation reduces `capturableAmount` without changing `authorizedAmount`.
|
|
1124
|
+
For these transfers, a partial cancellation leaves the remaining `capturableAmount` available for capture.
|
|
1122
1125
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
1123
1126
|
to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1124
1127
|
* [listCancellations](docs/sdks/transfers/README.md#listcancellations) - Get a list of cancellations for a transfer.
|
|
1125
|
-
|
|
1128
|
+
|
|
1126
1129
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
1127
1130
|
to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
1128
1131
|
* [getCancellation](docs/sdks/transfers/README.md#getcancellation) - Get details of a cancellation for a transfer.
|
|
@@ -1144,7 +1147,10 @@ you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
|
1144
1147
|
|
|
1145
1148
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1146
1149
|
you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
1147
|
-
* [createReversal](docs/sdks/transfers/README.md#createreversal) - Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
|
|
1150
|
+
* [createReversal](docs/sdks/transfers/README.md#createreversal) - Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
|
|
1151
|
+
In v2026.10 and later, reversing an auth-capture `card-payment` transfer with no captures cancels the entire `capturableAmount`.
|
|
1152
|
+
In those API versions, an auth-capture `card-payment` transfer with one final capture is canceled or refunded depending on its processing state.
|
|
1153
|
+
Auth-capture `card-payment` transfers with a non-final capture or multiple captures are not supported in those API versions.
|
|
1148
1154
|
Read our [reversals guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/)
|
|
1149
1155
|
to learn more.
|
|
1150
1156
|
|
|
@@ -1501,7 +1507,7 @@ you'll need to specify the `/accounts/{accountID}/issued-cards.read` scope.
|
|
|
1501
1507
|
Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
|
|
1502
1508
|
|
|
1503
1509
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1504
|
-
you'll need to specify the `/accounts/{accountID}/issued-cards.read-
|
|
1510
|
+
you'll need to specify the `/accounts/{accountID}/issued-cards.read-private` scope.
|
|
1505
1511
|
- [`cardIssuingList`](docs/sdks/cardissuing/README.md#list) - List Moov issued cards existing for the account.
|
|
1506
1512
|
|
|
1507
1513
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -1712,7 +1718,7 @@ This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
|
1712
1718
|
the metadata form section to keep existing metadata. Duplicate images, and requests larger than 16MB will be rejected.
|
|
1713
1719
|
- [`imagesUpdateMetadata`](docs/sdks/images/README.md#updatemetadata) - Replace the metadata for an existing image.
|
|
1714
1720
|
- [`imagesUpload`](docs/sdks/images/README.md#upload) - Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
1715
|
-
Duplicate images
|
|
1721
|
+
Duplicate images return the existing image's metadata with a 409 status. Requests larger than 16MB will be rejected.
|
|
1716
1722
|
- [`industriesList`](docs/sdks/industries/README.md#list) - Returns a list of industries relevant to merchant profile enrichment. Results are ordered by industry name.
|
|
1717
1723
|
|
|
1718
1724
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
@@ -1947,9 +1953,15 @@ To access this endpoint using an [access token](https://docs.moov.io/api/authent
|
|
|
1947
1953
|
you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1948
1954
|
- [`transfersCreateCancellation`](docs/sdks/transfers/README.md#createcancellation) - Initiate a cancellation for a card, ACH, or queued transfer.
|
|
1949
1955
|
|
|
1956
|
+
In v2026.10 and later, an auth-capture `card-payment` transfer can be canceled before any captures exist.
|
|
1957
|
+
For these transfers, a successful cancellation reduces `capturableAmount` without changing `authorizedAmount`.
|
|
1958
|
+
For these transfers, a partial cancellation leaves the remaining `capturableAmount` available for capture.
|
|
1950
1959
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
1951
1960
|
to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1952
|
-
- [`transfersCreateReversal`](docs/sdks/transfers/README.md#createreversal) - Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
|
|
1961
|
+
- [`transfersCreateReversal`](docs/sdks/transfers/README.md#createreversal) - Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
|
|
1962
|
+
In v2026.10 and later, reversing an auth-capture `card-payment` transfer with no captures cancels the entire `capturableAmount`.
|
|
1963
|
+
In those API versions, an auth-capture `card-payment` transfer with one final capture is canceled or refunded depending on its processing state.
|
|
1964
|
+
Auth-capture `card-payment` transfers with a non-final capture or multiple captures are not supported in those API versions.
|
|
1953
1965
|
Read our [reversals guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/)
|
|
1954
1966
|
to learn more.
|
|
1955
1967
|
|
|
@@ -1998,7 +2010,7 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
1998
2010
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1999
2011
|
you'll need to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
2000
2012
|
- [`transfersListCancellations`](docs/sdks/transfers/README.md#listcancellations) - Get a list of cancellations for a transfer.
|
|
2001
|
-
|
|
2013
|
+
|
|
2002
2014
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
2003
2015
|
to specify the `/accounts/{accountID}/transfers.read` scope.
|
|
2004
2016
|
- [`transfersListRefunds`](docs/sdks/transfers/README.md#listrefunds) - Get a list of refunds for a card transfer.
|
|
@@ -2067,7 +2079,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
|
|
|
2067
2079
|
- [`webhooksListEventTypes`](docs/sdks/webhooks/README.md#listeventtypes) - List all available event types that can be subscribed to.
|
|
2068
2080
|
- [`webhooksPing`](docs/sdks/webhooks/README.md#ping) - Send a test ping to a webhook to verify it is configured correctly.
|
|
2069
2081
|
- [`webhooksUpdate`](docs/sdks/webhooks/README.md#update) - Update an existing webhook.
|
|
2070
|
-
- ~~[`institutionsSearch`](docs/sdks/institutions/README.md#search)~~ - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/
|
|
2082
|
+
- ~~[`institutionsSearch`](docs/sdks/institutions/README.md#search)~~ - This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/institutions/get/).
|
|
2071
2083
|
|
|
2072
2084
|
Search for institutions by either their name or routing number.
|
|
2073
2085
|
|
package/bin/mcp-server.js
CHANGED
|
@@ -52974,9 +52974,9 @@ var init_config = __esm(() => {
|
|
|
52974
52974
|
SDK_METADATA = {
|
|
52975
52975
|
language: "typescript",
|
|
52976
52976
|
openapiDocVersion: "v2024.01.00",
|
|
52977
|
-
sdkVersion: "24.3.
|
|
52978
|
-
genVersion: "2.
|
|
52979
|
-
userAgent: "speakeasy-sdk/typescript 24.3.
|
|
52977
|
+
sdkVersion: "24.3.8",
|
|
52978
|
+
genVersion: "2.935.1",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 24.3.8 2.935.1 v2024.01.00 @moovio/sdk"
|
|
52980
52980
|
};
|
|
52981
52981
|
});
|
|
52982
52982
|
|
|
@@ -53150,6 +53150,19 @@ var init_base64 = __esm(() => {
|
|
|
53150
53150
|
});
|
|
53151
53151
|
|
|
53152
53152
|
// src/lib/encodings.ts
|
|
53153
|
+
function encodeKeyChars(v2, charEncoding) {
|
|
53154
|
+
return encodeChars(v2, charEncoding === "percentExceptReserved" ? "percent" : charEncoding);
|
|
53155
|
+
}
|
|
53156
|
+
function encodeChars(v2, charEncoding) {
|
|
53157
|
+
switch (charEncoding) {
|
|
53158
|
+
case "percent":
|
|
53159
|
+
return encodeURIComponent(v2);
|
|
53160
|
+
case "percentExceptReserved":
|
|
53161
|
+
return encodeURIComponent(v2).replace(reservedEscapes, (m) => decodeURIComponent(m));
|
|
53162
|
+
default:
|
|
53163
|
+
return v2;
|
|
53164
|
+
}
|
|
53165
|
+
}
|
|
53153
53166
|
function formEncoder(sep) {
|
|
53154
53167
|
return (key, value, options) => {
|
|
53155
53168
|
let out = "";
|
|
@@ -53158,7 +53171,7 @@ function formEncoder(sep) {
|
|
|
53158
53171
|
return;
|
|
53159
53172
|
}
|
|
53160
53173
|
const encodeString = (v2) => {
|
|
53161
|
-
return options?.charEncoding
|
|
53174
|
+
return encodeChars(v2, options?.charEncoding);
|
|
53162
53175
|
};
|
|
53163
53176
|
const encodeValue = (v2) => encodeString(serializeValue(v2));
|
|
53164
53177
|
const encodedSep = encodeString(sep);
|
|
@@ -53179,7 +53192,7 @@ function formEncoder(sep) {
|
|
|
53179
53192
|
if (encValue == null) {
|
|
53180
53193
|
return;
|
|
53181
53194
|
}
|
|
53182
|
-
tmp = `${
|
|
53195
|
+
tmp = `${encodeKeyChars(pk, options?.charEncoding)}=${encValue}`;
|
|
53183
53196
|
if (!tmp || tmp === "=") {
|
|
53184
53197
|
return;
|
|
53185
53198
|
}
|
|
@@ -53203,7 +53216,7 @@ function encodeDeepObjectObject(key, value, options) {
|
|
|
53203
53216
|
}
|
|
53204
53217
|
let out = "";
|
|
53205
53218
|
const encodeString = (v2) => {
|
|
53206
|
-
return options?.charEncoding
|
|
53219
|
+
return encodeChars(v2, options?.charEncoding);
|
|
53207
53220
|
};
|
|
53208
53221
|
if (!isPlainObject2(value)) {
|
|
53209
53222
|
throw new EncodingError(`Expected parameter '${key}' to be an object.`);
|
|
@@ -53220,7 +53233,7 @@ function encodeDeepObjectObject(key, value, options) {
|
|
|
53220
53233
|
}
|
|
53221
53234
|
const pairs = Array.isArray(cv) ? cv : [cv];
|
|
53222
53235
|
const encoded = mapDefined(pairs, (v2) => {
|
|
53223
|
-
return `${
|
|
53236
|
+
return `${encodeKeyChars(pk, options?.charEncoding)}=${encodeString(serializeValue(v2))}`;
|
|
53224
53237
|
})?.join("&");
|
|
53225
53238
|
out += encoded == null ? "" : `&${encoded}`;
|
|
53226
53239
|
});
|
|
@@ -53231,10 +53244,10 @@ function encodeJSON(key, value, options) {
|
|
|
53231
53244
|
return;
|
|
53232
53245
|
}
|
|
53233
53246
|
const encodeString = (v2) => {
|
|
53234
|
-
return options?.charEncoding
|
|
53247
|
+
return encodeChars(v2, options?.charEncoding);
|
|
53235
53248
|
};
|
|
53236
53249
|
const encVal = encodeString(JSON.stringify(value, jsonReplacer));
|
|
53237
|
-
return options?.explode ? encVal : `${
|
|
53250
|
+
return options?.explode ? encVal : `${encodeKeyChars(key, options?.charEncoding)}=${encVal}`;
|
|
53238
53251
|
}
|
|
53239
53252
|
function explode(key, value) {
|
|
53240
53253
|
if (Array.isArray(value)) {
|
|
@@ -53348,14 +53361,14 @@ async function normalizeBlob(value) {
|
|
|
53348
53361
|
}
|
|
53349
53362
|
return new Blob([await value.arrayBuffer()], { type: value.type });
|
|
53350
53363
|
}
|
|
53351
|
-
var EncodingError, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encodeSimple = (key, value, options) => {
|
|
53364
|
+
var EncodingError, reservedEscapes, encodeForm, encodeSpaceDelimited, encodePipeDelimited, encodeSimple = (key, value, options) => {
|
|
53352
53365
|
let out = "";
|
|
53353
53366
|
const pairs = options?.explode ? explode(key, value) : [[key, value]];
|
|
53354
53367
|
if (pairs.every(([_2, v2]) => v2 == null)) {
|
|
53355
53368
|
return;
|
|
53356
53369
|
}
|
|
53357
53370
|
const encodeString = (v2) => {
|
|
53358
|
-
return options?.charEncoding
|
|
53371
|
+
return encodeChars(v2, options?.charEncoding);
|
|
53359
53372
|
};
|
|
53360
53373
|
const encodeValue = (v2) => encodeString(serializeValue(v2));
|
|
53361
53374
|
pairs.forEach(([pk, pv]) => {
|
|
@@ -53386,6 +53399,7 @@ var init_encodings = __esm(() => {
|
|
|
53386
53399
|
this.name = "EncodingError";
|
|
53387
53400
|
}
|
|
53388
53401
|
};
|
|
53402
|
+
reservedEscapes = /%(2[346bcf]|3[abdf]|40|5[bd])/gi;
|
|
53389
53403
|
encodeForm = formEncoder(",");
|
|
53390
53404
|
encodeSpaceDelimited = formEncoder(" ");
|
|
53391
53405
|
encodePipeDelimited = formEncoder("|");
|
|
@@ -56125,6 +56139,39 @@ var init_adjustment = __esm(() => {
|
|
|
56125
56139
|
});
|
|
56126
56140
|
});
|
|
56127
56141
|
|
|
56142
|
+
// src/models/components/billingadjustment.ts
|
|
56143
|
+
var BillingAdjustment$inboundSchema, BillingAdjustment$outboundSchema;
|
|
56144
|
+
var init_billingadjustment = __esm(() => {
|
|
56145
|
+
init_esm();
|
|
56146
|
+
init_amountdecimal();
|
|
56147
|
+
BillingAdjustment$inboundSchema = objectType({
|
|
56148
|
+
feeName: stringType(),
|
|
56149
|
+
count: numberType().int(),
|
|
56150
|
+
amount: AmountDecimal$inboundSchema
|
|
56151
|
+
});
|
|
56152
|
+
BillingAdjustment$outboundSchema = objectType({
|
|
56153
|
+
feeName: stringType(),
|
|
56154
|
+
count: numberType().int(),
|
|
56155
|
+
amount: AmountDecimal$outboundSchema
|
|
56156
|
+
});
|
|
56157
|
+
});
|
|
56158
|
+
|
|
56159
|
+
// src/models/components/adjustmentfees.ts
|
|
56160
|
+
var AdjustmentFees$inboundSchema, AdjustmentFees$outboundSchema;
|
|
56161
|
+
var init_adjustmentfees = __esm(() => {
|
|
56162
|
+
init_esm();
|
|
56163
|
+
init_billingadjustment();
|
|
56164
|
+
init_billingcountandamount();
|
|
56165
|
+
AdjustmentFees$inboundSchema = objectType({
|
|
56166
|
+
items: arrayType(BillingAdjustment$inboundSchema),
|
|
56167
|
+
total: BillingCountAndAmount$inboundSchema
|
|
56168
|
+
});
|
|
56169
|
+
AdjustmentFees$outboundSchema = objectType({
|
|
56170
|
+
items: arrayType(BillingAdjustment$outboundSchema),
|
|
56171
|
+
total: BillingCountAndAmount$outboundSchema
|
|
56172
|
+
});
|
|
56173
|
+
});
|
|
56174
|
+
|
|
56128
56175
|
// src/models/components/amount.ts
|
|
56129
56176
|
var Amount$inboundSchema, Amount$outboundSchema;
|
|
56130
56177
|
var init_amount = __esm(() => {
|
|
@@ -56366,7 +56413,7 @@ var init_applicationscope = __esm(() => {
|
|
|
56366
56413
|
FilesWrite: "files.write",
|
|
56367
56414
|
IssuedCardsRead: "issued-cards.read",
|
|
56368
56415
|
IssuedCardsWrite: "issued-cards.write",
|
|
56369
|
-
|
|
56416
|
+
IssuedCardsReadPrivate: "issued-cards.read-private",
|
|
56370
56417
|
PaymentMethodsRead: "payment-methods.read",
|
|
56371
56418
|
PingRead: "ping.read",
|
|
56372
56419
|
ProfileEnrichmentRead: "profile-enrichment.read",
|
|
@@ -59293,7 +59340,7 @@ var init_partnerfees = __esm(() => {
|
|
|
59293
59340
|
});
|
|
59294
59341
|
|
|
59295
59342
|
// src/models/components/billingsummary.ts
|
|
59296
|
-
var BillingSummaryVolumeAmount$inboundSchema, BillingSummaryVolumeAmount$outboundSchema, CardAcquiring$inboundSchema, CardAcquiring$outboundSchema, BillingSummaryPlatformFees$inboundSchema, BillingSummaryPlatformFees$outboundSchema,
|
|
59343
|
+
var BillingSummaryVolumeAmount$inboundSchema, BillingSummaryVolumeAmount$outboundSchema, CardAcquiring$inboundSchema, CardAcquiring$outboundSchema, BillingSummaryPlatformFees$inboundSchema, BillingSummaryPlatformFees$outboundSchema, BillingSummaryAdjustmentFees$inboundSchema, BillingSummaryAdjustmentFees$outboundSchema, OtherFees$inboundSchema, OtherFees$outboundSchema, BillingSummary$inboundSchema, BillingSummary$outboundSchema;
|
|
59297
59344
|
var init_billingsummary = __esm(() => {
|
|
59298
59345
|
init_esm();
|
|
59299
59346
|
init_amountdecimal();
|
|
@@ -59334,11 +59381,11 @@ var init_billingsummary = __esm(() => {
|
|
|
59334
59381
|
currency: stringType(),
|
|
59335
59382
|
valueDecimal: stringType()
|
|
59336
59383
|
});
|
|
59337
|
-
|
|
59384
|
+
BillingSummaryAdjustmentFees$inboundSchema = objectType({
|
|
59338
59385
|
currency: stringType(),
|
|
59339
59386
|
valueDecimal: stringType()
|
|
59340
59387
|
});
|
|
59341
|
-
|
|
59388
|
+
BillingSummaryAdjustmentFees$outboundSchema = objectType({
|
|
59342
59389
|
currency: stringType(),
|
|
59343
59390
|
valueDecimal: stringType()
|
|
59344
59391
|
});
|
|
@@ -59356,7 +59403,7 @@ var init_billingsummary = __esm(() => {
|
|
|
59356
59403
|
instantPayments: BillingSummaryDetails$inboundSchema.optional(),
|
|
59357
59404
|
platformFees: lazyType(() => BillingSummaryPlatformFees$inboundSchema).optional(),
|
|
59358
59405
|
accountFees: BillingSummaryDetails$inboundSchema.optional(),
|
|
59359
|
-
adjustmentFees: lazyType(() =>
|
|
59406
|
+
adjustmentFees: lazyType(() => BillingSummaryAdjustmentFees$inboundSchema).optional(),
|
|
59360
59407
|
otherFees: lazyType(() => OtherFees$inboundSchema).optional(),
|
|
59361
59408
|
otherCardFees: BillingSummaryDetails$inboundSchema.optional(),
|
|
59362
59409
|
total: AmountDecimal$inboundSchema.optional(),
|
|
@@ -59364,7 +59411,8 @@ var init_billingsummary = __esm(() => {
|
|
|
59364
59411
|
revenueShare: stringType().optional(),
|
|
59365
59412
|
residualSubtotal: AmountDecimal$inboundSchema.optional(),
|
|
59366
59413
|
monthlyPartnerCosts: PartnerFees$inboundSchema.optional(),
|
|
59367
|
-
netPartnerPayment: AmountDecimal$inboundSchema.optional()
|
|
59414
|
+
netPartnerPayment: AmountDecimal$inboundSchema.optional(),
|
|
59415
|
+
totalNetPartnerPayment: AmountDecimal$inboundSchema.optional()
|
|
59368
59416
|
});
|
|
59369
59417
|
BillingSummary$outboundSchema = objectType({
|
|
59370
59418
|
cardAcquiring: lazyType(() => CardAcquiring$outboundSchema).optional(),
|
|
@@ -59372,7 +59420,7 @@ var init_billingsummary = __esm(() => {
|
|
|
59372
59420
|
instantPayments: BillingSummaryDetails$outboundSchema.optional(),
|
|
59373
59421
|
platformFees: lazyType(() => BillingSummaryPlatformFees$outboundSchema).optional(),
|
|
59374
59422
|
accountFees: BillingSummaryDetails$outboundSchema.optional(),
|
|
59375
|
-
adjustmentFees: lazyType(() =>
|
|
59423
|
+
adjustmentFees: lazyType(() => BillingSummaryAdjustmentFees$outboundSchema).optional(),
|
|
59376
59424
|
otherFees: lazyType(() => OtherFees$outboundSchema).optional(),
|
|
59377
59425
|
otherCardFees: BillingSummaryDetails$outboundSchema.optional(),
|
|
59378
59426
|
total: AmountDecimal$outboundSchema.optional(),
|
|
@@ -59380,7 +59428,8 @@ var init_billingsummary = __esm(() => {
|
|
|
59380
59428
|
revenueShare: stringType().optional(),
|
|
59381
59429
|
residualSubtotal: AmountDecimal$outboundSchema.optional(),
|
|
59382
59430
|
monthlyPartnerCosts: PartnerFees$outboundSchema.optional(),
|
|
59383
|
-
netPartnerPayment: AmountDecimal$outboundSchema.optional()
|
|
59431
|
+
netPartnerPayment: AmountDecimal$outboundSchema.optional(),
|
|
59432
|
+
totalNetPartnerPayment: AmountDecimal$outboundSchema.optional()
|
|
59384
59433
|
});
|
|
59385
59434
|
});
|
|
59386
59435
|
|
|
@@ -61377,10 +61426,12 @@ var CreateFeePlanAgreement$inboundSchema, CreateFeePlanAgreement$outboundSchema;
|
|
|
61377
61426
|
var init_createfeeplanagreement = __esm(() => {
|
|
61378
61427
|
init_esm();
|
|
61379
61428
|
CreateFeePlanAgreement$inboundSchema = objectType({
|
|
61380
|
-
planID: stringType()
|
|
61429
|
+
planID: stringType(),
|
|
61430
|
+
priorAgreementID: stringType().optional()
|
|
61381
61431
|
});
|
|
61382
61432
|
CreateFeePlanAgreement$outboundSchema = objectType({
|
|
61383
|
-
planID: stringType()
|
|
61433
|
+
planID: stringType(),
|
|
61434
|
+
priorAgreementID: stringType().optional()
|
|
61384
61435
|
});
|
|
61385
61436
|
});
|
|
61386
61437
|
|
|
@@ -62388,7 +62439,8 @@ var init_webhookeventtype = __esm(() => {
|
|
|
62388
62439
|
WalletUpdated: "wallet.updated",
|
|
62389
62440
|
WalletTransactionUpdated: "walletTransaction.updated",
|
|
62390
62441
|
BillingStatementCreated: "billingStatement.created",
|
|
62391
|
-
AuthorizationExpiring: "authorization.expiring"
|
|
62442
|
+
AuthorizationExpiring: "authorization.expiring",
|
|
62443
|
+
EventTest: "event.test"
|
|
62392
62444
|
};
|
|
62393
62445
|
WebhookEventType$inboundSchema = nativeEnumType(WebhookEventType);
|
|
62394
62446
|
WebhookEventType$outboundSchema = WebhookEventType$inboundSchema;
|
|
@@ -62890,7 +62942,9 @@ var init_feeplanagreement = __esm(() => {
|
|
|
62890
62942
|
cardAcquiringModel: CardAcquiringModel$inboundSchema,
|
|
62891
62943
|
billableFees: arrayType(BillableFee$inboundSchema),
|
|
62892
62944
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
62893
|
-
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema
|
|
62945
|
+
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
62946
|
+
priorAgreementID: stringType().optional(),
|
|
62947
|
+
priorAgreementTerminatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
62894
62948
|
});
|
|
62895
62949
|
FeePlanAgreement$outboundSchema = objectType({
|
|
62896
62950
|
agreementID: stringType(),
|
|
@@ -62903,7 +62957,9 @@ var init_feeplanagreement = __esm(() => {
|
|
|
62903
62957
|
cardAcquiringModel: CardAcquiringModel$outboundSchema,
|
|
62904
62958
|
billableFees: arrayType(BillableFee$outboundSchema),
|
|
62905
62959
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
62906
|
-
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema
|
|
62960
|
+
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
62961
|
+
priorAgreementID: stringType().optional(),
|
|
62962
|
+
priorAgreementTerminatedOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
62907
62963
|
});
|
|
62908
62964
|
});
|
|
62909
62965
|
|
|
@@ -63105,6 +63161,7 @@ var init_issuedcardstate = __esm(() => {
|
|
|
63105
63161
|
init_esm();
|
|
63106
63162
|
IssuedCardState = {
|
|
63107
63163
|
Active: "active",
|
|
63164
|
+
Frozen: "frozen",
|
|
63108
63165
|
Closed: "closed"
|
|
63109
63166
|
};
|
|
63110
63167
|
IssuedCardState$inboundSchema = nativeEnumType(IssuedCardState);
|
|
@@ -63609,6 +63666,7 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63609
63666
|
IssuedCardAuthorization$inboundSchema = objectType({
|
|
63610
63667
|
authorizationID: stringType(),
|
|
63611
63668
|
issuedCardID: stringType(),
|
|
63669
|
+
lastFourCardNumber: stringType().optional(),
|
|
63612
63670
|
fundingWalletID: stringType(),
|
|
63613
63671
|
network: CardIssuingNetwork$inboundSchema,
|
|
63614
63672
|
authorizedAmount: stringType(),
|
|
@@ -63620,6 +63678,7 @@ var init_issuedcardauthorization = __esm(() => {
|
|
|
63620
63678
|
IssuedCardAuthorization$outboundSchema = objectType({
|
|
63621
63679
|
authorizationID: stringType(),
|
|
63622
63680
|
issuedCardID: stringType(),
|
|
63681
|
+
lastFourCardNumber: stringType().optional(),
|
|
63623
63682
|
fundingWalletID: stringType(),
|
|
63624
63683
|
network: CardIssuingNetwork$outboundSchema,
|
|
63625
63684
|
authorizedAmount: stringType(),
|
|
@@ -63689,6 +63748,7 @@ var init_issuedcardtransaction = __esm(() => {
|
|
|
63689
63748
|
IssuedCardTransaction$inboundSchema = objectType({
|
|
63690
63749
|
cardTransactionID: stringType(),
|
|
63691
63750
|
issuedCardID: stringType(),
|
|
63751
|
+
lastFourCardNumber: stringType().optional(),
|
|
63692
63752
|
fundingWalletID: stringType(),
|
|
63693
63753
|
amount: stringType(),
|
|
63694
63754
|
authorizationID: stringType().optional(),
|
|
@@ -63699,6 +63759,7 @@ var init_issuedcardtransaction = __esm(() => {
|
|
|
63699
63759
|
IssuedCardTransaction$outboundSchema = objectType({
|
|
63700
63760
|
cardTransactionID: stringType(),
|
|
63701
63761
|
issuedCardID: stringType(),
|
|
63762
|
+
lastFourCardNumber: stringType().optional(),
|
|
63702
63763
|
fundingWalletID: stringType(),
|
|
63703
63764
|
amount: stringType(),
|
|
63704
63765
|
authorizationID: stringType().optional(),
|
|
@@ -64456,6 +64517,8 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
64456
64517
|
billableFees: arrayType(BillableFee$inboundSchema),
|
|
64457
64518
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
64458
64519
|
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
64520
|
+
priorAgreementID: stringType().optional(),
|
|
64521
|
+
priorAgreementTerminatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
64459
64522
|
revenueShare: stringType()
|
|
64460
64523
|
});
|
|
64461
64524
|
PartnerPricingAgreement$outboundSchema = objectType({
|
|
@@ -64470,6 +64533,8 @@ var init_partnerpricingagreement = __esm(() => {
|
|
|
64470
64533
|
billableFees: arrayType(BillableFee$outboundSchema),
|
|
64471
64534
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
64472
64535
|
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
64536
|
+
priorAgreementID: stringType().optional(),
|
|
64537
|
+
priorAgreementTerminatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
64473
64538
|
revenueShare: stringType()
|
|
64474
64539
|
});
|
|
64475
64540
|
});
|
|
@@ -65759,6 +65824,7 @@ var init_statement = __esm(() => {
|
|
|
65759
65824
|
init_esm();
|
|
65760
65825
|
init_accountfees();
|
|
65761
65826
|
init_achfees();
|
|
65827
|
+
init_adjustmentfees();
|
|
65762
65828
|
init_billingsummary();
|
|
65763
65829
|
init_cardacquiringfees();
|
|
65764
65830
|
init_instantpaymentfees();
|
|
@@ -65781,6 +65847,7 @@ var init_statement = __esm(() => {
|
|
|
65781
65847
|
accountFees: AccountFees$inboundSchema.optional(),
|
|
65782
65848
|
otherCardFees: OtherCardFees$inboundSchema.optional(),
|
|
65783
65849
|
partnerFees: PartnerFees$inboundSchema.optional(),
|
|
65850
|
+
adjustments: AdjustmentFees$inboundSchema.optional(),
|
|
65784
65851
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
65785
65852
|
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
65786
65853
|
});
|
|
@@ -65800,6 +65867,7 @@ var init_statement = __esm(() => {
|
|
|
65800
65867
|
accountFees: AccountFees$outboundSchema.optional(),
|
|
65801
65868
|
otherCardFees: OtherCardFees$outboundSchema.optional(),
|
|
65802
65869
|
partnerFees: PartnerFees$outboundSchema.optional(),
|
|
65870
|
+
adjustments: AdjustmentFees$outboundSchema.optional(),
|
|
65803
65871
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
65804
65872
|
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
65805
65873
|
});
|
|
@@ -66379,6 +66447,8 @@ var UpdateIssuedCardState, UpdateIssuedCardState$inboundSchema, UpdateIssuedCard
|
|
|
66379
66447
|
var init_updateissuedcardstate = __esm(() => {
|
|
66380
66448
|
init_esm();
|
|
66381
66449
|
UpdateIssuedCardState = {
|
|
66450
|
+
Active: "active",
|
|
66451
|
+
Frozen: "frozen",
|
|
66382
66452
|
Closed: "closed"
|
|
66383
66453
|
};
|
|
66384
66454
|
UpdateIssuedCardState$inboundSchema = nativeEnumType(UpdateIssuedCardState);
|
|
@@ -67039,6 +67109,18 @@ var init_webhookdatadisputeupdated = __esm(() => {
|
|
|
67039
67109
|
});
|
|
67040
67110
|
});
|
|
67041
67111
|
|
|
67112
|
+
// src/models/components/webhookdataeventtest.ts
|
|
67113
|
+
var WebhookDataEventTest$inboundSchema, WebhookDataEventTest$outboundSchema;
|
|
67114
|
+
var init_webhookdataeventtest = __esm(() => {
|
|
67115
|
+
init_esm();
|
|
67116
|
+
WebhookDataEventTest$inboundSchema = objectType({
|
|
67117
|
+
ping: booleanType()
|
|
67118
|
+
});
|
|
67119
|
+
WebhookDataEventTest$outboundSchema = objectType({
|
|
67120
|
+
ping: booleanType()
|
|
67121
|
+
});
|
|
67122
|
+
});
|
|
67123
|
+
|
|
67042
67124
|
// src/models/components/webhookdatainvoicecreated.ts
|
|
67043
67125
|
var WebhookDataInvoiceCreated$inboundSchema, WebhookDataInvoiceCreated$outboundSchema;
|
|
67044
67126
|
var init_webhookdatainvoicecreated = __esm(() => {
|
|
@@ -67486,6 +67568,7 @@ var init_webhookdata = __esm(() => {
|
|
|
67486
67568
|
init_webhookdatacardautoupdated();
|
|
67487
67569
|
init_webhookdatadisputecreated();
|
|
67488
67570
|
init_webhookdatadisputeupdated();
|
|
67571
|
+
init_webhookdataeventtest();
|
|
67489
67572
|
init_webhookdatainvoicecreated();
|
|
67490
67573
|
init_webhookdatainvoiceupdated();
|
|
67491
67574
|
init_webhookdatanetworkidupdated();
|
|
@@ -67546,7 +67629,8 @@ var init_webhookdata = __esm(() => {
|
|
|
67546
67629
|
WebhookDataAccountCreated$inboundSchema,
|
|
67547
67630
|
WebhookDataAccountUpdated$inboundSchema,
|
|
67548
67631
|
WebhookDataAccountDisconnected$inboundSchema,
|
|
67549
|
-
WebhookDataNetworkIDUpdated$inboundSchema
|
|
67632
|
+
WebhookDataNetworkIDUpdated$inboundSchema,
|
|
67633
|
+
WebhookDataEventTest$inboundSchema
|
|
67550
67634
|
]);
|
|
67551
67635
|
WebhookData$outboundSchema = unionType([
|
|
67552
67636
|
WebhookDataDisputeCreated$outboundSchema,
|
|
@@ -67586,7 +67670,8 @@ var init_webhookdata = __esm(() => {
|
|
|
67586
67670
|
WebhookDataAccountCreated$outboundSchema,
|
|
67587
67671
|
WebhookDataAccountUpdated$outboundSchema,
|
|
67588
67672
|
WebhookDataAccountDisconnected$outboundSchema,
|
|
67589
|
-
WebhookDataNetworkIDUpdated$outboundSchema
|
|
67673
|
+
WebhookDataNetworkIDUpdated$outboundSchema,
|
|
67674
|
+
WebhookDataEventTest$outboundSchema
|
|
67590
67675
|
]);
|
|
67591
67676
|
});
|
|
67592
67677
|
|
|
@@ -67657,6 +67742,7 @@ var init_components = __esm(() => {
|
|
|
67657
67742
|
init_addresssuggestion();
|
|
67658
67743
|
init_addressupdate();
|
|
67659
67744
|
init_adjustment();
|
|
67745
|
+
init_adjustmentfees();
|
|
67660
67746
|
init_amount();
|
|
67661
67747
|
init_amountdecimal();
|
|
67662
67748
|
init_amountdecimalvalidationerror();
|
|
@@ -67691,6 +67777,7 @@ var init_components = __esm(() => {
|
|
|
67691
67777
|
init_basicpaymentmethod();
|
|
67692
67778
|
init_batchgettransfersrequest();
|
|
67693
67779
|
init_billablefee();
|
|
67780
|
+
init_billingadjustment();
|
|
67694
67781
|
init_billingcountandamount();
|
|
67695
67782
|
init_billinginterchangeprogramfee();
|
|
67696
67783
|
init_billingsummary();
|
|
@@ -68093,6 +68180,7 @@ var init_components = __esm(() => {
|
|
|
68093
68180
|
init_webhookdatacardautoupdated();
|
|
68094
68181
|
init_webhookdatadisputecreated();
|
|
68095
68182
|
init_webhookdatadisputeupdated();
|
|
68183
|
+
init_webhookdataeventtest();
|
|
68096
68184
|
init_webhookdatainvoicecreated();
|
|
68097
68185
|
init_webhookdatainvoiceupdated();
|
|
68098
68186
|
init_webhookdatanetworkidupdated();
|
|
@@ -74764,6 +74852,7 @@ var init_listissuedcardtransactions = __esm(() => {
|
|
|
74764
74852
|
skip: numberType().int().optional(),
|
|
74765
74853
|
count: numberType().int().optional(),
|
|
74766
74854
|
issuedCardID: stringType().optional(),
|
|
74855
|
+
merchantName: stringType().optional(),
|
|
74767
74856
|
startDateTime: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
74768
74857
|
endDateTime: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
74769
74858
|
});
|
|
@@ -74772,6 +74861,7 @@ var init_listissuedcardtransactions = __esm(() => {
|
|
|
74772
74861
|
skip: numberType().int().optional(),
|
|
74773
74862
|
count: numberType().int().optional(),
|
|
74774
74863
|
issuedCardID: stringType().optional(),
|
|
74864
|
+
merchantName: stringType().optional(),
|
|
74775
74865
|
startDateTime: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
74776
74866
|
endDateTime: dateType().transform((v2) => v2.toISOString()).optional()
|
|
74777
74867
|
});
|
|
@@ -81933,7 +82023,7 @@ var init_cardIssuingGetFull2 = __esm(() => {
|
|
|
81933
82023
|
Only use this endpoint if you have provided Moov with a copy of your PCI attestation of compliance.
|
|
81934
82024
|
|
|
81935
82025
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81936
|
-
you'll need to specify the \`/accounts/{accountID}/issued-cards.read-
|
|
82026
|
+
you'll need to specify the \`/accounts/{accountID}/issued-cards.read-private\` scope.`,
|
|
81937
82027
|
args: args43,
|
|
81938
82028
|
tool: async (client, args44, ctx) => {
|
|
81939
82029
|
const [result, apiCall] = await cardIssuingGetFull(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -87117,7 +87207,7 @@ var init_imagesUpload2 = __esm(() => {
|
|
|
87117
87207
|
tool$imagesUpload = {
|
|
87118
87208
|
name: "images-upload",
|
|
87119
87209
|
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
87120
|
-
Duplicate images
|
|
87210
|
+
Duplicate images return the existing image's metadata with a 409 status. Requests larger than 16MB will be rejected.`,
|
|
87121
87211
|
args: args85,
|
|
87122
87212
|
tool: async (client, args86, ctx) => {
|
|
87123
87213
|
const [result, apiCall] = await imagesUpload(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -87318,7 +87408,7 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
87318
87408
|
};
|
|
87319
87409
|
tool$institutionsSearch = {
|
|
87320
87410
|
name: "institutions-search",
|
|
87321
|
-
description: `This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/
|
|
87411
|
+
description: `This endpoint has been deprecated and will be removed in a future release. Use [/institutions](https://docs.moov.io/api/enrichment/institutions/get/).
|
|
87322
87412
|
|
|
87323
87413
|
Search for institutions by either their name or routing number.
|
|
87324
87414
|
|
|
@@ -87703,6 +87793,7 @@ async function $do92(client, request, options) {
|
|
|
87703
87793
|
count: payload.count,
|
|
87704
87794
|
endDateTime: payload.endDateTime,
|
|
87705
87795
|
issuedCardID: payload.issuedCardID,
|
|
87796
|
+
merchantName: payload.merchantName,
|
|
87706
87797
|
skip: payload.skip,
|
|
87707
87798
|
startDateTime: payload.startDateTime
|
|
87708
87799
|
}, { explode: false });
|
|
@@ -93311,7 +93402,9 @@ async function $do141(client, request, options) {
|
|
|
93311
93402
|
const [result] = await match(json([200, 202], CreateCancellationResponse$inboundSchema, {
|
|
93312
93403
|
hdrs: true,
|
|
93313
93404
|
key: "Result"
|
|
93314
|
-
}), jsonErr(400,
|
|
93405
|
+
}), jsonErr([400, 409, 422], GenericError$inboundSchema, {
|
|
93406
|
+
hdrs: true
|
|
93407
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
93315
93408
|
if (!result.ok) {
|
|
93316
93409
|
return [result, { status: "complete", request: req, response }];
|
|
93317
93410
|
}
|
|
@@ -93343,6 +93436,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
93343
93436
|
name: "transfers-create-cancellation",
|
|
93344
93437
|
description: ` Initiate a cancellation for a card, ACH, or queued transfer.
|
|
93345
93438
|
|
|
93439
|
+
In v2026.10 and later, an auth-capture \`card-payment\` transfer can be canceled before any captures exist.
|
|
93440
|
+
For these transfers, a successful cancellation reduces \`capturableAmount\` without changing \`authorizedAmount\`.
|
|
93441
|
+
For these transfers, a partial cancellation leaves the remaining \`capturableAmount\` available for capture.
|
|
93346
93442
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
93347
93443
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93348
93444
|
args: args136,
|
|
@@ -93461,7 +93557,10 @@ var init_transfersCreateReversal2 = __esm(() => {
|
|
|
93461
93557
|
};
|
|
93462
93558
|
tool$transfersCreateReversal = {
|
|
93463
93559
|
name: "transfers-create-reversal",
|
|
93464
|
-
description: `Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
|
|
93560
|
+
description: `Reverses a card transfer by initiating a cancellation or refund depending on the transaction status.
|
|
93561
|
+
In v2026.10 and later, reversing an auth-capture \`card-payment\` transfer with no captures cancels the entire \`capturableAmount\`.
|
|
93562
|
+
In those API versions, an auth-capture \`card-payment\` transfer with one final capture is canceled or refunded depending on its processing state.
|
|
93563
|
+
Auth-capture \`card-payment\` transfers with a non-final capture or multiple captures are not supported in those API versions.
|
|
93465
93564
|
Read our [reversals guide](https://docs.moov.io/guides/money-movement/accept-payments/card-acceptance/reversals/)
|
|
93466
93565
|
to learn more.
|
|
93467
93566
|
|
|
@@ -94293,7 +94392,7 @@ async function $do149(client, request, options) {
|
|
|
94293
94392
|
const [result] = await match(json(200, ListCancellationsResponse$inboundSchema, {
|
|
94294
94393
|
hdrs: true,
|
|
94295
94394
|
key: "Result"
|
|
94296
|
-
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
94395
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
94297
94396
|
if (!result.ok) {
|
|
94298
94397
|
return [result, { status: "complete", request: req, response }];
|
|
94299
94398
|
}
|
|
@@ -94323,7 +94422,7 @@ var init_transfersListCancellations2 = __esm(() => {
|
|
|
94323
94422
|
tool$transfersListCancellations = {
|
|
94324
94423
|
name: "transfers-list-cancellations",
|
|
94325
94424
|
description: ` Get a list of cancellations for a transfer.
|
|
94326
|
-
|
|
94425
|
+
|
|
94327
94426
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
94328
94427
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94329
94428
|
args: args144,
|
|
@@ -94408,7 +94507,7 @@ async function $do150(client, request, options) {
|
|
|
94408
94507
|
const [result] = await match(json(200, ListRefundsResponse$inboundSchema, {
|
|
94409
94508
|
hdrs: true,
|
|
94410
94509
|
key: "Result"
|
|
94411
|
-
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
94510
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
94412
94511
|
if (!result.ok) {
|
|
94413
94512
|
return [result, { status: "complete", request: req, response }];
|
|
94414
94513
|
}
|
|
@@ -96373,7 +96472,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96373
96472
|
function createMCPServer(deps) {
|
|
96374
96473
|
const server = new McpServer({
|
|
96375
96474
|
name: "Moov",
|
|
96376
|
-
version: "24.3.
|
|
96475
|
+
version: "24.3.8"
|
|
96377
96476
|
});
|
|
96378
96477
|
const client = new MoovCore({
|
|
96379
96478
|
security: deps.security,
|
|
@@ -97931,7 +98030,7 @@ var routes = rn({
|
|
|
97931
98030
|
var app = Ve(routes, {
|
|
97932
98031
|
name: "mcp",
|
|
97933
98032
|
versionInfo: {
|
|
97934
|
-
currentVersion: "24.3.
|
|
98033
|
+
currentVersion: "24.3.8"
|
|
97935
98034
|
}
|
|
97936
98035
|
});
|
|
97937
98036
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -97939,5 +98038,5 @@ export {
|
|
|
97939
98038
|
app
|
|
97940
98039
|
};
|
|
97941
98040
|
|
|
97942
|
-
//# debugId=
|
|
98041
|
+
//# debugId=C82E0D657BF8400964756E2164756E21
|
|
97943
98042
|
//# sourceMappingURL=mcp-server.js.map
|