Check an action against a mandate (offline)
kya_check_mandateEvaluates an intended agent action against a KYA mandate and lists every rule result: action, limits, currency, counterparty, payment instrument, validity. Offline; no data sent.
Instructions
Free and offline. Evaluates an intended action against a KYA mandate (the credential's mandate from kya_verify, or one you are drafting) and lists every rule with its result: action, ceilings per operation and per day, currency, counterparty (with *.domain wildcards), payment instrument, validity window. Nothing is sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | What the agent wants to do, lowercase (order, pay, quote, sign, ...). | |
| amount | No | Amount of this operation. | |
| mandate | Yes | A KYA mandate: actions, max_per_operation, max_per_day, currencies, counterparties, payment_instruments, valid_from, valid_until, delegation. | |
| currency | No | BRL, USDC, ... | |
| spent_today | No | What this agent already spent today, if you track it; needed for max_per_day (the issuer keeps no record of acts). | |
| counterparty | No | Your CNPJ, domain or wallet address (the other side of the operation). | |
| payment_network | No | Payment network of this operation: visa, mastercard, elo, pix, ... | |
| payment_ref_sha256 | No | SHA-256 hex of the payment token reference or PAR used, never a card number. |