@moovio/sdk 25.12.5 → 25.12.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 +30 -18
- package/bin/mcp-server.js +190 -48
- package/bin/mcp-server.js.map +90 -86
- 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/transfersList.js +2 -0
- package/funcs/transfersList.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/avatarsGet.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js +1 -1
- package/mcp-server/tools/cardIssuingGetFull.js.map +1 -1
- package/mcp-server/tools/enrichedAddressGet.js +1 -1
- package/mcp-server/tools/enrichedProfileGet.js +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 +2 -2
- 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 +14 -0
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +3 -0
- 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 +2 -2
- 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 +4 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -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/paymentmethodswallet.d.ts +1 -0
- package/models/components/paymentmethodswallet.d.ts.map +1 -1
- package/models/components/paymentmethodswallet.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 +7 -0
- package/models/components/requirementid.d.ts.map +1 -1
- package/models/components/requirementid.js +7 -0
- package/models/components/requirementid.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 +14 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +3 -0
- package/models/components/transfer.js.map +1 -1
- package/models/components/transfercapture.d.ts +28 -0
- package/models/components/transfercapture.d.ts.map +1 -0
- package/models/components/transfercapture.js +60 -0
- package/models/components/transfercapture.js.map +1 -0
- package/models/components/transferpaymentmethodswallet.d.ts +1 -0
- package/models/components/transferpaymentmethodswallet.d.ts.map +1 -1
- package/models/components/transferpaymentmethodswallet.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/wallet.d.ts +1 -0
- package/models/components/wallet.d.ts.map +1 -1
- package/models/components/wallet.js.map +1 -1
- package/models/components/wallettype.d.ts +3 -0
- package/models/components/wallettype.d.ts.map +1 -1
- package/models/components/wallettype.js +2 -0
- package/models/components/wallettype.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/webhookdatatransferstatus.d.ts +3 -0
- package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
- package/models/components/webhookdatatransferstatus.js +3 -0
- package/models/components/webhookdatatransferstatus.js.map +1 -1
- 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 +25 -0
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +4 -0
- 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/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 +13 -0
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +4 -0
- 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/transfersList.ts +2 -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/avatarsGet.ts +1 -1
- package/src/mcp-server/tools/cardIssuingGetFull.ts +1 -1
- package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
- package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
- package/src/mcp-server/tools/imagesUpload.ts +1 -1
- package/src/mcp-server/tools/institutionsSearch.ts +2 -2
- 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 +21 -0
- package/src/models/components/createfeeplanagreement.ts +18 -1
- package/src/models/components/createpaymentlink.ts +3 -0
- package/src/models/components/createrefund.ts +2 -2
- 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 +4 -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/paymentmethodswallet.ts +1 -0
- package/src/models/components/requestcard.ts +3 -0
- package/src/models/components/requirementid.ts +14 -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 +21 -0
- package/src/models/components/transfercapture.ts +62 -0
- package/src/models/components/transferpaymentmethodswallet.ts +1 -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/wallet.ts +1 -0
- package/src/models/components/wallettype.ts +3 -0
- package/src/models/components/webhookdata.ts +12 -2
- package/src/models/components/webhookdataeventtest.ts +54 -0
- package/src/models/components/webhookdatatransferstatus.ts +3 -0
- package/src/models/components/webhookeventtype.ts +1 -0
- package/src/models/errors/transfer.ts +28 -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/listtickets.ts +3 -0
- package/src/models/operations/listtransfers.ts +17 -0
- 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
|
@@ -42,6 +42,12 @@ import {
|
|
|
42
42
|
MoovFeeDetails$Outbound,
|
|
43
43
|
MoovFeeDetails$outboundSchema,
|
|
44
44
|
} from "./moovfeedetails.js";
|
|
45
|
+
import {
|
|
46
|
+
TransferCapture,
|
|
47
|
+
TransferCapture$inboundSchema,
|
|
48
|
+
TransferCapture$Outbound,
|
|
49
|
+
TransferCapture$outboundSchema,
|
|
50
|
+
} from "./transfercapture.js";
|
|
45
51
|
import {
|
|
46
52
|
TransferDestination,
|
|
47
53
|
TransferDestination$inboundSchema,
|
|
@@ -85,6 +91,14 @@ export type CreatedTransfer = {
|
|
|
85
91
|
* Reason for a transfer's failure.
|
|
86
92
|
*/
|
|
87
93
|
failureReason?: TransferFailureReason | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Amount associated with this transfer.
|
|
96
|
+
*
|
|
97
|
+
* @remarks
|
|
98
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
99
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
100
|
+
* For other transfer types, this is the transfer amount.
|
|
101
|
+
*/
|
|
88
102
|
amount?: Amount | undefined;
|
|
89
103
|
/**
|
|
90
104
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -135,6 +149,10 @@ export type CreatedTransfer = {
|
|
|
135
149
|
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
136
150
|
*/
|
|
137
151
|
lineItems?: TransferLineItems | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
154
|
+
*/
|
|
155
|
+
capture?: TransferCapture | undefined;
|
|
138
156
|
};
|
|
139
157
|
|
|
140
158
|
/** @internal */
|
|
@@ -171,6 +189,7 @@ export const CreatedTransfer$inboundSchema: z.ZodType<
|
|
|
171
189
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
172
190
|
foreignID: z.string().optional(),
|
|
173
191
|
lineItems: TransferLineItems$inboundSchema.optional(),
|
|
192
|
+
capture: TransferCapture$inboundSchema.optional(),
|
|
174
193
|
});
|
|
175
194
|
/** @internal */
|
|
176
195
|
export type CreatedTransfer$Outbound = {
|
|
@@ -201,6 +220,7 @@ export type CreatedTransfer$Outbound = {
|
|
|
201
220
|
salesTaxAmount?: Amount$Outbound | undefined;
|
|
202
221
|
foreignID?: string | undefined;
|
|
203
222
|
lineItems?: TransferLineItems$Outbound | undefined;
|
|
223
|
+
capture?: TransferCapture$Outbound | undefined;
|
|
204
224
|
};
|
|
205
225
|
|
|
206
226
|
/** @internal */
|
|
@@ -236,6 +256,7 @@ export const CreatedTransfer$outboundSchema: z.ZodType<
|
|
|
236
256
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
237
257
|
foreignID: z.string().optional(),
|
|
238
258
|
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
259
|
+
capture: TransferCapture$outboundSchema.optional(),
|
|
239
260
|
});
|
|
240
261
|
|
|
241
262
|
export function createdTransferToJSON(
|
|
@@ -9,9 +9,23 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
|
|
10
10
|
export type CreateFeePlanAgreement = {
|
|
11
11
|
/**
|
|
12
|
-
* A unique identifier for a
|
|
12
|
+
* A unique identifier for a fee plan: the pricing terms, such as flat-rate or cost-plus, that an account
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* is charged under its fee plan agreement. Use GET /accounts/{accountID}/fee-plans to list the fee plans
|
|
16
|
+
* available to assign to a given account.
|
|
13
17
|
*/
|
|
14
18
|
planID: string;
|
|
19
|
+
/**
|
|
20
|
+
* The account's active fee plan agreement to supersede. When set, that agreement is terminated and
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* the new one takes its place in a single operation, so the account is never without an active fee
|
|
24
|
+
* plan agreement. This new agreement always receives a newly issued agreementID.
|
|
25
|
+
*
|
|
26
|
+
* Omit it if the account doesn't already have an active fee plan agreement.
|
|
27
|
+
*/
|
|
28
|
+
priorAgreementID?: string | undefined;
|
|
15
29
|
};
|
|
16
30
|
|
|
17
31
|
/** @internal */
|
|
@@ -21,10 +35,12 @@ export const CreateFeePlanAgreement$inboundSchema: z.ZodType<
|
|
|
21
35
|
unknown
|
|
22
36
|
> = z.object({
|
|
23
37
|
planID: z.string(),
|
|
38
|
+
priorAgreementID: z.string().optional(),
|
|
24
39
|
});
|
|
25
40
|
/** @internal */
|
|
26
41
|
export type CreateFeePlanAgreement$Outbound = {
|
|
27
42
|
planID: string;
|
|
43
|
+
priorAgreementID?: string | undefined;
|
|
28
44
|
};
|
|
29
45
|
|
|
30
46
|
/** @internal */
|
|
@@ -34,6 +50,7 @@ export const CreateFeePlanAgreement$outboundSchema: z.ZodType<
|
|
|
34
50
|
CreateFeePlanAgreement
|
|
35
51
|
> = z.object({
|
|
36
52
|
planID: z.string(),
|
|
53
|
+
priorAgreementID: z.string().optional(),
|
|
37
54
|
});
|
|
38
55
|
|
|
39
56
|
export function createFeePlanAgreementToJSON(
|
|
@@ -97,6 +97,9 @@ export type CreatePaymentLink = {
|
|
|
97
97
|
* Options for payment links used to collect payment.
|
|
98
98
|
*/
|
|
99
99
|
payment?: PaymentLinkPaymentDetails | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Options for payout links used to send a payout.
|
|
102
|
+
*/
|
|
100
103
|
payout?: PaymentLinkPayoutDetails | undefined;
|
|
101
104
|
/**
|
|
102
105
|
* An optional collection of line items for a payment link.
|
|
@@ -12,11 +12,11 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* Before v2026.10, this request body may be omitted. In v2026.10 and later, send an empty object to refund the full amount of the original transfer.
|
|
16
16
|
*/
|
|
17
17
|
export type CreateRefund = {
|
|
18
18
|
/**
|
|
19
|
-
* Amount to refund
|
|
19
|
+
* Amount to refund. If omitted, the original transfer's full amount will be refunded.
|
|
20
20
|
*/
|
|
21
21
|
amount?: number | undefined;
|
|
22
22
|
};
|
|
@@ -9,7 +9,12 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
|
|
10
10
|
export type CreateReversal = {
|
|
11
11
|
/**
|
|
12
|
-
* Amount to reverse
|
|
12
|
+
* Amount to reverse.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Before v2026.10, specify the amount in integer cents.
|
|
16
|
+
* For supported auth-capture `card-payment` reversals in v2026.10 and later, a transfer with no captures uses the full `capturableAmount`.
|
|
17
|
+
* For those transfers with one final capture, a cancellation uses the full capture amount, while a refund may be partial.
|
|
13
18
|
*/
|
|
14
19
|
amount: number;
|
|
15
20
|
};
|
|
@@ -12,7 +12,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
12
12
|
*/
|
|
13
13
|
export type FacilitatorFee = {
|
|
14
14
|
/**
|
|
15
|
-
* Total facilitator fee
|
|
15
|
+
* Total facilitator fee.
|
|
16
16
|
*/
|
|
17
17
|
total?: number | undefined;
|
|
18
18
|
/**
|
|
@@ -24,7 +24,7 @@ export type FacilitatorFee = {
|
|
|
24
24
|
*/
|
|
25
25
|
totalDecimal?: string | undefined;
|
|
26
26
|
/**
|
|
27
|
-
* Markup facilitator fee
|
|
27
|
+
* Markup facilitator fee.
|
|
28
28
|
*/
|
|
29
29
|
markup?: number | undefined;
|
|
30
30
|
/**
|
|
@@ -71,6 +71,14 @@ export type FeePlanAgreement = {
|
|
|
71
71
|
* Fixed recurring amount paid in the billing period regardless of usage.
|
|
72
72
|
*/
|
|
73
73
|
monthlyPlatformFee: MonthlyPlatformFee;
|
|
74
|
+
/**
|
|
75
|
+
* The agreement this one replaced. Only set when the agreement was created by replacing another.
|
|
76
|
+
*/
|
|
77
|
+
priorAgreementID?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* The date and time the prior agreement was terminated.
|
|
80
|
+
*/
|
|
81
|
+
priorAgreementTerminatedOn?: Date | undefined;
|
|
74
82
|
};
|
|
75
83
|
|
|
76
84
|
/** @internal */
|
|
@@ -90,6 +98,10 @@ export const FeePlanAgreement$inboundSchema: z.ZodType<
|
|
|
90
98
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
91
99
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
92
100
|
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
101
|
+
priorAgreementID: z.string().optional(),
|
|
102
|
+
priorAgreementTerminatedOn: z.string().datetime({ offset: true }).transform(
|
|
103
|
+
v => new Date(v)
|
|
104
|
+
).optional(),
|
|
93
105
|
});
|
|
94
106
|
/** @internal */
|
|
95
107
|
export type FeePlanAgreement$Outbound = {
|
|
@@ -104,6 +116,8 @@ export type FeePlanAgreement$Outbound = {
|
|
|
104
116
|
billableFees: Array<BillableFee$Outbound>;
|
|
105
117
|
minimumCommitment: MinimumCommitment$Outbound;
|
|
106
118
|
monthlyPlatformFee: MonthlyPlatformFee$Outbound;
|
|
119
|
+
priorAgreementID?: string | undefined;
|
|
120
|
+
priorAgreementTerminatedOn?: string | undefined;
|
|
107
121
|
};
|
|
108
122
|
|
|
109
123
|
/** @internal */
|
|
@@ -123,6 +137,9 @@ export const FeePlanAgreement$outboundSchema: z.ZodType<
|
|
|
123
137
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
124
138
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
125
139
|
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
140
|
+
priorAgreementID: z.string().optional(),
|
|
141
|
+
priorAgreementTerminatedOn: z.date().transform(v => v.toISOString())
|
|
142
|
+
.optional(),
|
|
126
143
|
});
|
|
127
144
|
|
|
128
145
|
export function feePlanAgreementToJSON(
|
|
@@ -80,6 +80,7 @@ export type FullIssuedCard = {
|
|
|
80
80
|
* @remarks
|
|
81
81
|
*
|
|
82
82
|
* - `active`: The card is operational and can approve authorizations.
|
|
83
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
83
84
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
84
85
|
*/
|
|
85
86
|
state: IssuedCardState;
|
|
@@ -87,6 +88,9 @@ export type FullIssuedCard = {
|
|
|
87
88
|
* Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
|
|
88
89
|
*/
|
|
89
90
|
formFactor: IssuedCardFormFactor;
|
|
91
|
+
/**
|
|
92
|
+
* Mutable spend controls for the card.
|
|
93
|
+
*/
|
|
90
94
|
controls?: IssuingControls | undefined;
|
|
91
95
|
createdOn: Date;
|
|
92
96
|
updatedOn: Date;
|
|
@@ -35,6 +35,7 @@ export * from "./addresserror.js";
|
|
|
35
35
|
export * from "./addresssuggestion.js";
|
|
36
36
|
export * from "./addressupdate.js";
|
|
37
37
|
export * from "./adjustment.js";
|
|
38
|
+
export * from "./adjustmentfees.js";
|
|
38
39
|
export * from "./amount.js";
|
|
39
40
|
export * from "./amountdecimal.js";
|
|
40
41
|
export * from "./amountdecimalvalidationerror.js";
|
|
@@ -69,6 +70,7 @@ export * from "./bankaccountwaitfor.js";
|
|
|
69
70
|
export * from "./basicpaymentmethod.js";
|
|
70
71
|
export * from "./batchgettransfersrequest.js";
|
|
71
72
|
export * from "./billablefee.js";
|
|
73
|
+
export * from "./billingadjustment.js";
|
|
72
74
|
export * from "./billingcountandamount.js";
|
|
73
75
|
export * from "./billinginterchangeprogramfee.js";
|
|
74
76
|
export * from "./billingsummary.js";
|
|
@@ -456,6 +458,7 @@ export * from "./transactionsource.js";
|
|
|
456
458
|
export * from "./transfer.js";
|
|
457
459
|
export * from "./transferaccount.js";
|
|
458
460
|
export * from "./transferachaddendarecord.js";
|
|
461
|
+
export * from "./transfercapture.js";
|
|
459
462
|
export * from "./transferdestination.js";
|
|
460
463
|
export * from "./transferentrymode.js";
|
|
461
464
|
export * from "./transferfailurereason.js";
|
|
@@ -525,6 +528,7 @@ export * from "./webhookdatacapabilityupdated.js";
|
|
|
525
528
|
export * from "./webhookdatacardautoupdated.js";
|
|
526
529
|
export * from "./webhookdatadisputecreated.js";
|
|
527
530
|
export * from "./webhookdatadisputeupdated.js";
|
|
531
|
+
export * from "./webhookdataeventtest.js";
|
|
528
532
|
export * from "./webhookdatainvoicecreated.js";
|
|
529
533
|
export * from "./webhookdatainvoiceupdated.js";
|
|
530
534
|
export * from "./webhookdatanetworkidupdated.js";
|
|
@@ -77,6 +77,7 @@ export type IssuedCard = {
|
|
|
77
77
|
* @remarks
|
|
78
78
|
*
|
|
79
79
|
* - `active`: The card is operational and can approve authorizations.
|
|
80
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
80
81
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
81
82
|
*/
|
|
82
83
|
state: IssuedCardState;
|
|
@@ -84,6 +85,9 @@ export type IssuedCard = {
|
|
|
84
85
|
* Specifies the type of spend card to be issued. Presently supports virtual only, providing a digital number without a physical card.
|
|
85
86
|
*/
|
|
86
87
|
formFactor: IssuedCardFormFactor;
|
|
88
|
+
/**
|
|
89
|
+
* Mutable spend controls for the card.
|
|
90
|
+
*/
|
|
87
91
|
controls?: IssuingControls | undefined;
|
|
88
92
|
createdOn: Date;
|
|
89
93
|
updatedOn: Date;
|
|
@@ -26,6 +26,10 @@ import {
|
|
|
26
26
|
export type IssuedCardAuthorization = {
|
|
27
27
|
authorizationID: string;
|
|
28
28
|
issuedCardID: string;
|
|
29
|
+
/**
|
|
30
|
+
* Last four digits of the card number. Omitted for authorizations recorded before this was captured.
|
|
31
|
+
*/
|
|
32
|
+
lastFourCardNumber?: string | undefined;
|
|
29
33
|
fundingWalletID: string;
|
|
30
34
|
/**
|
|
31
35
|
* The name of the network a card transaction is routed through.
|
|
@@ -55,6 +59,7 @@ export const IssuedCardAuthorization$inboundSchema: z.ZodType<
|
|
|
55
59
|
> = z.object({
|
|
56
60
|
authorizationID: z.string(),
|
|
57
61
|
issuedCardID: z.string(),
|
|
62
|
+
lastFourCardNumber: z.string().optional(),
|
|
58
63
|
fundingWalletID: z.string(),
|
|
59
64
|
network: CardIssuingNetwork$inboundSchema,
|
|
60
65
|
authorizedAmount: z.string(),
|
|
@@ -67,6 +72,7 @@ export const IssuedCardAuthorization$inboundSchema: z.ZodType<
|
|
|
67
72
|
export type IssuedCardAuthorization$Outbound = {
|
|
68
73
|
authorizationID: string;
|
|
69
74
|
issuedCardID: string;
|
|
75
|
+
lastFourCardNumber?: string | undefined;
|
|
70
76
|
fundingWalletID: string;
|
|
71
77
|
network: string;
|
|
72
78
|
authorizedAmount: string;
|
|
@@ -84,6 +90,7 @@ export const IssuedCardAuthorization$outboundSchema: z.ZodType<
|
|
|
84
90
|
> = z.object({
|
|
85
91
|
authorizationID: z.string(),
|
|
86
92
|
issuedCardID: z.string(),
|
|
93
|
+
lastFourCardNumber: z.string().optional(),
|
|
87
94
|
fundingWalletID: z.string(),
|
|
88
95
|
network: CardIssuingNetwork$outboundSchema,
|
|
89
96
|
authorizedAmount: z.string(),
|
|
@@ -11,10 +11,12 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
11
11
|
* @remarks
|
|
12
12
|
*
|
|
13
13
|
* - `active`: The card is operational and can approve authorizations.
|
|
14
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
14
15
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
15
16
|
*/
|
|
16
17
|
export const IssuedCardState = {
|
|
17
18
|
Active: "active",
|
|
19
|
+
Frozen: "frozen",
|
|
18
20
|
Closed: "closed",
|
|
19
21
|
} as const;
|
|
20
22
|
/**
|
|
@@ -23,6 +25,7 @@ export const IssuedCardState = {
|
|
|
23
25
|
* @remarks
|
|
24
26
|
*
|
|
25
27
|
* - `active`: The card is operational and can approve authorizations.
|
|
28
|
+
* - `frozen`: The card is temporarily suspended and cannot approve authorizations. A frozen card can be reactivated by setting its state back to `active`.
|
|
26
29
|
* - `closed`: The card is permanently deactivated and cannot approve authorizations. A card can be closed by request or when it expires.
|
|
27
30
|
*/
|
|
28
31
|
export type IssuedCardState = ClosedEnum<typeof IssuedCardState>;
|
|
@@ -16,6 +16,10 @@ import {
|
|
|
16
16
|
export type IssuedCardTransaction = {
|
|
17
17
|
cardTransactionID: string;
|
|
18
18
|
issuedCardID: string;
|
|
19
|
+
/**
|
|
20
|
+
* Last four digits of the card number. Omitted for transactions recorded before this was captured.
|
|
21
|
+
*/
|
|
22
|
+
lastFourCardNumber?: string | undefined;
|
|
19
23
|
fundingWalletID: string;
|
|
20
24
|
/**
|
|
21
25
|
* A decimal-formatted numerical string that represents up to 2 decimal place precision. In USD for example, 12.34 is $12.34 and 0.99 is $0.99.
|
|
@@ -35,6 +39,7 @@ export const IssuedCardTransaction$inboundSchema: z.ZodType<
|
|
|
35
39
|
> = z.object({
|
|
36
40
|
cardTransactionID: z.string(),
|
|
37
41
|
issuedCardID: z.string(),
|
|
42
|
+
lastFourCardNumber: z.string().optional(),
|
|
38
43
|
fundingWalletID: z.string(),
|
|
39
44
|
amount: z.string(),
|
|
40
45
|
authorizationID: z.string().optional(),
|
|
@@ -48,6 +53,7 @@ export const IssuedCardTransaction$inboundSchema: z.ZodType<
|
|
|
48
53
|
export type IssuedCardTransaction$Outbound = {
|
|
49
54
|
cardTransactionID: string;
|
|
50
55
|
issuedCardID: string;
|
|
56
|
+
lastFourCardNumber?: string | undefined;
|
|
51
57
|
fundingWalletID: string;
|
|
52
58
|
amount: string;
|
|
53
59
|
authorizationID?: string | undefined;
|
|
@@ -64,6 +70,7 @@ export const IssuedCardTransaction$outboundSchema: z.ZodType<
|
|
|
64
70
|
> = z.object({
|
|
65
71
|
cardTransactionID: z.string(),
|
|
66
72
|
issuedCardID: z.string(),
|
|
73
|
+
lastFourCardNumber: z.string().optional(),
|
|
67
74
|
fundingWalletID: z.string(),
|
|
68
75
|
amount: z.string(),
|
|
69
76
|
authorizationID: z.string().optional(),
|
|
@@ -13,6 +13,9 @@ import {
|
|
|
13
13
|
IssuingVelocityLimit$outboundSchema,
|
|
14
14
|
} from "./issuingvelocitylimit.js";
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Mutable spend controls for the card.
|
|
18
|
+
*/
|
|
16
19
|
export type IssuingControls = {
|
|
17
20
|
/**
|
|
18
21
|
* Indicates if the card is single-use. If true, the card closes after the first authorization.
|
|
@@ -72,11 +72,19 @@ export type PartnerPricingAgreement = {
|
|
|
72
72
|
*/
|
|
73
73
|
monthlyPlatformFee: MonthlyPlatformFee;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* The agreement this one replaced. Only set when the agreement was created by replacing another.
|
|
76
|
+
*/
|
|
77
|
+
priorAgreementID?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* The date and time the prior agreement was terminated.
|
|
80
|
+
*/
|
|
81
|
+
priorAgreementTerminatedOn?: Date | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* The decimal-formatted numerical string of the revenue split for partner.
|
|
76
84
|
*
|
|
77
85
|
* @remarks
|
|
78
86
|
*
|
|
79
|
-
*
|
|
87
|
+
* For example, 2.25% is '2.25'.
|
|
80
88
|
*/
|
|
81
89
|
revenueShare: string;
|
|
82
90
|
};
|
|
@@ -98,6 +106,10 @@ export const PartnerPricingAgreement$inboundSchema: z.ZodType<
|
|
|
98
106
|
billableFees: z.array(BillableFee$inboundSchema),
|
|
99
107
|
minimumCommitment: MinimumCommitment$inboundSchema,
|
|
100
108
|
monthlyPlatformFee: MonthlyPlatformFee$inboundSchema,
|
|
109
|
+
priorAgreementID: z.string().optional(),
|
|
110
|
+
priorAgreementTerminatedOn: z.string().datetime({ offset: true }).transform(
|
|
111
|
+
v => new Date(v)
|
|
112
|
+
).optional(),
|
|
101
113
|
revenueShare: z.string(),
|
|
102
114
|
});
|
|
103
115
|
/** @internal */
|
|
@@ -113,6 +125,8 @@ export type PartnerPricingAgreement$Outbound = {
|
|
|
113
125
|
billableFees: Array<BillableFee$Outbound>;
|
|
114
126
|
minimumCommitment: MinimumCommitment$Outbound;
|
|
115
127
|
monthlyPlatformFee: MonthlyPlatformFee$Outbound;
|
|
128
|
+
priorAgreementID?: string | undefined;
|
|
129
|
+
priorAgreementTerminatedOn?: string | undefined;
|
|
116
130
|
revenueShare: string;
|
|
117
131
|
};
|
|
118
132
|
|
|
@@ -133,6 +147,9 @@ export const PartnerPricingAgreement$outboundSchema: z.ZodType<
|
|
|
133
147
|
billableFees: z.array(BillableFee$outboundSchema),
|
|
134
148
|
minimumCommitment: MinimumCommitment$outboundSchema,
|
|
135
149
|
monthlyPlatformFee: MonthlyPlatformFee$outboundSchema,
|
|
150
|
+
priorAgreementID: z.string().optional(),
|
|
151
|
+
priorAgreementTerminatedOn: z.date().transform(v => v.toISOString())
|
|
152
|
+
.optional(),
|
|
136
153
|
revenueShare: z.string(),
|
|
137
154
|
});
|
|
138
155
|
|
|
@@ -129,6 +129,9 @@ export type PaymentLink = {
|
|
|
129
129
|
* Options for payment links used to collect payment.
|
|
130
130
|
*/
|
|
131
131
|
payment?: PaymentLinkPaymentDetails | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* Options for payout links used to send a payout.
|
|
134
|
+
*/
|
|
132
135
|
payout?: PaymentLinkPayoutDetails | undefined;
|
|
133
136
|
/**
|
|
134
137
|
* An optional collection of line items for a payment link.
|
|
@@ -18,6 +18,9 @@ import {
|
|
|
18
18
|
PayoutRecipient$outboundSchema,
|
|
19
19
|
} from "./payoutrecipient.js";
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Options for payout links used to send a payout.
|
|
23
|
+
*/
|
|
21
24
|
export type PaymentLinkPayoutDetails = {
|
|
22
25
|
/**
|
|
23
26
|
* A list of payment methods that should be supported for this payment link.
|
|
@@ -18,6 +18,9 @@ import {
|
|
|
18
18
|
PayoutRecipient$outboundSchema,
|
|
19
19
|
} from "./payoutrecipient.js";
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Options for payout links used to send a payout.
|
|
23
|
+
*/
|
|
21
24
|
export type PaymentLinkPayoutDetailsUpdate = {
|
|
22
25
|
/**
|
|
23
26
|
* A list of payment methods that should be supported for this payment link.
|
|
@@ -21,6 +21,7 @@ export type PaymentMethodsWallet = {
|
|
|
21
21
|
* @remarks
|
|
22
22
|
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
23
23
|
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
24
|
+
* - `card-issuing`: The system-generated wallet automatically created when an account is granted the card-issuing capability.
|
|
24
25
|
*/
|
|
25
26
|
walletType: WalletType;
|
|
26
27
|
};
|
|
@@ -143,6 +143,20 @@ export const RequirementID = {
|
|
|
143
143
|
"underwriting.sendFunds.pushToCard.fulfillment",
|
|
144
144
|
UnderwritingSendFundsPushToCardRefundPolicy:
|
|
145
145
|
"underwriting.sendFunds.pushToCard.refundPolicy",
|
|
146
|
+
UnderwritingSendFundsInstantBankCardAcceptanceMethods:
|
|
147
|
+
"underwriting.sendFunds.instantBank.cardAcceptanceMethods",
|
|
148
|
+
UnderwritingSendFundsInstantBankCurrentlyAcceptsCards:
|
|
149
|
+
"underwriting.sendFunds.instantBank.currentlyAcceptsCards",
|
|
150
|
+
UnderwritingSendFundsInstantBankEstimatedActivityAverageTransactionAmount:
|
|
151
|
+
"underwriting.sendFunds.instantBank.estimatedActivity.averageTransactionAmount",
|
|
152
|
+
UnderwritingSendFundsInstantBankEstimatedActivityMaximumTransactionAmount:
|
|
153
|
+
"underwriting.sendFunds.instantBank.estimatedActivity.maximumTransactionAmount",
|
|
154
|
+
UnderwritingSendFundsInstantBankEstimatedActivityMonthlyVolumeRange:
|
|
155
|
+
"underwriting.sendFunds.instantBank.estimatedActivity.monthlyVolumeRange",
|
|
156
|
+
UnderwritingSendFundsInstantBankFulfillment:
|
|
157
|
+
"underwriting.sendFunds.instantBank.fulfillment",
|
|
158
|
+
UnderwritingSendFundsInstantBankRefundPolicy:
|
|
159
|
+
"underwriting.sendFunds.instantBank.refundPolicy",
|
|
146
160
|
UnderwritingMoneyTransferPullFromCardCardAcceptanceMethods:
|
|
147
161
|
"underwriting.moneyTransfer.pullFromCard.cardAcceptanceMethods",
|
|
148
162
|
UnderwritingMoneyTransferPullFromCardCurrentlyAcceptsCards:
|
|
@@ -18,6 +18,12 @@ import {
|
|
|
18
18
|
ACHFees$Outbound,
|
|
19
19
|
ACHFees$outboundSchema,
|
|
20
20
|
} from "./achfees.js";
|
|
21
|
+
import {
|
|
22
|
+
AdjustmentFees,
|
|
23
|
+
AdjustmentFees$inboundSchema,
|
|
24
|
+
AdjustmentFees$Outbound,
|
|
25
|
+
AdjustmentFees$outboundSchema,
|
|
26
|
+
} from "./adjustmentfees.js";
|
|
21
27
|
import {
|
|
22
28
|
BillingSummary,
|
|
23
29
|
BillingSummary$inboundSchema,
|
|
@@ -121,6 +127,10 @@ export type Statement = {
|
|
|
121
127
|
* Monthly partner costs that are charged separately and not included in residual subtotal (e.g. platform fees, minimums).
|
|
122
128
|
*/
|
|
123
129
|
partnerFees?: PartnerFees | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* A detailed breakdown of adjustment (correction) fees by fee name.
|
|
132
|
+
*/
|
|
133
|
+
adjustments?: AdjustmentFees | undefined;
|
|
124
134
|
/**
|
|
125
135
|
* The date and time the statement was created.
|
|
126
136
|
*/
|
|
@@ -156,6 +166,7 @@ export const Statement$inboundSchema: z.ZodType<
|
|
|
156
166
|
accountFees: AccountFees$inboundSchema.optional(),
|
|
157
167
|
otherCardFees: OtherCardFees$inboundSchema.optional(),
|
|
158
168
|
partnerFees: PartnerFees$inboundSchema.optional(),
|
|
169
|
+
adjustments: AdjustmentFees$inboundSchema.optional(),
|
|
159
170
|
createdOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
160
171
|
updatedOn: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
161
172
|
});
|
|
@@ -176,6 +187,7 @@ export type Statement$Outbound = {
|
|
|
176
187
|
accountFees?: AccountFees$Outbound | undefined;
|
|
177
188
|
otherCardFees?: OtherCardFees$Outbound | undefined;
|
|
178
189
|
partnerFees?: PartnerFees$Outbound | undefined;
|
|
190
|
+
adjustments?: AdjustmentFees$Outbound | undefined;
|
|
179
191
|
createdOn: string;
|
|
180
192
|
updatedOn: string;
|
|
181
193
|
};
|
|
@@ -201,6 +213,7 @@ export const Statement$outboundSchema: z.ZodType<
|
|
|
201
213
|
accountFees: AccountFees$outboundSchema.optional(),
|
|
202
214
|
otherCardFees: OtherCardFees$outboundSchema.optional(),
|
|
203
215
|
partnerFees: PartnerFees$outboundSchema.optional(),
|
|
216
|
+
adjustments: AdjustmentFees$outboundSchema.optional(),
|
|
204
217
|
createdOn: z.date().transform(v => v.toISOString()),
|
|
205
218
|
updatedOn: z.date().transform(v => v.toISOString()),
|
|
206
219
|
});
|
|
@@ -26,14 +26,14 @@ export type SweepConfig = {
|
|
|
26
26
|
* The payment method used to push or pull funds to a bank account.
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
29
|
+
* 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.
|
|
30
30
|
*/
|
|
31
31
|
pushPaymentMethod: SweepConfigPaymentMethod;
|
|
32
32
|
/**
|
|
33
33
|
* The payment method used to push or pull funds to a bank account.
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
36
|
+
* 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.
|
|
37
37
|
*/
|
|
38
38
|
pullPaymentMethod: SweepConfigPaymentMethod;
|
|
39
39
|
/**
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
* The payment method used to push or pull funds to a bank account.
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* The push payment method can only be ach-credit-standard, ach-credit-same-day, or
|
|
14
|
+
* 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.
|
|
15
15
|
*/
|
|
16
16
|
export type SweepConfigPaymentMethod = {
|
|
17
17
|
/**
|
|
@@ -48,6 +48,12 @@ import {
|
|
|
48
48
|
MoovFeeDetails$Outbound,
|
|
49
49
|
MoovFeeDetails$outboundSchema,
|
|
50
50
|
} from "./moovfeedetails.js";
|
|
51
|
+
import {
|
|
52
|
+
TransferCapture,
|
|
53
|
+
TransferCapture$inboundSchema,
|
|
54
|
+
TransferCapture$Outbound,
|
|
55
|
+
TransferCapture$outboundSchema,
|
|
56
|
+
} from "./transfercapture.js";
|
|
51
57
|
import {
|
|
52
58
|
TransferDestination,
|
|
53
59
|
TransferDestination$inboundSchema,
|
|
@@ -94,6 +100,14 @@ export type Transfer = {
|
|
|
94
100
|
* Reason for a transfer's failure.
|
|
95
101
|
*/
|
|
96
102
|
failureReason?: TransferFailureReason | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Amount associated with this transfer.
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* In v2026.10 and later, an auth-capture `card-payment` transfer reports the approved authorization amount until a final capture is created.
|
|
108
|
+
* For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
|
|
109
|
+
* For other transfer types, this is the transfer amount.
|
|
110
|
+
*/
|
|
97
111
|
amount: Amount;
|
|
98
112
|
/**
|
|
99
113
|
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
@@ -148,6 +162,10 @@ export type Transfer = {
|
|
|
148
162
|
* When line items are provided, their total plus tax must equal the transfer amount.
|
|
149
163
|
*/
|
|
150
164
|
lineItems?: TransferLineItems | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* The card authorization and capture IDs associated with a transfer.
|
|
167
|
+
*/
|
|
168
|
+
capture?: TransferCapture | undefined;
|
|
151
169
|
};
|
|
152
170
|
|
|
153
171
|
/** @internal */
|
|
@@ -185,6 +203,7 @@ export const Transfer$inboundSchema: z.ZodType<
|
|
|
185
203
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
186
204
|
foreignID: z.string().optional(),
|
|
187
205
|
lineItems: TransferLineItems$inboundSchema.optional(),
|
|
206
|
+
capture: TransferCapture$inboundSchema.optional(),
|
|
188
207
|
});
|
|
189
208
|
/** @internal */
|
|
190
209
|
export type Transfer$Outbound = {
|
|
@@ -216,6 +235,7 @@ export type Transfer$Outbound = {
|
|
|
216
235
|
salesTaxAmount?: Amount$Outbound | undefined;
|
|
217
236
|
foreignID?: string | undefined;
|
|
218
237
|
lineItems?: TransferLineItems$Outbound | undefined;
|
|
238
|
+
capture?: TransferCapture$Outbound | undefined;
|
|
219
239
|
};
|
|
220
240
|
|
|
221
241
|
/** @internal */
|
|
@@ -252,6 +272,7 @@ export const Transfer$outboundSchema: z.ZodType<
|
|
|
252
272
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
253
273
|
foreignID: z.string().optional(),
|
|
254
274
|
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
275
|
+
capture: TransferCapture$outboundSchema.optional(),
|
|
255
276
|
});
|
|
256
277
|
|
|
257
278
|
export function transferToJSON(transfer: Transfer): string {
|