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

Wallet Deposit API

Generate a unique EVM deposit address for a Stellar address. Anything your user sends to that address (USDC or USDT on a supported EVM chain) is paid out as USDC to the Stellar address.

Supported Pay In Tokens

Chain
USDC
USDT

Ethereum

Yes

Yes

Arbitrum

Yes

Yes

Base

Yes

No

BSC

Yes

Yes

Polygon

Yes

Yes

For token addresses and decimals, see Supported Tokens and Chains. For Solana USDC, see Solana USDC deposits below.

API Host

https://intentapiv4.rozo.ai/functions/v1

1. Get an API key

  1. Register a wallet account at https://partners.rozo.ai and verify your email. Your app id looks like wallet_<your-slug>.

  2. In the dashboard, create an API key.

  3. Send the key in the X-API-Key header on every create call.

Merchant accounts (merchant_*) are not supported by the Deposit API yet.

2. Create a deposit address

Endpoint: POST /deposit-api/create

Parameter
Type
Required
Description

stellar_address

string

Yes

Stellar address that receives the USDC. G accounts and C smart contract accounts are supported. The account must hold a USDC trustline.

app_id

string

No

Your app id. If you send it, it must equal the app id of your API key exactly.

Response

201 Created means a new address was generated. 200 OK means this stellar_address already has an address for your app, and the same one is returned. One stellar_address + app_id pair always maps to the same deposit address, so you can call create every time you show the deposit screen.

Show evm_address to your user. It is the same address on every supported EVM chain.

3. Fees

Rule
Fee

Default (USDC)

0.1% of the amount received, minimum $0.01

USDT

0.2% of the amount received, minimum $0.01

Paid from Ethereum

minimum $0.10 (applies when higher than the percentage fee)

Amount paid out = amount received minus fee. Example: 0.1 USDC on Base pays out 0.09 USDC (fee $0.01). 100 USDC on Base pays out 99.90 USDC. 100 USDT on BNB Chain pays out 99.80 USDC (fee $0.20).

4. Minimum deposit

There is no fixed minimum, but a deposit that is not larger than its fee is not paid out (for example 0.01 USDC on Base, or under $0.10 from Ethereum).

5. Check deposit status

By Stellar address (latest 5 deposits):

By deposit address id (paginated, optional limit, offset, status):

Example deposit:

status

Meaning

payment_payin_completed

Funds received on the EVM address

payment_payout_started

USDC payout to Stellar is being sent

payment_payout_completed

USDC arrived on Stellar, see destination_tx_hash

6. Errors

HTTP

error.code

When

400

app_id_not_enabled

No X-API-Key header. Register at partners.rozo.ai and send your key.

400

invalid_api_key

The key is invalid, revoked or expired.

403

app_type_not_supported

The key belongs to a merchant account. Only wallet accounts are supported.

403

app_id_mismatch

Body app_id is different from the key's app id.

403

email_not_verified

Verify your account email first.

403

account_inactive

Your developer account is disabled.

400

Invalid Stellar address format

stellar_address is not a 56 character G or C address.

7. Solana USDC deposits

Solana uses the Payment API instead of a fixed address. Create an anyAmount order per deposit. The response gives a Solana address to pay; the amount is priced when the payment arrives.

Send USDC on Solana to source.receiverAddress from the response. Track it with GET /payment-api/payments/<id>. After payment, a completed order looks like this (trimmed):

Fees are the same as above (0.1%, minimum $0.01).

Last updated