API 参考
查询 Agent 付款列表
查询 Agent 付款列表接口说明。查阅 StableOps Agent Payments 的鉴权范围、路径与请求参数、字段校验、响应结构、环境限制和常见错误处理要求,将该接口安全接入管理后台、Agent 运行时或自动化流程。
GET
/v1/agent-payments/paymentsAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Query Parameters
cursor?string
offset?number
limit?number
status?string
Filter by payment lifecycle status.
resource_status?string
Filter by paid-resource delivery status.
agent_id?string
network?string
origin?string
workflow_id?string
task_id?string
session_id?string
tool_name?string
purpose_code?string
cost_center?string
vendor_ref?string
created_from?string
created_to?string
Response Body
application/json
curl -X GET "https://example.com/v1/agent-payments/payments"{
"data": [
{
"id": "string",
"agent_id": "string",
"agent_name": "string",
"payment_status": "created",
"resource_status": "not_requested",
"method": "GET",
"request_body_hash": "string",
"request_content_type": "string",
"resource_url": "string",
"origin": "string",
"pay_to": "string",
"network": "string",
"asset": "USDC",
"asset_contract": "string",
"asset_decimals": 1,
"max_amount_atomic": "string",
"transaction_hash": "string",
"settlement_block_number": "string",
"settlement_block_hash": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"settled_at": "2019-08-24T14:15:22Z",
"requirements": {
"x402_version": 2,
"scheme": "exact",
"network": "string",
"asset": "string",
"pay_to": "string",
"max_amount_atomic": "string",
"max_timeout_seconds": 1,
"extra": {
"property1": null,
"property2": null
}
},
"policy_version_id": "string",
"approval_expires_at": "2019-08-24T14:15:22Z",
"context": {
"workflow_id": "string",
"task_id": "string",
"session_id": "string",
"tool_name": "string",
"purpose_code": "string",
"cost_center": "string",
"vendor_ref": "string"
},
"context_hash": "string"
}
],
"next_cursor": "string",
"has_more": true,
"total": 0
}Empty
这篇文档怎么样?
最后更新