inkan is the seal a person presses onto a document to authorise it.

PayPal AI Hackathon 2026

An allowance for your AI agent.

Agents now buy things for people, and the passkey proves it was you. Nothing records what the agent was allowed to do. So this gives it an allowance: a purpose, a ceiling, one shop, an expiry. It asks. A rule table answers. You can read every attempt, and stop it.

Sandbox only. This site runs the live sandbox; the replay needs no keys and no database.

Run it yourself, offline

No keys, no database

git clone https://github.com/Michael-Obele/inkan.gitcd inkan && bun installbun run dev

A clone with no .env replays the recorded sandbox run, so every screen works before you configure anything.

What it is

A rule table decides.
Nine rules, checked in a fixed order. A refusal names the rule that stopped it. No model is anywhere in that path, so the same request always gets the same answer.
A refusal costs nothing.
The order is created with no card attached. That is why a shop the allowance does not cover never has money held against it.
You keep the off switch.
Revoking burns the live capability, so the next attempt fails because the permission is gone. Then every row stays readable.
Every attempt is written down.
Including the refused ones. A refund is its own row, pointing at the payment it reverses.

What the agent is allowed

Read live from the service. Every value below is data the rule table compares against, so you can work out any verdict from this card alone.

Spending authority

revoked
For
Restocking the shop with coffee beans
Only at
demo-store
In total
$120.00
One purchase
$50.00
Without asking
$20.00
Good until
2026-11-19

$59.00 of $120.00 committed. A refund returns money to the ceiling. It does not re-open an approval.

What it has tried

The most recent rows from the ledger, including the ones that were refused.

Read all 29 events
What happened When
  • Hold released $0.00
    11-12 16:46
  • Paid $5.00
    11-12 16:46
  • Money held $5.00
    11-12 16:46
  • Approved by you $5.00
    11-12 16:46

One refusal, in full

The agent asked for an annual bundle. The single-purchase limit said no. Nothing was held against the card.

Asked for
$340.00
One purchase allows
$50.00
Held against the card
$0.00

over_per_txn_cap

There was nothing to release, because no card was attached yet. A refusal also costs nothing to produce: no model runs, so it does not depend on a network call, and the row is written like any other.

By the numbers

Measured on this machine, not estimated.

9
rules, fixed order
13
adversarial cases, all held
133
tests
0
model calls on a refusal

What this does not do

Written down so each one is a decision you can check, and not something you find out later.

  • 01 The approval link has no login. Ids are random, and that is still not a secret.
  • 02 No notifications. A request waits until you open the screen.
  • 03 One merchant, one currency, one agent, one person.
  • 04 Sandbox only. No real money moves, and real card details should never be entered.

Questions

Do I need PayPal credentials to look at it?

No. Run it with DEMO_MODE=replay and the app answers from a recording of a real sandbox run. No keys, no database, no network.

Does an AI decide anything?

No. The model writes the receipt text and nothing else. It cannot allow a purchase, and no rule reads its output.

Can the agent raise its own limit?

No. Narrowing only removes room. There is no control that adds any, and the ceiling cannot be raised once lowered.

What happens when it asks for too much?

The request is refused before any card is attached, and the refusal is written to the ledger with the rule that stopped it.

Can I undo a revocation?

No. You issue a new allowance instead. An off switch that can be switched back on by the thing it stopped is not an off switch.

Run the demo

One button runs four attempts: a payment, one that waits for you, two refusals, and a refund. Every row comes from a call that actually happened, with the identifiers PayPal returned.

The agent cannot pay. The payment capability lives with the mandate.

PayPal Orders v2 ยท sandbox