writ.money · Docs · Status

Test rail · no real money

Set up Writ in eight steps

You will create your own organization, give an agent a spending rule, and watch it pay, get a receipt anyone can check, and get stopped when it asks for too much. Every step calls this server for real. Nothing here moves real money: payments settle test credit.

1Create your organization

Your organization holds your agents and their rules. You own it; no one at Writ has to approve it.

2Save your operator key

This key runs your organization: it creates agents and changes their rules. It is shown once. Writ keeps only a fingerprint of it, so if you lose it, it cannot be shown again. This page does not save it anywhere, and forgets it when you reload.

Organization
Test-credit limit

3Create an agent and its spending rule

Pick a starting point, then change anything. Writ refuses any payment outside this rule before it happens.

4Save your agent key

Your agent sends this key with every payment. It can only spend inside the rule you just set. Shown once, and this page forgets it when you reload.

Agent
Rule

5Make a test payment

This is what your agent sends. Run it here, or copy it into a terminal after setting AGENT_KEY to your agent key.


    
    
    

6See the receipt

Every payment gets a signed receipt. Publish it and you get a link anyone can open to check the payment, without an account and without trusting Writ.

7See a refusal

Now the agent asks for more than its rule allows. Writ says no before anything moves, and says why.

8Connect your real agent

When you are ready for real money, talk to the Writ operator: real-money access is set up with you directly, never by sign-up.

9Dry run, replay, export

Three more things you can do with the payment from step 5, all on the test rail. A dry run asks "would this be allowed?" and moves nothing. A replay sends the same payment again and shows it is not charged twice. The export gives you a file of this whole run, with no keys in it.