Purseline

Spending rules for x402 agents

Give your agent a purse, and keep the line.

Set an allowance, a daily limit, the services it may pay and the most it may spend at once. Your agent asks before every payment. Anything over the line is refused, and you hear about it.

Drag across the purse to widen or narrow the clasp. Payments that fit pass in; bigger ones are refused at the line.

The rules

Three numbers and a list. That is the whole policy.

Every payment your agent attempts is checked against all four at once, in the same moment, so two quick payments can never sneak past the daily limit together.

Resets 00:00 UTC

Daily limit

The most the agent can spend in one day. When it is reached, payments wait for tomorrow.

Hosts you name

Allowed services

Anything not on the list is refused, even if it is cheap. An empty list means nothing gets paid.

Per single payment

Max per payment

A tool that suddenly asks for ten times its usual price gets a no, not your balance.

Total, ever

Allowance

Top it up when you like. Withdraw what is left and the agent stops at once.

How a payment goes

Your agent asks first. Every time.

Purseline sits between the 402 and the signature. It never touches the money itself: it decides, writes it down, and tells you when it says no.

  1. A tool asks to be paid

    Your agent calls a paid API and gets an HTTP 402 with the x402 price: amount, asset and who to pay.

  2. The agent checks its purse

    It sends those payment details to Purseline with its agent key. One call, a plain yes or no back.

  3. The rules decide

    Paused? Allowed service? Under the max? Inside today's limit and the allowance? All checked together.

Approved

The agent signs and pays as usual, then reports it settled. The line goes in your log.

Refused

Nothing is paid. The log says which rule held, you get a notice in the app and, if you set one, a webhook.

The log

One line per payment. Nothing to decode.

Service, amount, time and the result, written in words. Refusals keep their reason, so you can see exactly which rule held.

  • Approved
  • Refused, with the rule

You stay in charge

Pause it. Or take it all back.

While paused, every payment is refused with the reason "paused". Resume when you are ready; the rules stay as you left them.

  • Withdraw what is left

    One button takes the remaining allowance back to zero. The agent cannot spend again until you add more.

  • Swap the agent key

    Think a key leaked? Make a new one. The old key stops working immediately; your log and rules stay put.

  • Hear about every refusal

    A notice in the app for each refused payment, plus an optional webhook to your own endpoint.

We hold the rules, not your money.

Purseline never asks for a private key or seed phrase and never moves funds. Your agent's wallet stays where it is; Purseline is the check it makes before signing. Owner and agent keys are stored only as fingerprints.

Pricing

Pay for what passes through.

Personal

1% of approved spend

Unlimited purses and rules. Refused payments cost nothing. No monthly fee.

Open a purse

Teams

Not available yet

Shared purses, several owners and per-person notices. Team accounts are planned as a paid plan.

Set the line before your agent needs it.

Open a purse