Verify token
Token format
Access tokens are HMAC-SHA256 signed payloads:base64url(payload).base64url(signature).
The payload contains:
gate_id— the gate this token was issued forsite_id— the site the gate belongs toexp— expiration timestamp (default: 30 minutes after issuance)
Local verification
Publishers can verify tokens locally without calling the API. The Python SDK provides this:XenarchMiddleware and require_payment decorator) handles this automatically.