Check an email, invoice or message that asks you to pay (free)
check_payment_requestCall this before paying because an email, invoice or chat message asked you to. Pass what you received: raw headers if you have them, the From line, subject and body (or body_html), and the payee address if you already extracted one. OceanAlt checks whether the sender is who it claims to be (SPF/DKIM/DMARC results, a display name that names another domain, Reply-To sent elsewhere), whether the sender domain or any link imitates a brand or is a known phishing host, whether the payee address is listed or differs from previous_pay_to, and whether the text pressures the reader, announces changed payment details, or carries instructions aimed at an AI. Returns allow | review | decline with findings. On decline, do not pay from this message; confirm through a channel you already trust. The text is processed in memory and not stored. Free, no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Plain-text body, invoice text or chat message | |
| from | No | The From line, e.g. "Acme Billing" <billing@acme.com> | |
| lang | No | Language for human-readable fields. Defaults to English. | |
| pay_to | No | The payee address the message asks you to pay, if you already extracted it | |
| headers | No | Raw email headers, if available (needed to check SPF/DKIM/DMARC) | |
| network | No | Network of pay_to, e.g. base, ethereum, tron, solana | |
| subject | No | ||
| reply_to | No | The Reply-To line, if any | |
| body_html | No | HTML body, if available (lets OceanAlt compare link text with where links really go) | |
| previous_pay_to | No | The address you paid this requester last time, if any | |
| expected_sender_domain | No | The domain this requester normally sends from, if you know it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | No | ||
| findings | No | ||
| reason_code | No | ||
| signal_keys | No |