Gateway compliance decision for a payment (paid, x402 $0.002 or 1 credit)
compliance_decisionGet an allow, review, or decline decision on a proposed payment before releasing funds by combining AML payee screening with agentic payment gate checks.
Instructions
Run OceanAlt's full compliance gateway on a proposed payment and get a DECISION — allow | review | decline — plus advice and verifiable evidence, not just raw data. Combines AML screening of the payee with RAP (Responsible Agentic Payments) gate checks. Use this when an agent needs a go/no-go call before releasing funds. PAID via x402: the first request returns HTTP 402, this server automatically signs one USDC authorization and retries — this moves REAL money and requires OCEANALT_PAYER_KEY. Costs $0.002 in real USDC settled on Base mainnet (eip155:8453). Alternatively set OCEANALT_CREDIT_TOKEN (a credit pack bought at POST https://oceanalt.com/api/x402/credits: $0.10 for 100 decisions); each call then uses one credit and no payment is signed. Always confirm the live network/price at https://oceanalt.com/api/x402 and use a dedicated low-balance payer wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Payee address the agent intends to pay. EVM (0x + 40 hex) or Tron (T + 33 base58). | |
| network | No | EVM chain for the payee (same set as screen_address). Optional; ignored for Tron. | |
| purpose | No | Short free-text note on what the payment is for. Optional (max ~120 chars). | |
| amountUsdc | No | Payment amount in USDC. Optional; used only for record / mandate-limit checks, not required to get a decision. |