Pay safe
pay_safeCall this before sending USDC on Arc or Base. One EIP-712 PaySafeVerdict (domain APEX PaySafe, version 1, chainId 5042) covers the payee (Arc poison index, lookalikes, USDC blacklist, OFAC SDN file; Base is the USDC blacklist only and a missing lookalike index is CAUTION), a duplicate of resource+payee+amount+nonce when all three are present, our catalog price, and whether that endpoint has a prior delivered settlement. Verdicts: PASS, CAUTION, DO_NOT_PAY, COULD_NOT_READ. PASS needs every code clean. A missing nonce is CAUTION, not a stop. PayGuard does not read this type. This is not a permission to pay. 20 free a day at /pay-safe, then $0.01. Up to 10 for $0.03 (pass items). 100 prepaid checks for $0.20 are call units, not a USDC balance: pass credit. Hook: /pay-safe/apex-pay-safe.js (onBeforePaymentCreation). It stops only on DO_NOT_PAY, COULD_NOT_READ and a used-up free day. tier=lite is a separate $0.002 call at /api/x402/pay-safe-lite: payee check only. It does not run the duplicate, catalog price or delivery checks, it does not return PASS, and it does not use the free day or a credit. Drop-in examples for Syncly, Vestiarion, Mercenta, Elpis and Circle Gateway: https://apexfaucet.xyz/x402-clients/. Arc builders, including Tameion: https://apexfaucet.xyz/arc-builders/. 20 free full checks a day, then $0.01. Lite stays $0.002.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pay_safe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | full (default, $0.01, every check) or lite ($0.002, payee check only). lite does not return PASS. | |
| chain | No | arc (default) or base | |
| items | No | JSON array of up to 10 checks. 11 is refused whole. | |
| nonce | No | EIP-3009 nonce, 0x and 64 hex. Omit it and the duplicate half is NOT_CHECKED. | |
| payee | No | 0x address that would be paid. Required unless items is set. | |
| payer | No | optional: your paying wallet | |
| amount | No | USDC decimal like 0.01, or atomic units (9000 is $0.009) when resource and nonce are set | |
| credit | No | prepaid pay-safe token. Call units, not a USDC balance. Ignored when tier is lite. | |
| window | No | Seconds for the duplicate half. Default 600. | |
| payment | No | a signed x402 payment (base64, as in PAYMENT-SIGNATURE). Pass it here and the purchase completes inside this tool call. | |
| resource | No | https resource URL. Needed for the price and delivery checks. |