Home/Developers

Connect an agent with a few lines of code.

One API to create agents, issue cards, set rules and take payments. Your agent calls it like any other tool.

Quickstart

From zero to first payment

The API is in early access. These examples show how it works.


      
API at a glance

The main endpoints

MethodEndpointWhat it does
POST/v1/agentsRegister an agent under your company
POST/v1/cardsIssue a virtual card with its rules
PATCH/v1/cards/:idChange limits, freeze or unfreeze
POST/v1/paymentsPay a merchant; rules are checked first
POST/v1/approvals/:idApprove or decline a waiting payment
GET/v1/transactionsList transactions by agent, card or date
GET/v1/credit/:agentCredit limit and the reasons behind it
Agent tools

Give your agent Steadfield as a tool

Steadfield can be added to an agent as a set of tools (for example through the Model Context Protocol), so the agent can check its balance and pay by itself.

get_balanceWhat the agent can still spend
get_rulesIts limits and allowed categories
pay_merchantMake a payment
get_transactionCheck a payment’s status
Webhooks

Know the moment something happens

Signed webhooks tell your systems about every important event, so you can notify people or update your own records.

payment.approvedpayment.declinedapproval.requestedapproval.expiredcard.frozenlimit.changedrepayment.collected

Every decline includes a machine-readable reason, like category_not_allowed, so your agent can explain it or try another way.

Give your first agent a card.

Join the waitlist for early access. It takes 30 seconds.