x402-protected
Get Protected Resource
x402-compliant protected resource endpoint.
Accepts payment proof via either header (compatible with both specs):
-
X-PAYMENT (gateway spec)
-
PAYMENT-SIGNATURE (coinbase/x402 spec, used by AlgoVoi extension)
-
No payment header → HTTP 402 + PAYMENT-REQUIRED header
-
Payment header → verify on-chain → HTTP 200 + body
get/protected/{resource_id}
Request
- Base URL: https://api.algovoi.co.uk (the document declares no server; this is the origin it was published from)
- URL: https://api.algovoi.co.uk/protected/{resource_id}
- Auth: none declared
Path parameters
resource_idstring required
Query parameters
tenant_idstring uuid nullable
Headers
x-paymentstring nullable
PAYMENT-SIGNATUREstring nullable
X-ATB-Credentialstring nullable
X-ATB-ZK-Credentialstring nullable
x-tenant-idstring nullable
authorizationstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.