$AUTCATBA
Aut
Launch
BSCBNB Smart Chain · Native currency BNB

Guide

Pay with a Borro credit line

Aut APIs are paid per call with x402, in USDG on Robinhood Chain. An agent with a Borro credit line can pay them without holding USDG first: when its wallet is short, it borrows just the difference from its line and pays in the same request. The API gets paid in USDG the same as with any other payment.

Works withAut APIs that accept USDG on Robinhood Chain
The agent needsA wallet that can sign, and a Borro credit line with x402 bills turned on
ToolsBorro's MCP server at borro.markets/mcp

Open a credit line

A line takes two wallets. The owner wallet holds the collateral, opens the line and repays it. The agent wallet is the one that borrows and pays, and Borro requires it to be a different wallet. The line is backed by AI credits, Orbio's CREDIT token, so the owner buys some first.

01Buy CREDIT on Uniswap, from the owner wallet

CREDIT isn't sold in Borro's app. It trades against USDG in a Uniswap v3 pool on Robinhood Chain, the pool Borro prices it from.

  1. Go to app.uniswap.org, connect the owner wallet and pick Robinhood Chain.
  2. Swap from USDG to CREDIT. Paste the token's address, since it isn't on Uniswap's default list:
Orbio Credit (CREDIT)
0xE33322DA1380e61E5Ae5DfB21e7f62924c73004C

Check the address ends in …004C before importing it: tokens with the same name exist. About 1 USDG of CREDIT is plenty for testing. The swap needs a USDG approval, then the swap itself, and a little BNB for gas. The pool's fee is 1%. CREDIT is a third-party token and its price moves.

02Open the line on Borro

  1. Go to borro.markets/app with the owner wallet, choose Borrow, then the AI credit market (CREDIT).
  2. Post the CREDIT as collateral, and set the amount to borrow now to 0. Anything borrowed while opening goes to the owner wallet and uses up the line's room.
  3. Set Agent to the agent wallet's address.
  4. Tick Let the agent pay its x402 bills. This lets the agent borrow into its own wallet to pay. Leave the other addresses alone: every address on that list can receive borrowed USDG.
  5. Set a small ceiling (the most the line can owe) and daily limit. Keep Borro's default target LTV and its keeper protection on, which guards the line if CREDIT's price falls.
  6. Let the agent borrow its own gas is optional: it lets the agent turn borrowed USDG into BNB. Sending the agent a little BNB is simpler.

Confirm and sign. Note the line's address, which Borro calls its account: the agent passes it to Borro's tools.

03Give the agent wallet gas

Send it a little BNB, about 0.0002, for the borrow transactions. A borrow costs about 0.00002 BNB on Robinhood Chain. The payment itself costs it nothing: Autonomo pays that gas.

When you're done, repay the line from the owner wallet on Borro and close it to get the CREDIT back. It can be swapped back to USDG in the same pool.

How it works

01Call the API and get the price

Call the API without a payment. It answers 402, with a PAYMENT-REQUIRED header listing what it accepts. Keep that header as it is. USDG is listed first, and that's the option Borro pays.

02Ask Borro to prepare the payment

Call credit_bill on Borro's MCP server. max_usdg is the most the agent will pay for this call, so set it a little above the API's price.

json
{
  "wallet": "<the agent's wallet>",
  "account": "<the credit line's account>",
  "payment_required": "<the PAYMENT-REQUIRED header>",
  "max_usdg": "0.05"
}

It returns the EIP-3009 typed data to sign. If the wallet doesn't hold enough USDG, it also returns one borrow transaction: send that first, and wait until the borrowed USDG is in the wallet.

03Sign

Sign the typed data with the agent's wallet. Nothing is paid yet: the signature only allows this one payment, of this amount, to this API.

04Get the payment header

Call credit_bill_header. It returns the header's name and value.

json
{
  "payment_required": "<the PAYMENT-REQUIRED header>",
  "authorization": "<from credit_bill>",
  "signature": "<your signature>"
}

05Call the API again

Send the same request with that header. The API checks the payment, answers 200 with the result, and the USDG is settled on-chain. Aut pays the gas.

Example

New Launches, one of Aut's official APIs, costs 0.01 USDG per call:

http
GET https://autai.xyz/x/new-launches/launches?limit=10

On Nov 6, 2026, a test agent with no USDG paid this API by borrowing the 0.01 on its Borro credit line:

Good to know

  • Pay after the borrow lands. If the borrowed USDG isn't visible yet, Aut checks the balance once more 2 seconds later. If it's still short, the payment is refused and nobody is charged, so the agent can try again.
  • One signature pays one call. Sending the same payment again is refused.
  • If the API fails, the agent isn't charged: the payment only settles when the API answers properly.
  • The credit is Borro's. The credit line, its limits, its costs and repaying it are between the agent's owner and Borro. Aut only sells the API calls and doesn't lend. See Borro's agent docs for the full tool list and how lines work.