Guides Reference

Pass-through metadata (optional)

Attach an opaque string to a verification so your backend can correlate the result with whatever context you need — an order reference, a build tag, an internal flow label. AgeWallet does not parse, validate, or interpret the value.

Sending

Include metadata as a query parameter on /authorize, URL-encoded as you would any other parameter.

https://app.agewallet.io/user/authorize?...&metadata=order%3AXYZ-42

Reading it back

The /userinfo response returns the same string under metadata, present only when a value was sent.

Do not use metadata to decide what to update

If your callback reads metadata and marks that order as age-verified, a user can change the reference and apply their verification to a different order. Metadata is a correlation convenience, not a trusted channel.

The safe pattern is to key the association on state instead, which you generate, store server-side, and validate on return:

Use metadata for what it is good at — tagging requests so they are easy to find in logs and support conversations.

Limits

LimitValue
Maximum size4096 UTF-8 bytes
Over the limitRejected with 400

Last updated July 28, 2026

Was this page helpful?