Runledger API
Runledger records each outcome charge as pending, confirms it when the result stands, and reverses it when it doesn’t, the way card payments authorize, capture and charge back. Your payment providers still collect the money, and Runledger can work with several at once. Runledger decides whether a charge stands.
For example, an AI support agent resolves a ticket and you charge US$0.95 for it. The charge stays pending for 24 hours, the support_chat preset. If the customer doesn’t come back, it confirms and goes on the invoice. If they reopen the conversation within 30 days, a rule you set reverses it and the invoice is corrected, with the reason recorded.
The four calls
Everything else in the API configures these calls or reads what they did.
One ticket, start to finish
What the event names do is set up once, in an outcome definition and a plan. The integration code doesn’t change when you change prices, windows or rules.
Three ways to set it up
Everything you configure works the same from the dashboard, from the API and from your coding agent over MCP: the same fields, the same validation, the same result. Agent-led setup is the main path. An agent in your repo reads what exists, validates a configuration, applies it to the sandbox, connects a payment provider’s test mode and runs the checks. For live, it proposes the change and a person approves the diff. Configuration describes the document, the dry run and proposals.
Where to go next
Or start from what you want to do: