Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Open a Stellar Wallet

stellar_onboarding: pay USDC or USDT on Base, Ethereum, Arbitrum or Polygon and receive USDC on Stellar. A new address gets its account, USDC trustline and XLM in one transaction it signs once. No API

No signup. No API key. One payment, one signature.

You send USDC or USDT from Base, Ethereum, Arbitrum or Polygon. We deliver USDC on Stellar to the address you choose. If that address is new or has no USDC trustline, we also create the account, add the trustline and give it some XLM for fees, all in one transaction the address signs once. We never see the secret key.

Three ways to use it

Way
For
How

API

Apps, backends, agents

The steps below. No key

Web page

People, no code

intents.rozo.ai/stellar-wallet: connect a compatible Stellar wallet, pick amount and chain, pay, and sign if required. Check the account and signer requirements below

MCP

AI agents (Claude Code, Codex, Cursor, ...)

Rozo MCP at https://mcp.rozo.ai/mcp with tools funding_capabilities, stellar_wallet_quote, stellar_wallet_create_order, stellar_wallet_order_status, stellar_wallet_get_signing_request, stellar_wallet_submit_signed. The MCP never holds keys: your agent's wallet pays and signs. See Prompt for your agent

Supported chains and tokens

You pay from

Quote with source.chainId / USDC assetId

USDT also accepted at payment

Base

8453 / erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913

0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2

Ethereum

1 / erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

0xdAC17F958D2ee523a2206206994597C13D831ec7

Arbitrum

42161 / erc20:0xaf88d065e77c8cc2239327c5edb3a432268e5831

0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9

Polygon

137 / erc20:0x3c499c542cef5e3811e1192ce70d8cc03d5c3359

0xc2132D05D31c914a87C6611C10748AEb04B58e8F

You receive

assetId

USDC on Stellar

stellar:USDC:GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN

  • Always quote with the chain's USDC assetId. When you pay, USDC or USDT (the contracts above) on any of the four chains is accepted 1:1.

  • Live list: GET /funding/capabilities (sourceAssets, stableOutputs, gasOptions, limits, rozoAccounts).

  • sourceAssets[].minAmount is the smallest amount a quote accepts. An order's deposit.minAcceptedAmount is a different number: the smallest payment still delivered after repricing on the amount received, and it can be lower.

Limits

Limit
Value

Per order

1 to 1,000 USD, on every chain

Per client IP

2,000 USD per day (UTC)

All keyless traffic together

10,000 USD per day (UTC)

Request rate

Per client IP, per 10 minutes: 30 quotes, 6 orders, 20 signing requests, 10 submits. Order reads are not limited (429 rate_limited)

The per-order limit is checked at quote time and the daily limits when you create the order. Either way the answer is limit_exceeded.

Fees

Fee
When
Amount

Bridge fee

Every order

Same as the ROZO bridge: 0.1 %, minimum 0.01 USDC (Ethereum minimum 0.10 USDC)

XLM and account opening (usdGas)

Optional

"0" = no XLM, "0.5" = 1.6 XLM, "1" = 3.2 XLM. Fixed XLM amounts at a fixed USD price. The part of the price above the XLM's market value covers opening the account and trustline (there is no other opening fee); the quote shows it as gas_tier_price_adjustment

Sponsor fee

Only if the address is new or has no USDC trustline

With usdGas "0": same as the ROZO bridge (about 0.44 USDC). With a paid usdGas tier: 0.0000001 USDC, the smallest amount the claim accepts

usdGas default: "0.5" if the address is new or has no USDC trustline; "0" if it already has a USDC trustline. Set it yourself to override. The smallest USDC delivery is 0.01.

You pay (Base)

Address

usdGas

You get

1 USDC

New

"0.5" (default)

1.6 XLM + about 0.49 USDC, account and trustline ready

10 USDC

New

"0.5" (default)

1.6 XLM + about 9.49 USDC

10 USDC

New

"0"

about 9.55 USDC (sponsor fee charged)

10 USDC

Has USDC trustline

"0" (default)

about 9.99 USDC, no signature

The quote is authoritative: read fees and totals from it.

Every deduction between what you send (at face value, 1 stablecoin = 1 USD) and what lands is one fees line, each with a 6 decimal usdExact next to the 2 decimal usd:

kind

What it is

bridge_fee

The ROZO bridge fee above

stellar_sponsor_fee

Paid from the claimed USDC to ROZO claim custody when you sign. amount and asset give it exactly, also when it is 0.0000001 USDC and usd shows 0.00

gas_tier_price_adjustment

The usdGas price minus the value of its fixed XLM at the quote's XLM price. It pays for opening the account and trustline. Negative if XLM is worth more than the tier price

source_price_adjustment

Your stablecoin valued at its market price (for example 0.9998) instead of 1 USD. Not a ROZO fee. Negative if it trades above 1 USD

totals.sourceFaceUsd minus totals.deliveredUsd equals totals.totalDeductionsUsd, and that equals the sum of usdExact plus roundingRemainderUsd. totalFeesUsd stays the ROZO fees only. A live 1 USDC quote on 2026-10-14 (new address, default usdGas): bridge_fee 0.010000, stellar_sponsor_fee 0.0000001 USDC, gas_tier_price_adjustment 0.193060 (1.6 XLM worth 0.306940 at 0.191838), source_price_adjustment 0.000171, rounding 0.000001, totalDeductionsUsd 0.203232.

Step by step: 10 USDC on Ethereum to a new Stellar address

No X-API-Key. Replace GABC...XYZ with the receiving G-address. Send a normal User-Agent header: some default library user agents are refused.

With usdGas omitted, a new address gets 1.6 XLM and about 9.39 USDC (10 minus 0.50 for XLM and opening, minus the 0.10 Ethereum bridge fee).

Timing:

  • A quote is valid for 10 minutes. deposit.payBefore is the quote's expiry, so create the order and pay promptly.

  • The signature request usually appears a few minutes after the payment (Ethereum takes longer to confirm). Poll every 10 seconds.

  • A signing request is valid for up to 5 minutes (expiresAt). If it expires, call step 5a again for a new one.

Retrying the order with the same Idempotency-Key and body returns the same order. The deposit address is one-time and the same on all four chains.

What a real order returns

These are the responses of a real 1 USDC order on Base to a new address (2026-10-12), read back afterwards with the GET endpoints. Ids, addresses and hashes are shortened; long fields are trimmed (...). Quotes made since 2026-10-14 also carry usdExact on every fee line, the stellar_sponsor_fee, gas_tier_price_adjustment and source_price_adjustment lines and the sourceFaceUsd, deliveredUsd and totalDeductionsUsd totals (see Fees).

Quote (POST /funding/quotes, also GET /funding/quotes/{quoteId}):

Order (POST /funding/orders): status is awaiting_payment, pendingActions is pay_source, and the deposit to pay is:

After the payment, the order moved to source_confirming, then action_required with sign_stellar_onboarding.

Signing request (POST /funding/orders/{fundingId}/signing-requests). Check operations before you sign:

With a paid usdGas option the sponsor fee is 0.0000001 USDC, the smallest amount the claim accepts. The submit call returned confirmed with the same transaction hash, and the final order was completed with both legs confirmed: 1.6 XLM and 0.4898642 USDC delivered.

Variations

  • Address already has a USDC trustline: no opening cost, no signature, usdGas defaults to "0". Steps 1 to 4 only; the order completes by itself.

  • No XLM: add "usdGas": "0" to the quote (a new address then pays the sponsor fee instead).

  • More XLM: "usdGas": "1" gives 3.2 XLM.

  • Other chains: change source.chainId and assetId from the table.

How to sign and claim

A. Secret key (agents, servers, scripts): full flow after payment

No Stellar address yet? Create one locally first and keep the secret on that machine (never send it to any server, including ROZO):

Then, after payment:

B. Browser: let the user pick any Stellar wallet (Freighter, LOBSTR, xBull, Albedo, Hana, ...)

C. Freighter only: import { signTransaction } from "@stellar/freighter-api", then signTransaction(xdr, { networkPassphrase: "Public Global Stellar Network ; September 2015", address }) returns { signedTxXdr }.

The submit call is the claim: in that one transaction the account is created, the USDC trustline is added, and the USDC and XLM arrive. walletAddress must be the address you quoted for, and only that address's signature on the exact transaction is accepted. Multisig accounts are not supported.

Prompt for your agent

Have an AI coding agent (Claude Code, Codex, Cursor) open the wallet for you through the Rozo MCP. Connect it first, for example claude mcp add --transport http rozo-checkout "https://mcp.rozo.ai/mcp?src=docs". The agent needs an EVM wallet it controls on the chosen chain, holding the USDC or USDT plus a little native gas, and Node 18+. The same prompt is in the MCP README.

Fill in the four inputs and paste:

Through the MCP, rate limits count against the MCP server's outbound address, which other MCP users can share: on rate_limited, wait and retry later instead of looping.

Checklist for agents and integrators

  • Never pay twice. Save fundingId and the order Idempotency-Key before paying. After a crash, resume by polling the order; do not create a new order for the same intent.

  • Keep fundingId private. Without an API key it is the only handle to the order: anyone holding it can read the order. Never echo it into logs, printed tool output, commits or shared files.

  • Check before you sign. Compare the signing request's operations with what you expect: your address; a claimed USDC amount (gross) equal to the current order's refreshed stable legs[].minimumAmount plus the sponsor fee; at most one payment out of your address, the sponsor fee in USDC to the current rozoAccounts.stellar.claimCustody (0.0000001 USDC with a paid usdGas tier, the quoted stellar_sponsor_fee with usdGas "0", none if the address needed no onboarding); and an XLM payment to you equal to the XLM leg's minimumAmount. Decode the XDR locally and refuse any operation type or source not in the list above (for example setOptions). The transaction source must be a ROZO channel account, never your address. The XDR itself carries only the claimable balance id; its amount is in operations and at https://horizon.stellar.org/claimable_balances/<id>. The hash of the locally decoded transaction must equal the txHash the signing request returned. Refuse to sign anything else.

  • Check ROZO's accounts. Every ROZO account in the transaction must be in GET /funding/capabilities rozoAccounts.stellar: the transaction source in transactionSources, the beginSponsoringFutureReserves and createAccount operations from reserveSponsor, the XLM payment from xlmPayer, the sponsor fee to claimCustody. They can rotate, so read them before signing. Do not cache a historical list as a permanent allowlist.

  • A new account with 0 XLM balance is fine. Reserves are sponsored by ROZO, so readiness checks must not require a minimum XLM balance.

  • Quote first, pay second. If the quote expired before the order, quote again. Pay before payBefore; a late payment is not delivered automatically and goes to manual handling.

  • Current output amounts. Show the quote before payment. After payment, read the refreshed order: a valid smaller deposit can deliver less USDC than the original quote. Sign only the exact server-provided XDR for that order; do not modify its operations or amounts.

  • Partial delivery is visible. Each leg (USDC, XLM) has its own status and tx hash in the order. Show both to the user.

  • Mainnet only. There is no testnet endpoint today; test with 1 USDC orders.

Good to know

  • Read deposit.amountPolicy. With exact or an absent field, follow the quoted deposit amount; a short payment requires recovery and overpayment does not increase delivery. With any_amount, deposit.amount is suggested: a single on-time payment at or above minAcceptedAmount is repriced using frozen prices and fees. The quoted XLM tier stays unchanged and USDC adjusts after fees. A payment below the minimum cannot cover the tier, fees and minimum USDC output, so it requires recovery.

  • maxPricedAmount is the per-order pricing ceiling. The remaining daily allowance can impose a lower ceiling. Only the amount that fits is delivered; the excess is held for manual handling, not automatically refunded. If the remaining allowance is below the deliverable minimum, nothing is delivered automatically. Unsupported chains (for example BSC), wrong assets, late payments and a second payment also require manual handling. Never send another payment to top up a short order.

  • For a repriced order, repricing reports quotedAmount, receivedAmount, pricedAmount, excessAmount and quotedPlanDigest; otherwise it is null. The order's current planDigest, legs, fees and totals reflect the priced amount. For example, a 1 USDC quote paid with 0.80 USDC can keep its XLM tier and deliver less USDC if 0.80 meets the returned minimum; paying 1.30 can increase USDC if it fits the returned ceiling and daily allowance. Calculate the net amounts from the actual frozen plan, not these example numbers.

  • If the user pays but never signs, the USDC waits in a claimable balance only that address can claim, for 30 days. After that ROZO reclaims it and the order is handled manually (refund on request).

  • Never send to a deposit address after its order has expired. Request a new quote.

Errors

Every error has the shape { "code", "message", "retryable", "nextAction", "correlationId" }.

Code
HTTP
Meaning

rate_limited

429

Too many requests from your IP, retry later

invalid_request

400

Bad input, for example a usdGas value that is not allowed

limit_exceeded

422

Amount outside 1 to 1,000 USD, or above a daily limit

quote_expired

410

Request a new quote

quote_consumed

409

The quote already has an order; request a new quote

idempotency_conflict

409

Same Idempotency-Key with a different body

price_unavailable

503

No valid price right now, retry later

inventory_unavailable

409

XLM temporarily out of stock, retry later or use "usdGas": "0"

signer_unsupported

422

Multisig or unsupported account

template_expired

410

The signing request expired, create a new one (step 5a)

signature_invalid

422

The signed transaction is not the one issued, create a new signing request

Reference

Order statuses, recovery and the shared error format are on the Funding API overview. Full contract: OpenAPI openapi-funding-v1.2.0.yaml.

Last updated