# Anafi Mandates: Non-Custodial Recurring Stablecoin Payments

> Recurring stablecoin payments your users sign once in their own wallets: autopay, direct debit, subscriptions, bank payouts. Reviewed by Hexens.

URL: https://ana.fi/products/mandates/

## Anafi Mandates: Non-custodial recurring stablecoin payments.

Delegations with minimum trust. Your users sign a rule once. The engine pays each time its condition is met, inside the limits they signed.

[Start in sandbox](https://portal.ana.fi/) [Talk to Us](https://ana.fi/talk/)

### Sign once. It runs.

Your user sets a rule in your app and signs one transaction. After that, the engine pays each time the condition is met.

#### Part 1 Your app builds the rule

Your app builds the rule from a form, through the API. The user reads it as one sentence. Your app holds no key and no funds, so a breach of your app cannot move a user’s money.

#### Part 2 Anafi engine checks it, signs each payment

The engine runs inside an Intel TDX hardware enclave and holds one signing key, which the Anafi team cannot read or use. Before the user signs, it checks the rule and approves its exact hash. Then it watches the chain and signs one payment each time the condition is met. It can sign nothing the rule does not allow.

#### Part 3 User's wallet signs once, holds the funds

The user signs one transaction from their own wallet. It records only the rule’s hash on chain. The funds stay in the wallet until a payment runs, and the wallet accepts a payment only with a valid engine signature that has not expired and has not been used before.

#### Part 4 Payees integrate nothing

Only the destinations written in the rule. A payee integrates nothing: it receives a transfer, or a bank payment with a reference through a licensed partner.

On chain: the rule’s hash, then one nonce per payment.

### The rule your user signs.

Your app builds it from a form. The user reads one sentence and signs. The rules are private and verifiable onchain.

#### On a date On the 5th of each month, pay the utility bill: 80 USDC, until the end of 2027.

```
global:
  token_allowlist: [USDC]
  recipient_allowlist: ["$utility"]
rules:
  pay_bill:
    trigger:
      type: calendar
      day_of_month: [5]
      time_of_day: "09:00"
    actions:
      - { type: send_one, to: "$utility", value: "80 USDC" }
    expiry: "2027-12-31T23:59:59Z"
```

#### On an incoming payment Each time pay arrives from the employer, half goes to savings and a fifth to the bills account. The rest stays.

```
global:
  recipient_allowlist: ["$savings", "$bills"]
rules:
  split_income:
    trigger: { type: incoming_tx, from: "$employer" }
    actions:
      - type: send_batch
        recipients:
          - { to: "$savings", value: "trigger.value * 50%" }
          - { to: "$bills", value: "trigger.value * 20%" }
```

#### A swap Every Monday, swap 50 USDC for WETH. The asset stays in the user’s wallet.

```
global:
  token_allowlist: [USDC, WETH]
rules:
  weekly_buy:
    trigger:
      type: calendar
      day_of_week: ["mon"]
      time_of_day: "09:00"
    actions:
      - { type: exchange, in: "50 USDC", out: WETH }
```

#### A bank payout On the 5th, a licensed partner converts 80 USDC and pays it into the biller’s bank account, with a reference.

```
global:
  iban_allowlist: ["$utility_iban"]
rules:
  bill_to_bank:
    trigger:
      type: calendar
      day_of_month: [5]
      time_of_day: "09:00"
    actions:
      - type: off_ramp
        to: { iban: "$utility_iban", company_name: "Utility", country: DE }
        value: "80 USDC"
        memo: "Invoice 2041"
```

- **Fires on:** A date, a fixed time or an interval. An incoming payment, by sender and amount. A pull request from a biller.
- **Does:** Send to one payee. Send to several, all or nothing. Swap one token for another. Pay out to a bank account.
- **Bounded by:** Listed payees and tokens. The amount written in the rule. A start date and an end date.

Sample rules. A rule is encrypted on the user’s device.

[Try it in the playground](https://portal.ana.fi/)

### Outside the rule, nothing moves.

The engine signs only what the user’s rule allows. The wallet accepts only what the engine signed, once.

MANDATE · signed by the user

payee $utility

amount 80 USDC

when 5th of each month

until 31 Dec 2027

The rule fires on the 5th · 80 USDC to the listed payee Allow

Inside the rule. Signed and sent.

Your app is breached · It asks for 5,000 USDC to a new address Refused

Refused: not in the rule the user signed.

Your app asks to pay early · 80 USDC, before the 5th Refused

Refused: only the rule’s own trigger starts a payment.

Someone edits the rule · A new amount, with no signature from the user Refused

Refused: its hash is not the one the user signed.

- **The most this rule can move:** 80 USDC a month, to one payee, until 31 Dec 2027.

Every decision is recorded, in order.

### When something goes wrong.

Four parties, and only one of them can sign a payment. It signs what the rule allows, and nothing else.

What if

#### Anafi goes offline

Nothing fires, and the funds stay in the user’s wallet. Missed payments run once, late, when the engine is back.

#### Your app is breached

Your app holds no key. A payment needs the engine’s signature, and the engine signs only what the user’s rule allows.

#### Anafi is asked for data

We can only hand over what we hold: wallet addresses and execution logs. Rules are encrypted. KYC stays with the licensed partner.

#### A rule is wrong

The engine checks each rule before the user signs it: syntax, amounts, payees. A rule it has not approved cannot be committed.

#### The user wants out

One transaction from the user’s own wallet revokes the mandate. Nobody’s permission is needed, and it takes effect once confirmed.

- **Your user:** Can: set, edit, revoke. Holds: the wallet key.
- **Your app:** Can: build and show the rule. Holds: no key, no funds.
- **Anafi engine:** Can: sign what the rule allows. Holds: one key, sealed inside.
- **User's wallet:** Checks: signature, expiry, nonce. Holds: the funds.

### Don't trust it. Check it.

Four things you can verify yourself, without asking us, and who has reviewed the code.

#### Check 1 Attested engine proves which code holds the key

The engine runs in an Intel TDX enclave. Its attestation is published on chain and bound to an exact, reproducible build, and our verifier checks it with only an RPC node. The Anafi team cannot read inside the enclave or use its key.

#### Check 2 Rule hash proves what the user signed

A rule is encrypted on the user’s device. On chain there is only its hash, and every payment can be checked against it. The rule itself stays private.

#### Check 3 Signed heartbeat proves nothing was skipped

Every 30 minutes the engine signs a heartbeat that records the block it has processed to. The attested code reads every block in order, so a valid heartbeat shows every rule was evaluated up to that block. If it stops, anyone can see it.

#### Check 4 One nonce per payment proves nothing ran twice

Each payment carries a unique on-chain nonce and an expiry. The wallet refuses a second execution, even after a retry, a restart or a reorg, and a late signature is worth nothing.

Full-scope security review by Hexens, August to October 2026. Penetration test by Hakira.

### What you can ship.

The same signed rule sits behind each of them.

#### Autopay

Bills on a date, from the user’s own wallet. Stablecoins leave the wallet, a licensed partner converts them, and the biller receives a bank transfer with a reference. The biller integrates nothing.

#### On/off-ramp

Money moves between a bank account and a wallet on a rule, through licensed partners. KYC and bank details stay with the partner.

#### Direct Debit

A biller pulls, inside a limit the payer set for that biller. The payer gets a notice before every pull and can cancel in one step.

#### Subscriptions

A payment widget for recurring charges: the customer signs once at checkout, and each period is charged inside the limit they signed.

#### Adviser trading

The client signs the assets, the venues, a limit per trade and an end date. The adviser instructs trades and holds no key. Everything else is refused.

### What you build. What you skip.

You build the screen your user sees. The engine is the scheduler, the retries and the proof.

Instead of

#### Session keys

They give you the permission. You still need the scheduler, retries, bank payouts and proof that nothing was skipped.

#### Automation networks

They run transactions. They do not pay a bank account with a reference.

#### Subscription APIs

They need the merchant to integrate. Here the biller integrates nothing.

- **You build:** A form that fills in a rule. A sign step in the user’s own wallet. An activity view, with a revoke button.
- **The engine runs:** The scheduler. Retries. Bank payouts, through licensed partners. Proof that nothing was skipped.
- **Rails:** Your off-ramp and virtual accounts, or ours.
- **Hosting:** Our engine, co-hosted, or yours.

### Sandbox. Playground. Live.

Try the flow your users will see, read the rule it makes, then switch it on.

#### Step 1 Sandbox Test funds, sample data

Create a project in the business portal and choose "For my users". It starts in a sandbox, with test funds and sample data. Nothing real moves.

#### Step 2 Playground The flow your user sees

Walk through the flow as one of your users: pick what fires the rule and what it does, then sign. Beside it you read the rule it produces.

#### Step 3 Live Your users sign

Your users sign in their own wallets. Every payment is recorded, and a user can pause, edit or revoke with one transaction.

- **Chains:** Ethereum · Polygon · X Layer · Solana (devnet)
- **Accounts:** Safe · MPC · ERC-4337 · EIP-7702 · Permit2
- **Build with:** SDK, API and the rule language
- **Contact:** hi@ana.fi

Anafi Mandates: non-custodial recurring stablecoin payments

### FAQ: Questions about Anafi Mandates.

#### What is Anafi Mandates?

Anafi Mandates lets a wallet, a neobank or a payment provider offer recurring stablecoin payments that its users sign once in their own wallets. The Anafi engine pays each time the rule's condition is met, inside the limits the user signed. Your app holds no key and no funds.

#### How do we add recurring stablecoin payments to our wallet or app?

With an SDK, an API and a rule language. Your app builds the rule from a form, the user signs once in their own wallet, and only the hash of the rule goes on chain. The engine then signs each payment the rule allows. Start in the [portal](https://portal.ana.fi/) sandbox, or [talk to us](https://ana.fi/talk/).

#### Which payments can our users set up?

[Autopay](https://ana.fi/use-cases/autopay/) and standing orders, [direct debit](https://ana.fi/use-cases/direct-debit/) pull payments, [subscriptions](https://ana.fi/use-cases/subscriptions/), a [recurring off-ramp](https://ana.fi/use-cases/recurring-off-ramp/) to their own bank account and [bill pay](https://ana.fi/use-cases/bill-pay/). Autopay is live. Direct debit pull payments and the subscriptions widget are in beta testing.

#### Can we keep our own off-ramp partner?

Yes. If your product already works with a licensed off-ramp, you can use it or ours. The partner converts the stablecoins and pays the bank account, and its KYC applies. Anafi holds no KYC or banking data.

#### Can our app or Anafi move a user's funds?

Not outside the rule the user signed. An engine inside an Intel TDX enclave signs only what the rule allows: listed destinations, capped amounts, set frequency. Each payment carries a unique nonce and an expiry, so it cannot run twice. The user revokes a rule with one transaction from their wallet.

#### Which wallets and chains does Anafi Mandates work with?

Anafi is technology agnostic: Safe, MPC wallets, ERC-4337, EIP-7702 and Permit2. It is live on Ethereum, Polygon and X Layer, with Solana on devnet.

#### What does Anafi Mandates cost?

It is priced by quote: [talk to us](https://ana.fi/talk/). Partner fees and network fees are separate and passed through.

Keep reading

- [Stablecoin autopay](https://ana.fi/use-cases/autopay/)
- [On-ramp and off-ramp](https://ana.fi/use-cases/on-off-ramp/)
- [Stablecoin direct debit](https://ana.fi/use-cases/direct-debit/)
- [Stablecoin subscriptions](https://ana.fi/use-cases/subscriptions/)
- [For neobanks and wallets](https://ana.fi/industries/neobanks-wallets/)
- [For investment advisers](https://ana.fi/industries/investment-advisers/)
- [Trust and security](https://ana.fi/trust-security/)
- [Auditability and compliance](https://ana.fi/auditability-compliance/)
- [Security review report (PDF)](https://github.com/anafi-cc/trust-security/blob/main/reports/2026-10-hexens-security-review.pdf)
