StableOps
API reference

List recent payments for the authenticated payment agent

List recent payments for the authenticated payment agent. Review the StableOps Agent Payments API endpoint, its authentication, request parameters.

GET/v1/agent-payments/runtime/payments

Authorization

agentKey
AuthorizationBearer <token>

Paste the Agent Key bound to one payment agent. Agent Keys only work on Runtime endpoints.

In: header

Query Parameters

limit?number

Response Body

application/json

curl -X GET "https://example.com/v1/agent-payments/runtime/payments"
{
  "data": [
    {
      "intent_id": "string",
      "status": "created",
      "approval_id": "string",
      "approval_expires_at": "2019-08-24T14:15:22Z",
      "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",
      "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
        }
      },
      "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"
    }
  ]
}
Empty

How is this guide?

Last updated