curl https://xenarch.dev/v1/gates/7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b
{
"gate_id": "7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b",
"status": "pending",
"price_usd": "0.003",
"created_at": "2026-04-10T14:30:00Z",
"paid_at": null
}
Gates
Get Gate Status
Check the status of an x402 payment gate — verify if payment required, received, or an access token has already been issued for this gate.
GET
/
v1
/
gates
/
{gate_id}
curl https://xenarch.dev/v1/gates/7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b
{
"gate_id": "7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b",
"status": "pending",
"price_usd": "0.003",
"created_at": "2026-04-10T14:30:00Z",
"paid_at": null
}
curl https://xenarch.dev/v1/gates/7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b
{
"gate_id": "7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b",
"status": "pending",
"price_usd": "0.003",
"created_at": "2026-04-10T14:30:00Z",
"paid_at": null
}
Notes
- Public endpoint — no authentication required (gate IDs are UUIDs, unguessable)
- Status values:
pending,paid,expired - Expired gates return status
expired(auto-detected whenexpires_athas passed)