---
title: "Should the agent sign this x402 payment? Terms against policy, payee against the directory and the server's manifest, price against the record (10 a day keyless)"
method: POST
path: "/api/v1/preflight/x402"
tags: ["Preflight"]
---

# Should the agent sign this x402 payment? Terms against policy, payee against the directory and the server's manifest, price against the record (10 a day keyless)

`POST /api/v1/preflight/x402`

## Request

- Base URL: `https://overwing.ai`
- URL: `https://overwing.ai/api/v1/preflight/x402`
- Auth: one of:
  - none
  - HTTP bearer

## Request body

- object
  - `payment_required` union, required: The PAYMENT-REQUIRED header value (base64) or its decoded JSON
    - string
    - object
  - `requested_url` string, uri
  - `network` string: CAIP-2 network to pay on
  - `policy` object
    - `max_per_call_usd` number
    - `new_payee_max_usd` number
    - `allowed_networks` string[]
    - `allowed_payees` string[]
    - `blocked_payees` string[]
    - `allow_testnets` boolean
    - `max_price_drift` number
  - `fresh_quote` boolean: Also fetch the resource unpaid and compare its quote

## Response `200`

Verdict

- object
  - `decision` 'allow' | 'review' | 'refuse'
  - `reasons` unknown[]
    - unknown
  - `terms` object
  - `payee` object
  - `price` object

## Other responses

- `400`: payment_required missing or unreadable
- `429`: Daily allowance for this address used

---

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