Economic Authorization
Economic authorization status.
Dedicated economic connector helpers are not part of the current local TypeScript SDK.
For production use today, model payment, refund, transfer, and spend controls as normal Guard policies and Charter-compiled rules over registered tool parameters.
await veto.registerTools([
{
name: "send_payment",
parameters: [
{ name: "amount_usd", type: "number", required: true },
{ name: "recipient", type: "string", required: true },
],
},
]);
await fetch("https://api.veto.so/v1/charter/turn", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Veto-API-Key": process.env.VETO_API_KEY!,
},
body: JSON.stringify({
message: "Payments over $5,000 require finance approval.",
mode: "compile",
surface: "api",
}),
});
