Give your AI an allowance, not your wallet.
Vault PayPal once. Set a monthly allowance and a few plain rules. Your agent runs errands, and every purchase is checked by code, not by the model, before a cent moves. Undo anything with one tap.
Runs in a clearly labelled simulated mode until PayPal sandbox keys are connected.
“My sister just started pottery. Get her something small for her birthday.”
Four steps between “do it for me” and money moving.
Approve Leash on PayPal one time. We store a payment token, never your card or login.
Monthly allowance, per-purchase cap, an “ask me above” line, allowed categories, quiet hours.
In plain words. The agent shops a marketplace and proposes a cart, which the server signs.
Each line is paid, held for your tap, or blocked, re-checked at charge time. Refund any of it.
The model proposes. Code disposes.
Language models can be talked into anything, including by the shops they browse. So Leash never lets the model approve money. It can only suggest listing IDs. Everything after that is deterministic, server-side and auditable.
Each proposed cart is HMAC-signed with a 15-minute expiry. The browser can drop lines, never add or enlarge one. Each line pays once.
Listings that address “AI agents” are blocked outright, even if the agent fell for them. Try the lounge pass in the demo.
Gift cards and other cash-equivalents can never be bought, whatever the rules say. That's where hijacked agents launder money.
Caps, budget, daily count and quiet hours are evaluated again when the charge is made, against the server-held ledger.
Anything above your “ask me” line waits for a tap from you. The agent can't press it.
Every purchase can be refunded in full through PayPal. The allowance comes back straight away.
PayPal Vault, used the way it was meant to be.
Leash uses the Payment Method Tokens API v3: a setup token you approve, exchanged for a reusable payment token. Merchant-initiated Orders v2 charges with stored_credential. Captures API refunds. No buyer redirect per purchase, and no stored card numbers.
POST /v3/vault/setup-tokens → approve
POST /v3/vault/payment-tokens → vault_id
POST /v2/checkout/orders
payment_source.paypal.vault_id
stored_credential: MERCHANT
POST /v2/payments/captures/{id}/refund
DELETE /v3/vault/payment-tokens/{id}