Authorization API

A small HTTP API for evaluating an AMP authorization request. The response body is always JSON with a boolean result and a validation error when applicable.

Download OpenAPI 3.0
GET/issuerauthorizer

Health-style endpoint. Returns error.

POST/issuerauthorizer

Validate a signed AMP request. Send JSON with a message and base64 signature.

{ "message": { "server_result": true, "request": { "asset_id": "…", "inputs": [], "outputs": [], "tx_hex": "…", "uuid": "…" } }, "signature": "base64…" }

Success response:

{ "result": true, "error": "" }

Failed validation:

{ "result": false, "error": "invalid signature" }
GET/stats/ws

WebSocket stream for the live stats dashboard. Emits a complete statistics snapshot on connect and after each authorization request.