Skip to content
Hightop docs header art
Hightop
Reference

/x402/purchase

POST/v1/agent/x402/purchase

Sign and complete an x402 purchase (`agent:payments:write`)

Requires API-key authentication (agentAuth, agentId).

Request body

urlrequiredstring
methodenum
GET ยท POST
bodystring
max_amountrequiredstring

Response

okrequiredenum
true
paidrequiredboolean
payment_authorizedrequiredboolean
seller_acceptedrequiredboolean
settledrequiredboolean
settlementrequiredobject
operation_idrequiredstring
recoverableboolean