Axiv PayDeveloper resources
Public catalog

x402 pay-per-call

Read pricing and authorization terms from a paid resource’s HTTP 402 response.

UnconnectedHTTP 402 · PAYMENT-REQUIREDv2

Coverage and payment flow

Chains and assets describe catalog coverage. Verify live quotes and settlement support before paying with Axiv Pay.

Chain
Base
Assets
USDC
Audience
Merchant · AI agent
Verified
Unverified
  1. Request the resource
  2. Parse the 402 challenge
  3. Approve terms and sign
  4. Retry with payment signature

Quickstart and examples

HUB_ORIGIN=https://pay.axiv.cc

Quickstart

curl -fsS "$HUB_ORIGIN/api/v1/example/x402-pay-per-call"

Example request

{
  "method": "GET",
  "resource": "<paid-resource-url>"
}

Example response

{
  "status": 402,
  "headers": {
    "PAYMENT-REQUIRED": "<base64-encoded requirements>"
  },
  "x402Version": 2
}
Related docs