HTTP API
Base DREGG: https://dregg-svg.permissionless.money
Base onboard: https://hash.terp.network
DREGG
| Method | Path | Pay? |
|---|---|---|
| GET | /health | only if checkout_ready |
| GET | /v1/prices | amounts only |
| GET | /v1/pay-targets?recipient=terp1… | must be HTTP 200 |
| GET | /v1/query/paid?recipient=&c= | onboard uses this (loopback) |
health stays HTTP 200 when closed (ok: false, reasons: [...]) so the sidecar can boot before funds.
Onboard
| Method | Path | Notes |
|---|---|---|
| GET | /onboard/status or /status | ready, fee_granter, passkey_grant |
| POST | /onboard/v1/passkey-grant | {address,c} — 402 without paid c |
| POST | /onboard/v1/mint-grant | 404 |
Chain: https://rpc.terp.network (CometBFT JSON-RPC) and https://api.terp.network (LCD). CORS for browser POST is an origin concern; the desk uses those hosts directly.