@moovio/sdk 26.7.1 → 26.7.2
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 +131 -38
- package/bin/mcp-server.js.map +93 -91
- 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/amountdecimalrange.d.ts +1 -3
- package/models/components/amountdecimalrange.d.ts.map +1 -1
- package/models/components/amountdecimalrange.js.map +1 -1
- package/models/components/amountdecimalrangeupdate.d.ts +1 -3
- package/models/components/amountdecimalrangeupdate.d.ts.map +1 -1
- package/models/components/amountdecimalrangeupdate.js.map +1 -1
- 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 +64 -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 +14 -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/createtransfer.d.ts +1 -1
- package/models/components/facilitatorfee.d.ts +2 -2
- package/models/components/feepaidby.d.ts +0 -6
- package/models/components/feepaidby.d.ts.map +1 -1
- package/models/components/feepaidby.js +0 -3
- package/models/components/feepaidby.js.map +1 -1
- 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 +1 -0
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/issuedcard.d.ts +1 -0
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.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/issuedcontrols.d.ts +1 -4
- package/models/components/issuedcontrols.d.ts.map +1 -1
- package/models/components/issuedcontrols.js.map +1 -1
- package/models/components/issuingcontrols.d.ts +5 -5
- package/models/components/issuingcontrols.d.ts.map +1 -1
- package/models/components/issuingcontrolsrestrictionmode.d.ts +2 -2
- package/models/components/issuingcontrolsrestrictionmode.js +1 -1
- package/models/components/merchantcategoryrestrictions.d.ts +2 -2
- package/models/components/merchantentry.d.ts +3 -3
- package/models/components/merchantentry.d.ts.map +1 -1
- package/models/components/merchantentry.js +2 -2
- package/models/components/merchantentry.js.map +1 -1
- package/models/components/merchantentryerror.d.ts +2 -2
- package/models/components/merchantentryerror.d.ts.map +1 -1
- package/models/components/merchantentryerror.js +2 -2
- package/models/components/merchantentryerror.js.map +1 -1
- package/models/components/merchantrestrictions.d.ts +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 +4 -3
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts +1 -3
- package/models/components/paymentlinkcustomamountpaymentdetails.d.ts.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetails.js.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts +1 -3
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkcustomamountpaymentdetailsupdate.js.map +1 -1
- package/models/components/paymentlinkpayoutdetails.d.ts +7 -8
- package/models/components/paymentlinkpayoutdetails.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetails.js.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts +7 -8
- package/models/components/paymentlinkpayoutdetailsupdate.d.ts.map +1 -1
- package/models/components/paymentlinkpayoutdetailsupdate.js.map +1 -1
- package/models/components/pushoptions.d.ts +4 -6
- package/models/components/pushoptions.d.ts.map +1 -1
- package/models/components/pushoptions.js.map +1 -1
- package/models/components/pushoptionsupdate.d.ts +4 -6
- package/models/components/pushoptionsupdate.d.ts.map +1 -1
- package/models/components/pushoptionsupdate.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/requirementid.d.ts +14 -0
- package/models/components/requirementid.d.ts.map +1 -1
- package/models/components/requirementid.js +14 -0
- package/models/components/requirementid.js.map +1 -1
- package/models/components/reversalamountdetails.d.ts +5 -1
- package/models/components/reversalamountdetails.d.ts.map +1 -1
- package/models/components/reversalamountdetails.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/transferfeepaidby.d.ts +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/updateissuingcontrols.d.ts +10 -10
- 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/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/listinvoices.d.ts +3 -0
- package/models/operations/listinvoices.d.ts.map +1 -1
- package/models/operations/listinvoices.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/listtickets.d.ts +3 -0
- package/models/operations/listtickets.d.ts.map +1 -1
- package/models/operations/listtickets.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/amountdecimalrange.ts +1 -3
- package/src/models/components/amountdecimalrangeupdate.ts +1 -3
- package/src/models/components/applicationscope.ts +1 -1
- package/src/models/components/billingadjustment.ts +78 -0
- package/src/models/components/billingsummary.ts +35 -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/createtransfer.ts +1 -1
- package/src/models/components/facilitatorfee.ts +2 -2
- package/src/models/components/feepaidby.ts +0 -6
- package/src/models/components/feeplanagreement.ts +15 -0
- package/src/models/components/fullissuedcard.ts +1 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/issuedcard.ts +1 -0
- package/src/models/components/issuedcardstate.ts +3 -0
- package/src/models/components/issuedcontrols.ts +1 -4
- package/src/models/components/issuingcontrols.ts +5 -5
- package/src/models/components/issuingcontrolsrestrictionmode.ts +2 -2
- package/src/models/components/merchantcategoryrestrictions.ts +2 -2
- package/src/models/components/merchantentry.ts +5 -5
- package/src/models/components/merchantentryerror.ts +4 -4
- package/src/models/components/merchantrestrictions.ts +1 -1
- package/src/models/components/partnerpricingagreement.ts +17 -2
- package/src/models/components/paymentlink.ts +4 -3
- package/src/models/components/paymentlinkcustomamountpaymentdetails.ts +1 -3
- package/src/models/components/paymentlinkcustomamountpaymentdetailsupdate.ts +1 -3
- package/src/models/components/paymentlinkpayoutdetails.ts +7 -8
- package/src/models/components/paymentlinkpayoutdetailsupdate.ts +7 -8
- package/src/models/components/pushoptions.ts +4 -6
- package/src/models/components/pushoptionsupdate.ts +4 -6
- package/src/models/components/requestcard.ts +3 -0
- package/src/models/components/requirementid.ts +28 -0
- package/src/models/components/reversalamountdetails.ts +5 -1
- 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/transferfeepaidby.ts +1 -1
- package/src/models/components/updateissuedcard.ts +2 -0
- package/src/models/components/updateissuedcardstate.ts +6 -0
- package/src/models/components/updateissuingcontrols.ts +10 -10
- package/src/models/components/updatepaymentlink.ts +3 -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/listinvoices.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/listtickets.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
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
} from "./merchantentry.js";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Restricts card usage by merchant category.
|
|
28
|
+
* Restricts card usage by merchant category. When not set, all categories are allowed.
|
|
29
29
|
*/
|
|
30
30
|
export type MerchantCategoryRestrictions = {
|
|
31
31
|
/**
|
|
32
|
-
* Whether the listed
|
|
32
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
33
33
|
*/
|
|
34
34
|
mode: IssuingControlsRestrictionMode;
|
|
35
35
|
/**
|
|
@@ -9,13 +9,13 @@ import * as types from "../../types/primitives.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Identifies a merchant by ID, descriptor pattern, or both. At least one of `
|
|
12
|
+
* Identifies a merchant by ID, descriptor pattern, or both. At least one of `networkID` or `descriptorPattern` must be set.
|
|
13
13
|
*/
|
|
14
14
|
export type MerchantEntry = {
|
|
15
15
|
/**
|
|
16
16
|
* The merchant's unique identifier (ISO 8583 DE42), matched exactly.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
networkID?: string | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* A case-insensitive RE2 regular expression matched against the merchant descriptor (ISO 8583 DE43).
|
|
21
21
|
*/
|
|
@@ -32,13 +32,13 @@ export const MerchantEntry$inboundSchema: z.ZodType<
|
|
|
32
32
|
z.ZodTypeDef,
|
|
33
33
|
unknown
|
|
34
34
|
> = z.object({
|
|
35
|
-
|
|
35
|
+
networkID: types.optional(types.string()),
|
|
36
36
|
descriptorPattern: types.optional(types.string()),
|
|
37
37
|
name: types.optional(types.string()),
|
|
38
38
|
});
|
|
39
39
|
/** @internal */
|
|
40
40
|
export type MerchantEntry$Outbound = {
|
|
41
|
-
|
|
41
|
+
networkID?: string | undefined;
|
|
42
42
|
descriptorPattern?: string | undefined;
|
|
43
43
|
name?: string | undefined;
|
|
44
44
|
};
|
|
@@ -49,7 +49,7 @@ export const MerchantEntry$outboundSchema: z.ZodType<
|
|
|
49
49
|
z.ZodTypeDef,
|
|
50
50
|
MerchantEntry
|
|
51
51
|
> = z.object({
|
|
52
|
-
|
|
52
|
+
networkID: z.string().optional(),
|
|
53
53
|
descriptorPattern: z.string().optional(),
|
|
54
54
|
name: z.string().optional(),
|
|
55
55
|
});
|
|
@@ -9,7 +9,7 @@ import * as types from "../../types/primitives.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
export type MerchantEntryError = {
|
|
12
|
-
|
|
12
|
+
networkID?: string | undefined;
|
|
13
13
|
descriptorPattern?: string | undefined;
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -19,12 +19,12 @@ export const MerchantEntryError$inboundSchema: z.ZodType<
|
|
|
19
19
|
z.ZodTypeDef,
|
|
20
20
|
unknown
|
|
21
21
|
> = z.object({
|
|
22
|
-
|
|
22
|
+
networkID: types.optional(types.string()),
|
|
23
23
|
descriptorPattern: types.optional(types.string()),
|
|
24
24
|
});
|
|
25
25
|
/** @internal */
|
|
26
26
|
export type MerchantEntryError$Outbound = {
|
|
27
|
-
|
|
27
|
+
networkID?: string | undefined;
|
|
28
28
|
descriptorPattern?: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ export const MerchantEntryError$outboundSchema: z.ZodType<
|
|
|
34
34
|
z.ZodTypeDef,
|
|
35
35
|
MerchantEntryError
|
|
36
36
|
> = z.object({
|
|
37
|
-
|
|
37
|
+
networkID: z.string().optional(),
|
|
38
38
|
descriptorPattern: z.string().optional(),
|
|
39
39
|
});
|
|
40
40
|
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
*/
|
|
24
24
|
export type MerchantRestrictions = {
|
|
25
25
|
/**
|
|
26
|
-
* Whether the listed
|
|
26
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
27
27
|
*/
|
|
28
28
|
mode: IssuingControlsRestrictionMode;
|
|
29
29
|
/**
|
|
@@ -73,11 +73,19 @@ export type PartnerPricingAgreement = {
|
|
|
73
73
|
*/
|
|
74
74
|
monthlyPlatformFee: MonthlyPlatformFee;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* The agreement this one replaced. Only set when the agreement was created by replacing another.
|
|
77
|
+
*/
|
|
78
|
+
priorAgreementID?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* The date and time the prior agreement was terminated.
|
|
81
|
+
*/
|
|
82
|
+
priorAgreementTerminatedOn?: Date | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* The decimal-formatted numerical string of the revenue split for partner.
|
|
77
85
|
*
|
|
78
86
|
* @remarks
|
|
79
87
|
*
|
|
80
|
-
*
|
|
88
|
+
* For example, 2.25% is '2.25'.
|
|
81
89
|
*/
|
|
82
90
|
revenueShare: string;
|
|
83
91
|
};
|
|
@@ -99,6 +107,8 @@ export const PartnerPricingAgreement$inboundSchema: z.ZodType<
|
|
|
99
107
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
100
108
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
101
109
|
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
110
|
+
priorAgreementID: types.optional(types.string()),
|
|
111
|
+
priorAgreementTerminatedOn: types.optional(types.date()),
|
|
102
112
|
revenueShare: types.string(),
|
|
103
113
|
});
|
|
104
114
|
/** @internal */
|
|
@@ -114,6 +124,8 @@ export type PartnerPricingAgreement$Outbound = {
|
|
|
114
124
|
billableFees: Array<BillableFee$Outbound>;
|
|
115
125
|
minimumCommitment: MinimumCommitment$Outbound;
|
|
116
126
|
monthlyPlatformFee: MonthlyPlatformFee$Outbound;
|
|
127
|
+
priorAgreementID?: string | undefined;
|
|
128
|
+
priorAgreementTerminatedOn?: string | undefined;
|
|
117
129
|
revenueShare: string;
|
|
118
130
|
};
|
|
119
131
|
|
|
@@ -134,6 +146,9 @@ export const PartnerPricingAgreement$outboundSchema: z.ZodType<
|
|
|
134
146
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
135
147
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
136
148
|
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
149
|
+
priorAgreementID: z.string().optional(),
|
|
150
|
+
priorAgreementTerminatedOn: z.date().transform(v => v.toISOString())
|
|
151
|
+
.optional(),
|
|
137
152
|
revenueShare: z.string(),
|
|
138
153
|
});
|
|
139
154
|
|
|
@@ -138,13 +138,14 @@ export type PaymentLink = {
|
|
|
138
138
|
* Options for payment links used to collect payment.
|
|
139
139
|
*/
|
|
140
140
|
payment?: PaymentLinkPaymentDetails | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* Options for payout links used to send a payout.
|
|
143
|
+
*/
|
|
141
144
|
payout?: PaymentLinkPayoutDetails | undefined;
|
|
142
145
|
/**
|
|
143
|
-
*
|
|
146
|
+
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
144
147
|
*
|
|
145
148
|
* @remarks
|
|
146
|
-
*
|
|
147
|
-
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
148
149
|
* pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
|
|
149
150
|
*/
|
|
150
151
|
customAmountPayment?: PaymentLinkCustomAmountPaymentDetails | undefined;
|
|
@@ -38,11 +38,9 @@ import {
|
|
|
38
38
|
} from "./collectionpaymentmethodtype.js";
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
45
|
-
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
46
44
|
* pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
|
|
47
45
|
*/
|
|
48
46
|
export type PaymentLinkCustomAmountPaymentDetails = {
|
|
@@ -38,11 +38,9 @@ import {
|
|
|
38
38
|
} from "./collectionpaymentmethodtype.js";
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
*
|
|
45
|
-
* A custom amount payment link shares all the options of a `payment` link, but the payor chooses how much to
|
|
46
44
|
* pay rather than the merchant fixing the amount. The amount may optionally be constrained to a range.
|
|
47
45
|
*/
|
|
48
46
|
export type PaymentLinkCustomAmountPaymentDetailsUpdate = {
|
|
@@ -30,6 +30,9 @@ import {
|
|
|
30
30
|
PushOptions$outboundSchema,
|
|
31
31
|
} from "./pushoptions.js";
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Options for payout links used to send a payout.
|
|
35
|
+
*/
|
|
33
36
|
export type PaymentLinkPayoutDetails = {
|
|
34
37
|
/**
|
|
35
38
|
* A list of payment methods that should be supported for this payment link.
|
|
@@ -49,20 +52,16 @@ export type PaymentLinkPayoutDetails = {
|
|
|
49
52
|
*/
|
|
50
53
|
metadata?: { [k: string]: string } | undefined;
|
|
51
54
|
/**
|
|
52
|
-
* Delivery options for push-to-card
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
*
|
|
56
|
-
* The `deferred` speed and `deferredBy` apply to `push-to-card` only. Other push methods
|
|
57
|
-
* (`push-to-apple-pay`, `push-to-google-pay`) are always delivered instantly regardless of these options.
|
|
55
|
+
* Delivery options for `push-to-card` and `push-to-apple-pay` payouts.
|
|
58
56
|
*/
|
|
59
57
|
pushOptions?: PushOptions | undefined;
|
|
60
58
|
/**
|
|
61
|
-
* Indicates which party
|
|
59
|
+
* Indicates which party pays the fee, keyed by `PayoutFeePaidByKey`. If keys are not set,
|
|
62
60
|
*
|
|
63
61
|
* @remarks
|
|
62
|
+
* the default is `source`.
|
|
64
63
|
*
|
|
65
|
-
*
|
|
64
|
+
* Possible `PayoutFeePaidByKey` keys: `instant-push-to-card`, `deferred-push-to-card`, `instant-push-to-apple-pay`, `deferred-push-to-apple-pay`, `instant-bank-credit` (API v2026.01.00 and later), `rtp-credit`, `ach-credit-same-day`, `ach-credit-standard`, `push-to-google-pay`
|
|
66
65
|
*/
|
|
67
66
|
feePaidBy?: { [k: string]: FeePaidBy } | undefined;
|
|
68
67
|
};
|
|
@@ -30,6 +30,9 @@ import {
|
|
|
30
30
|
PushOptionsUpdate$outboundSchema,
|
|
31
31
|
} from "./pushoptionsupdate.js";
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* Options for payout links used to send a payout.
|
|
35
|
+
*/
|
|
33
36
|
export type PaymentLinkPayoutDetailsUpdate = {
|
|
34
37
|
/**
|
|
35
38
|
* A list of payment methods that should be supported for this payment link.
|
|
@@ -49,20 +52,16 @@ export type PaymentLinkPayoutDetailsUpdate = {
|
|
|
49
52
|
*/
|
|
50
53
|
metadata?: { [k: string]: string } | undefined;
|
|
51
54
|
/**
|
|
52
|
-
* Delivery options for push-to-card
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
*
|
|
56
|
-
* The `deferred` speed and `deferredBy` apply to `push-to-card` only. Other push methods
|
|
57
|
-
* (`push-to-apple-pay`, `push-to-google-pay`) are always delivered instantly regardless of these options.
|
|
55
|
+
* Delivery options for `push-to-card` and `push-to-apple-pay` payouts.
|
|
58
56
|
*/
|
|
59
57
|
pushOptions?: PushOptionsUpdate | undefined;
|
|
60
58
|
/**
|
|
61
|
-
* Indicates which party
|
|
59
|
+
* Indicates which party pays the fee, keyed by `PayoutFeePaidByKey`. If keys are not set,
|
|
62
60
|
*
|
|
63
61
|
* @remarks
|
|
62
|
+
* the default is `source`.
|
|
64
63
|
*
|
|
65
|
-
*
|
|
64
|
+
* Possible `PayoutFeePaidByKey` keys: `instant-push-to-card`, `deferred-push-to-card`, `instant-push-to-apple-pay`, `deferred-push-to-apple-pay`, `rtp-credit`, `ach-credit-same-day`, `ach-credit-standard`, `push-to-google-pay`
|
|
66
65
|
*/
|
|
67
66
|
feePaidBy?: { [k: string]: FeePaidBy } | undefined;
|
|
68
67
|
};
|
|
@@ -13,19 +13,17 @@ import {
|
|
|
13
13
|
PushDeliverySpeed$outboundSchema,
|
|
14
14
|
} from "./pushdeliveryspeed.js";
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* Delivery options for push-to-card payouts.
|
|
18
|
-
*/
|
|
19
16
|
export type PushOptions = {
|
|
20
17
|
/**
|
|
21
|
-
* Delivery speeds the recipient may choose from for `push-to-card
|
|
18
|
+
* Delivery speeds the recipient may choose from for `push-to-card` and `push-to-apple-pay`.
|
|
22
19
|
*
|
|
23
20
|
* @remarks
|
|
24
|
-
* delivery, `deferred` to allow delayed delivery, or both
|
|
21
|
+
* Include `instant` to allow immediate delivery, `deferred` to allow delayed delivery, or both
|
|
22
|
+
* to let the recipient choose at checkout.
|
|
25
23
|
*/
|
|
26
24
|
allowedSpeeds: Array<PushDeliverySpeed>;
|
|
27
25
|
/**
|
|
28
|
-
* Delay before delivering a deferred
|
|
26
|
+
* Delay before delivering a deferred payout. Required when `allowedSpeeds` includes `deferred`.
|
|
29
27
|
*
|
|
30
28
|
* @remarks
|
|
31
29
|
* Accepted values are `24h` or `48h`.
|
|
@@ -13,19 +13,17 @@ import {
|
|
|
13
13
|
PushDeliverySpeed$outboundSchema,
|
|
14
14
|
} from "./pushdeliveryspeed.js";
|
|
15
15
|
|
|
16
|
-
/**
|
|
17
|
-
* Delivery options for push-to-card payouts.
|
|
18
|
-
*/
|
|
19
16
|
export type PushOptionsUpdate = {
|
|
20
17
|
/**
|
|
21
|
-
* Delivery speeds the recipient may choose from for `push-to-card
|
|
18
|
+
* Delivery speeds the recipient may choose from for `push-to-card` and `push-to-apple-pay`.
|
|
22
19
|
*
|
|
23
20
|
* @remarks
|
|
24
|
-
* delivery, `deferred` to allow delayed delivery, or both
|
|
21
|
+
* Include `instant` to allow immediate delivery, `deferred` to allow delayed delivery, or both
|
|
22
|
+
* to let the recipient choose at checkout.
|
|
25
23
|
*/
|
|
26
24
|
allowedSpeeds?: Array<PushDeliverySpeed> | undefined;
|
|
27
25
|
/**
|
|
28
|
-
* Delay before delivering a deferred
|
|
26
|
+
* Delay before delivering a deferred payout. Required when `allowedSpeeds` includes `deferred`.
|
|
29
27
|
*
|
|
30
28
|
* @remarks
|
|
31
29
|
* Accepted values are `24h` or `48h`.
|
|
@@ -144,6 +144,34 @@ export const RequirementID = {
|
|
|
144
144
|
"underwriting.sendFunds.pushToCard.fulfillment",
|
|
145
145
|
UnderwritingSendFundsPushToCardRefundPolicy:
|
|
146
146
|
"underwriting.sendFunds.pushToCard.refundPolicy",
|
|
147
|
+
UnderwritingSendFundsInstantBankCardAcceptanceMethods:
|
|
148
|
+
"underwriting.sendFunds.instantBank.cardAcceptanceMethods",
|
|
149
|
+
UnderwritingSendFundsInstantBankCurrentlyAcceptsCards:
|
|
150
|
+
"underwriting.sendFunds.instantBank.currentlyAcceptsCards",
|
|
151
|
+
UnderwritingSendFundsInstantBankEstimatedActivityAverageTransactionAmount:
|
|
152
|
+
"underwriting.sendFunds.instantBank.estimatedActivity.averageTransactionAmount",
|
|
153
|
+
UnderwritingSendFundsInstantBankEstimatedActivityMaximumTransactionAmount:
|
|
154
|
+
"underwriting.sendFunds.instantBank.estimatedActivity.maximumTransactionAmount",
|
|
155
|
+
UnderwritingSendFundsInstantBankEstimatedActivityMonthlyVolumeRange:
|
|
156
|
+
"underwriting.sendFunds.instantBank.estimatedActivity.monthlyVolumeRange",
|
|
157
|
+
UnderwritingSendFundsInstantBankFulfillment:
|
|
158
|
+
"underwriting.sendFunds.instantBank.fulfillment",
|
|
159
|
+
UnderwritingSendFundsInstantBankRefundPolicy:
|
|
160
|
+
"underwriting.sendFunds.instantBank.refundPolicy",
|
|
161
|
+
UnderwritingSendFundsWireCardAcceptanceMethods:
|
|
162
|
+
"underwriting.sendFunds.wire.cardAcceptanceMethods",
|
|
163
|
+
UnderwritingSendFundsWireCurrentlyAcceptsCards:
|
|
164
|
+
"underwriting.sendFunds.wire.currentlyAcceptsCards",
|
|
165
|
+
UnderwritingSendFundsWireEstimatedActivityAverageTransactionAmount:
|
|
166
|
+
"underwriting.sendFunds.wire.estimatedActivity.averageTransactionAmount",
|
|
167
|
+
UnderwritingSendFundsWireEstimatedActivityMaximumTransactionAmount:
|
|
168
|
+
"underwriting.sendFunds.wire.estimatedActivity.maximumTransactionAmount",
|
|
169
|
+
UnderwritingSendFundsWireEstimatedActivityMonthlyVolumeRange:
|
|
170
|
+
"underwriting.sendFunds.wire.estimatedActivity.monthlyVolumeRange",
|
|
171
|
+
UnderwritingSendFundsWireFulfillment:
|
|
172
|
+
"underwriting.sendFunds.wire.fulfillment",
|
|
173
|
+
UnderwritingSendFundsWireRefundPolicy:
|
|
174
|
+
"underwriting.sendFunds.wire.refundPolicy",
|
|
147
175
|
UnderwritingMoneyTransferPullFromCardCardAcceptanceMethods:
|
|
148
176
|
"underwriting.moneyTransfer.pullFromCard.cardAcceptanceMethods",
|
|
149
177
|
UnderwritingMoneyTransferPullFromCardCurrentlyAcceptsCards:
|
|
@@ -16,7 +16,11 @@ import {
|
|
|
16
16
|
|
|
17
17
|
export type ReversalAmountDetails = {
|
|
18
18
|
/**
|
|
19
|
-
* The amount of surcharge to refund.
|
|
19
|
+
* The amount of surcharge to refund.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* It should be proportional to the surcharge on the original transfer.
|
|
23
|
+
* This field applies only when the reversal results in a refund.
|
|
20
24
|
*/
|
|
21
25
|
surcharge?: AmountDecimal | undefined;
|
|
22
26
|
};
|
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
ACHFees$Outbound,
|
|
20
20
|
ACHFees$outboundSchema,
|
|
21
21
|
} from "./achfees.js";
|
|
22
|
+
import {
|
|
23
|
+
AdjustmentFees,
|
|
24
|
+
AdjustmentFees$inboundSchema,
|
|
25
|
+
AdjustmentFees$Outbound,
|
|
26
|
+
AdjustmentFees$outboundSchema,
|
|
27
|
+
} from "./adjustmentfees.js";
|
|
22
28
|
import {
|
|
23
29
|
BillingSummary,
|
|
24
30
|
BillingSummary$inboundSchema,
|
|
@@ -122,6 +128,10 @@ export type Statement = {
|
|
|
122
128
|
* Monthly partner costs that are charged separately and not included in residual subtotal (e.g. platform fees, minimums).
|
|
123
129
|
*/
|
|
124
130
|
partnerFees?: PartnerFees | undefined;
|
|
131
|
+
/**
|
|
132
|
+
* A detailed breakdown of adjustment (correction) fees by fee name.
|
|
133
|
+
*/
|
|
134
|
+
adjustments?: AdjustmentFees | undefined;
|
|
125
135
|
/**
|
|
126
136
|
* The date and time the statement was created.
|
|
127
137
|
*/
|
|
@@ -153,6 +163,7 @@ export const Statement$inboundSchema: z.ZodType<
|
|
|
153
163
|
accountFees: types.optional(AccountFees$inboundSchema),
|
|
154
164
|
otherCardFees: types.optional(OtherCardFees$inboundSchema),
|
|
155
165
|
partnerFees: types.optional(PartnerFees$inboundSchema),
|
|
166
|
+
adjustments: types.optional(AdjustmentFees$inboundSchema),
|
|
156
167
|
createdOn: types.date(),
|
|
157
168
|
updatedOn: types.date(),
|
|
158
169
|
});
|
|
@@ -173,6 +184,7 @@ export type Statement$Outbound = {
|
|
|
173
184
|
accountFees?: AccountFees$Outbound | undefined;
|
|
174
185
|
otherCardFees?: OtherCardFees$Outbound | undefined;
|
|
175
186
|
partnerFees?: PartnerFees$Outbound | undefined;
|
|
187
|
+
adjustments?: AdjustmentFees$Outbound | undefined;
|
|
176
188
|
createdOn: string;
|
|
177
189
|
updatedOn: string;
|
|
178
190
|
};
|
|
@@ -198,6 +210,7 @@ export const Statement$outboundSchema: z.ZodType<
|
|
|
198
210
|
accountFees: AccountFees$outboundSchema.optional(),
|
|
199
211
|
otherCardFees: OtherCardFees$outboundSchema.optional(),
|
|
200
212
|
partnerFees: PartnerFees$outboundSchema.optional(),
|
|
213
|
+
adjustments: AdjustmentFees$outboundSchema.optional(),
|
|
201
214
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
202
215
|
updatedOn: z.date().transform(v => v.toISOString()),
|
|
203
216
|
});
|
|
@@ -27,14 +27,14 @@ export type SweepConfig = {
|
|
|
27
27
|
* The payment method used to push or pull funds to a bank account.
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
30
|
+
* The push payment method can only be ach-credit-standard, ach-credit-same-day, rtp-credit, or instant-bank-credit (API v2026.01.00 and later). The pull payment method can only be ach-debit-fund.
|
|
31
31
|
*/
|
|
32
32
|
pushPaymentMethod: SweepConfigPaymentMethod;
|
|
33
33
|
/**
|
|
34
34
|
* The payment method used to push or pull funds to a bank account.
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
37
|
+
* The push payment method can only be ach-credit-standard, ach-credit-same-day, rtp-credit, or instant-bank-credit (API v2026.01.00 and later). The pull payment method can only be ach-debit-fund.
|
|
38
38
|
*/
|
|
39
39
|
pullPaymentMethod: SweepConfigPaymentMethod;
|
|
40
40
|
/**
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
* The payment method used to push or pull funds to a bank account.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
15
|
+
* The push payment method can only be ach-credit-standard, ach-credit-same-day, rtp-credit, or instant-bank-credit (API v2026.01.00 and later). The pull payment method can only be ach-debit-fund.
|
|
16
16
|
*/
|
|
17
17
|
export type SweepConfigPaymentMethod = {
|
|
18
18
|
/**
|
|
@@ -107,6 +107,14 @@ export type Transfer = {
|
|
|
107
107
|
* Reason for a transfer's failure.
|
|
108
108
|
*/
|
|
109
109
|
failureReason?: TransferFailureReason | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Amount associated with this transfer.
|
|
112
|
+
*
|
|
113
|
+
* @remarks
|
|
114
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
115
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
116
|
+
* For other transfer types, this is the transfer amount.
|
|
117
|
+
*/
|
|
110
118
|
amount: Amount;
|
|
111
119
|
/**
|
|
112
120
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -33,6 +33,8 @@ export type UpdateIssuedCard = {
|
|
|
33
33
|
* Updates the state of a Moov issued card.
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
37
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
36
38
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
37
39
|
*/
|
|
38
40
|
state?: UpdateIssuedCardState | undefined;
|
|
@@ -9,15 +9,21 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
* Updates the state of a Moov issued card.
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
13
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
12
14
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
13
15
|
*/
|
|
14
16
|
export const UpdateIssuedCardState = {
|
|
17
|
+
Active: "active",
|
|
18
|
+
Frozen: "frozen",
|
|
15
19
|
Closed: "closed",
|
|
16
20
|
} as const;
|
|
17
21
|
/**
|
|
18
22
|
* Updates the state of a Moov issued card.
|
|
19
23
|
*
|
|
20
24
|
* @remarks
|
|
25
|
+
* - `active`: Reactivates a frozen card so it can approve authorizations again.
|
|
26
|
+
* - `frozen`: Temporarily suspends the card so it cannot approve authorizations. A card can be moved between `frozen` and `active` at will until it is `closed`, which is a terminal state.
|
|
21
27
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
22
28
|
*/
|
|
23
29
|
export type UpdateIssuedCardState = ClosedEnum<typeof UpdateIssuedCardState>;
|
|
@@ -37,11 +37,11 @@ import {
|
|
|
37
37
|
} from "./schedulewindow.js";
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Restricts card usage by merchant category. Set to `null` to remove all category restrictions.
|
|
41
41
|
*/
|
|
42
42
|
export type UpdateIssuingControlsMerchantCategoryRestrictions = {
|
|
43
43
|
/**
|
|
44
|
-
* Whether the listed
|
|
44
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
45
45
|
*/
|
|
46
46
|
mode?: IssuingControlsRestrictionMode | undefined;
|
|
47
47
|
/**
|
|
@@ -59,11 +59,11 @@ export type UpdateIssuingControlsMerchantCategoryRestrictions = {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Restricts card usage to specific merchants, independent of merchant category. Set to `null` to remove merchant restrictions.
|
|
63
63
|
*/
|
|
64
64
|
export type UpdateIssuingControlsMerchantRestrictions = {
|
|
65
65
|
/**
|
|
66
|
-
* Whether the listed
|
|
66
|
+
* Whether the listed items should be allowed (`allow`) or blocked (`block`).
|
|
67
67
|
*/
|
|
68
68
|
mode?: IssuingControlsRestrictionMode | undefined;
|
|
69
69
|
/**
|
|
@@ -73,7 +73,7 @@ export type UpdateIssuingControlsMerchantRestrictions = {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Limits card usage to specific days and times. Set to `null` to remove all schedule restrictions.
|
|
77
77
|
*/
|
|
78
78
|
export type UpdateIssuingControlsAllowedSchedule = {
|
|
79
79
|
/**
|
|
@@ -87,7 +87,7 @@ export type UpdateIssuingControlsAllowedSchedule = {
|
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* Each field replaces the entire corresponding value.
|
|
91
91
|
*/
|
|
92
92
|
export type UpdateIssuingControls = {
|
|
93
93
|
/**
|
|
@@ -95,25 +95,25 @@ export type UpdateIssuingControls = {
|
|
|
95
95
|
*/
|
|
96
96
|
velocityLimits?: Array<IssuingVelocityLimit> | undefined;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
98
|
+
* Restricts card usage by merchant category. Set to `null` to remove all category restrictions.
|
|
99
99
|
*/
|
|
100
100
|
merchantCategoryRestrictions?:
|
|
101
101
|
| UpdateIssuingControlsMerchantCategoryRestrictions
|
|
102
102
|
| null
|
|
103
103
|
| undefined;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Restricts card usage to specific merchants, independent of merchant category. Set to `null` to remove merchant restrictions.
|
|
106
106
|
*/
|
|
107
107
|
merchantRestrictions?:
|
|
108
108
|
| UpdateIssuingControlsMerchantRestrictions
|
|
109
109
|
| null
|
|
110
110
|
| undefined;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Limits card usage to specific days and times. Set to `null` to remove all schedule restrictions.
|
|
113
113
|
*/
|
|
114
114
|
allowedSchedule?: UpdateIssuingControlsAllowedSchedule | null | undefined;
|
|
115
115
|
/**
|
|
116
|
-
* A spend cutoff date and time. Set to `null` to remove the cutoff.
|
|
116
|
+
* A spend cutoff date and time. Set to `null` to remove the spend cutoff.
|
|
117
117
|
*/
|
|
118
118
|
expiresOn?: Date | null | undefined;
|
|
119
119
|
};
|
|
@@ -68,6 +68,9 @@ export type UpdatePaymentLink = {
|
|
|
68
68
|
* Options for payment links used to collect payment.
|
|
69
69
|
*/
|
|
70
70
|
payment?: PaymentLinkPaymentDetailsUpdate | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Options for payout links used to send a payout.
|
|
73
|
+
*/
|
|
71
74
|
payout?: PaymentLinkPayoutDetailsUpdate | undefined;
|
|
72
75
|
/**
|
|
73
76
|
* Options for a custom amount payment link. A payment link's type cannot be changed after creation.
|
|
@@ -24,6 +24,14 @@ export type TransferData = {
|
|
|
24
24
|
* Reason for a transfer's failure.
|
|
25
25
|
*/
|
|
26
26
|
failureReason?: components.TransferFailureReason | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Amount associated with this transfer.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
32
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
33
|
+
* For other transfer types, this is the transfer amount.
|
|
34
|
+
*/
|
|
27
35
|
amount: components.Amount;
|
|
28
36
|
/**
|
|
29
37
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -105,6 +113,14 @@ export class Transfer extends MoovError {
|
|
|
105
113
|
* Reason for a transfer's failure.
|
|
106
114
|
*/
|
|
107
115
|
failureReason?: components.TransferFailureReason | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* Amount associated with this transfer.
|
|
118
|
+
*
|
|
119
|
+
* @remarks
|
|
120
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
121
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
122
|
+
* For other transfer types, this is the transfer amount.
|
|
123
|
+
*/
|
|
108
124
|
amount: components.Amount;
|
|
109
125
|
/**
|
|
110
126
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|