agent
Register an agent key (optional)
Optional. Issues a key that identifies the agent; quotes made with it use the agent fee shown in GET /agent/key and swapper://trust, and so do the orders created from them. Body { agent (self-declared name, required), contact?, purpose? }: stored and shown to the operator (data retention: /privacy). Returns data.agentKey (shown once; only its SHA-256 is stored), data.keyId, data.feePercent and data.standardFeePercent. Send the key as the x-agent-key header (or agentKey) on POST /agent/swap/quote. A key grants no other access.
post/agent/key
Request
- Base URL: https://xmrtousdc.xyz/api/v1
- URL: https://xmrtousdc.xyz/api/v1/agent/key
- Auth: none declared
Request body
Response
Key issued
Changes
No recorded changes to this operation across all 1 revision of this API.