Skip to main content
Three lifecycle actions change a mandate’s status. Each is a POST to the mandate by id, takes no body (dashboard callers pass dashboard_user_id), and returns the updated mandate. POST /v1/mandates/{id}/pause · /resume · /cancel — control-plane operations.

Endpoints

Path parameters

string
required
The mandate id.

Response

Returns the updated mandate object (see List Mandates).

Notes

  • Legal transitions only: pause from active, resume from paused, cancel from active or paused. Any other transition returns 409 MANDATE_INVALID_TRANSITION.
  • cancel is terminal and local to Prava — it revokes the authorization so no further charges can be minted. Past charges are unaffected.
  • Only the mandate’s owner can act on it — a mismatched caller gets 403 MANDATE_FORBIDDEN.
  • The same actions are available to owners in the dashboard at pay.prava.space and to agents via prava mandate cancel / the MCP tools.

Error responses