Skip to main content
All routes live in horizon-api under /api/v3. Request and response bodies are described on the pages of each step; this page is the index.

Access

Every route also calls authorize with its permission. The permissions of Public, Session, Holder and Seat routes are public in the catalogue because the route itself checks the one-time token or the contract session. API key and Staff permissions, auth:register-contract-restart included, are not in the public allowlist.

Registration

Session and recovery

Wizard

Signing

Review and back office

POST /contract/{id}/payment/return belongs to the previous payment gateway; for an account-holder session it answers 410 payment-return-deprecated. POST /contract/{id}/payment/enrollment-notify is a local-development helper that answers 404 on deployed environments.

Error codes

Business errors carry a stable code in the error message, so the portal can react without parsing text. The response envelope is described in Errors.

API reference

The contracting routes are not part of the generated API Reference tab yet. Until they are, this page is the index, and the step pages describe the bodies.

Code

Paths are relative to backend/horizon-api/.