curl https://api.xenarch.dev/v1/gates/7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b
{
"gate_id": "7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b",
"status": "pending",
"price_usd": "0.0030",
"created_at": "2026-11-17T15:00:00Z",
"paid_at": null
}
Gates
Get Gate Status
Check whether an x402 payment gate is pending, paid or expired, with its price and payment time.
GET
/
v1
/
gates
/
{gate_id}
curl https://api.xenarch.dev/v1/gates/7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b
{
"gate_id": "7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b",
"status": "pending",
"price_usd": "0.0030",
"created_at": "2026-11-17T15:00:00Z",
"paid_at": null
}
curl https://api.xenarch.dev/v1/gates/7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b
{
"gate_id": "7f3a1b2c-9d4e-4a8b-b6f1-2c3d4e5f6a7b",
"status": "pending",
"price_usd": "0.0030",
"created_at": "2026-11-17T15:00:00Z",
"paid_at": null
}
Notes
- Public endpoint. No authentication is required. Gate IDs are random UUIDs.
- Status values:
pending,paid,expired. - A pending gate past its 30-minute window is reported as
expired.