Plans
POST/v1/plans/{plan_id}/cancel
Cancel plan
curl -X POST "https://api.52-28-238-205.sslip.io/v1/plans/{plan_id}/cancel" \ -H "Cookie: <console session cookie>"Cancels a pending or active plan: scheduled pulls are skipped, the remaining reserved budget is released and the on-chain permission is revoked. Requires budget:edit.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/plans/{plan_id}/cancelBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
plan_idstringrequiredPlan id (pln_...).
Requires permissionbudget:edit
Held by
owner, admin, finance, operator. The caller must hold this permission, or the call is refused with 403.cookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
plan_id*Plan IdPlan id (pln_...).
Success.
application/json- response
plan*payments*array<>released_base_units?string|nullrevoke_tx?string|null[key: string]?anyGETGet plan
Returns one plan with its terms, schedule and payments. Callable with a console session or an API key holding payment:read.
POSTComplete plan wallet step
Funds the owner's plans account and creates the on-chain permission the scheduled pulls draw from, after the plan was approved. Requires delegation:sign; returns the plan unchanged when the step is not needed.