SENTINEL Docs

Payments API

Query and export payment records.

Query payment and audit records from the Sentinel API. Used by the dashboard when configured with apiKey and baseUrl.

List Payments

GET /api/v1/payments

Query Parameters

ParamTypeDescription
agent_idstringFilter by agent external ID
categorystringFilter by category
networkstringFilter by network (e.g., eip155:8453)
statusstringFilter by status
fromstringStart time (ISO or unix ms)
tostringEnd time
min_amountnumberMinimum amount in USD
max_amountnumberMaximum amount in USD
cursorstringPagination cursor
limitnumberMax results (default 50, max 200)
sortstringtimestamp_desc | timestamp_asc | amount_usd_desc | amount_usd_asc

Response

{
  "data": [
    {
      "id": "...",
      "agent_external_id": "agent-1",
      "amount_usd": 0.5,
      "endpoint_domain": "api.example.com",
      "tx_hash": "0x...",
      "status": "settled",
      "created_at": "2024-02-22T12:00:00Z"
    }
  ],
  "next_cursor": "1700000000000",
  "total": 42
}

Get Payment by ID

GET /api/v1/payments/:id

Returns a single payment record or 404.

CSV Export

GET /api/v1/payments/export?format=csv&from=...&to=...

Export payments as CSV for compliance reviews.

curl Example

curl -H "Authorization: Bearer val_xxx" \
  "https://api.valeo.money/v1/payments?agent_id=agent-1&limit=50"