Skerry/ Reference/ Your mandates
Your mandates11
What a person lets an agent of theirs spend, set down before the agent acts: the agent, the purpose, the most in all and at one time, what kinds of thing and where, and until when. The agent carries the mandate as a token signed with the platform's key. Whoever is to be paid checks it, sees what is left, and records what was spent; the person sees all of it and can end a mandate at once. Modelled on the Agent Payments Protocol's intent mandate; Skerry's own format for now.
- The person's mandates, newest first, each with what was spent and what is leftget/personal/mandates
- Make a mandate for an agentpost/personal/mandates
- One mandateget/personal/mandates/{id}
- End a mandate now. Its token stops being accepteddelete/personal/mandates/{id}
- What was spent against a mandate: how much, where, whenget/personal/mandates/{id}/uses
- The token for a mandate still in force, to hand to the agent againpost/personal/mandates/{id}/token
- Public, for whoever is to be paidpost/personal-mandates/verify
- The owner's, with the draw keyget/draws/{slug}/entries
- Public, from skerry.xyzpost/draws/{slug}/entries
- Publicget/draws/{slug}
- The owner's, with the draw keypost/draws/{slug}/redraw