API 参考
Report an x402 request result for reconciliation
POST
/v1/agent-payments/runtime/intents/{intentId}/resultAuthorization
agentKey AuthorizationBearer <token>
Paste the Agent Key bound to one payment agent. Agent Keys only work on Runtime endpoints.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/agent-payments/runtime/intents/{intentId}/result" \ -H "Content-Type: application/json" \ -d '{ "authorization_id": "string", "request_outcome": "response_received", "reported_at": "2019-08-24T14:15:22Z" }'{
"receipt_id": "string",
"payment_status": "created",
"resource_status": "not_requested"
}Empty
这篇文档怎么样?
最后更新