x402 and Hilt Pay API
HTTP 402 payments that turn into real access.
x402 gives agents and APIs a standard way to say payment is required. Hilt Pay API turns that requirement into the full operating record: payment session, proof, Solana USDC settlement, receipt, entitlement, webhook, support context, and audit trail.
Protocol flow
x402 gives agents the payment requirement.
HTTP 402 response: machine-readable payment requirement
Launch settlement path: Solana USDC
Hilt: proof, receipt, entitlement, webhook, support, audit
Protected-resource loop
The API says payment required. Hilt makes the result operational.
01
Agent requests resource
An agent or backend calls a protected endpoint such as /ai/pro or /v1/private-data.
02
Server returns HTTP 402
If unpaid, the merchant backend returns a Hilt-created x402 requirement with the amount, product, and settlement details.
03
Buyer pays on-chain
At public launch, Hilt uses x402 payment requirements with Solana USDC settlement.
04
Hilt verifies and records
Hilt verifies settlement, issues receipt state, records proof, and activates the entitlement when the evidence binds correctly.
05
Product unlocks
The backend checks entitlement, serves the resource, and receives signed webhook and audit context for operations.
x402 is the payment-required protocol
It gives agents a machine-readable way to understand what must be paid before an API, dataset, bot, or private tool responds.
Settlement is still a rail decision
For Hilt Pay API public launch, the live settlement claim is Solana USDC. Base, selected EVM chains, and USDT remain production-gated until announced.
Hilt is the operating layer
The valuable part is not only the payment requirement. It is the receipt, entitlement, webhook, support trail, analytics, and audit record after payment.
Copyable shape
A clean 402 response for agents.
The response gives agents the exact payment requirement and the launch settlement details in one machine-readable shape.
HTTP/1.1 402 Payment Required
{
"payment_protocol": "x402",
"settlement_rail": "solana_usdc",
"payment_session": "aps_...",
"payment_requirement": {
"amount": "9.00",
"asset": "USDC",
"network": "solana",
"resource": "/ai/pro"
}
}