---
title: "Machine-readable payment terms (agentic payments)"
method: GET
path: "/api/pay/quote"
tags: ["payments"]
---

# Machine-readable payment terms (agentic payments)

`GET /api/pay/quote`

## Request

- Base URL: `https://www.flarewatch.io`
- URL: `https://www.flarewatch.io/api/pay/quote`
- Auth: none declared

How agents pay for FlareWatch capacity and paid endpoints. Two rails: deposit USDT0 on Flare (sending wallet is credited never-expiring compute units) and per-request x402 via EIP-3009 ReceiveWithAuthorization sent in a PAYMENT-SIGNATURE (x402 v2) or X-PAYMENT (v1) header. Unpaid requests answer 402 with x402Version and a root-level accepts[] in the body, plus v2 requirements base64-encoded in the PAYMENT-REQUIRED header, so standard x402 client libraries work without adaptation. Also served at /.well-known/x402.

## Response `200`

Payment terms: accepts[] (schemes), paid_endpoints[] catalog, balance_url.

- PaymentTerms: Machine-readable terms for both rails, also served at /.well-known/x402.
  - `version` integer
  - `provisioned` boolean
  - `accepts` object[]
  - `paid_endpoints` object[]
    - `path` string
    - `price_micro_usd` integer
    - `description` string
  - `policy` object: Refund and pricing policy. Payments are final; this is stated up front rather than discovered.
  - `balance_url` string
  - `docs_url` string

## Other responses

- `429`: Rate limited — structured error + RateLimit headers.

---

[API](https://skmtc.dev/flarewatch/apis/flarewatch-public-api.md) · [All operations](https://skmtc.dev/flarewatch/apis/flarewatch-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flarewatch/apis/flarewatch-public-api/revisions/890e7013afdb?raw)
