API reference Agents
Stop all agents
POST/v1/agents/stop
The kill switch. Keelson refuses every countersign of a mandate of yours stored before now, revokes every live mandate and voids its PayPal holds, denies every open request, revokes every agent's OAuth grant, and logs the stop as a keelson.finance/stop/v1 leaf in the Alibi log. Purchases already countersigned may still be captured.
Headers
idempotency-keystringRequiredIdempotency-KeystringRequired- 1 to 255 characters. A retry with the same key returns the first answer.
Responses
- 200Stopped
- 401Not signed in
200 response
idstringRequiredrevokedintegerRequired- Mandates ended.
releasedarray of objectRequired- What PayPal held for them, per currency, now released.
mandateHashesarray of stringRequired- Hex of the stopped mandates' hashes. The stop leaf commits to their digest: no Alibi leaf after it may carry one.
releasingarray of objectRequired- Holds backing purchases already countersigned: released once those are captured.
logIndexesobjectRequired- The stop leaf's index in each Alibi log origin. It is appended once no purchase of the stopped mandates can still be logged, so no Alibi leaf after it carries one of their hashes.
loggedbooleanRequiredcreatedAtstringRequired