Development environment
Integrate against the development base URL while you build:A good end-to-end test
1
Open a session
Call
POST /api/age-verification/session from your server and render the QR / tap-link.2
Present with a verified test wallet
Approve in an AnonAge wallet that has completed sandbox verification, so the session resolves.
3
Assert your callback ran
Confirm your
callback_url received a request, the signature verified, and you recorded the
result. Then confirm polling GET /api/age-verification/session/{id} agrees.4
Test the unhappy paths
A forged/unsigned callback must be rejected (401 on your side); an expired session must not
resolve; a second present on the same session must be ignored.
Roadmap: dedicated test and live API keys. A test key will run against sandbox and never
bill, so you can keep an integration test suite running against your live account safely.
Going live
- Point your base URL at
https://api.anonage.io. - Swap your development key for a production key from the Console.
- Make sure your
callback_urlis publicly reachable over https and verifies signatures.