Wallet Top-up
Wallet Top-up v1 (Any Amount) to Stellar
The anyAmount payment type allows users to send any amount without specifying it upfront. The system automatically detects the received amount and calculates the output dynamically.
API Host: https://intentapiv4.rozo.ai/functions/v1
Supported Routes: Ethereum, Arbitrum, Base, BSC, and Polygon source routes to Stellar are supported.
Supported Source Tokens: USDC and USDT
Wallet Top-up v2 (Fixed address, Any amount)
For multi-chain deposit support (Ethereum, Arbitrum, Base, BSC, Polygon) with a fixed deposit address, see the Wallet Deposit API.
Use Cases
Wallet top-up flows
Donation payments
Flexible payment amounts
Supported Amount Range
Minimum
$0.02 USDC
Maximum
$10,000 USDC
Amounts outside this range will be rejected with amountTooLow or amountTooHigh error codes. For custom limits, please contact us.
Create Any Amount Payment
Base USDC → Stellar Example
Note: For
anyAmounttype, do NOT includesource.amountordestination.amount. The amounts are determined after payment is received.
Response
Arbitrum USDT → Stellar Example
Supported Source Chains
1Ethereum42161Arbitrum8453Base56BSC137Polygon
Supported Source Tokens
USDCUSDT
Destination Chain
1500orstellar
Request Notes
source.chainIdmust be one of the supported EVM source chains above.source.tokenSymbolcan beUSDCorUSDT.destination.chainIdmust be1500orstellar.destination.receiverAddressmust be a valid Stellar address.Current examples use Stellar
USDCas the destination token.
For the broader token and chain matrix, see Supported Tokens and Chains.
After Payment Received
Once the user sends the selected source token to the source.receiverAddress, the system:
Detects the payment amount on-chain
Validates the amount is within the allowed range ($0.02 - $10,000)
Calculates the fee based on your app tier
Updates the payment with actual amounts
Triggers the payout to the destination
The payment record is updated:
Payment Flow
Error Codes
amountTooLow
Received amount is below $0.02 USDC
amountTooHigh
Received amount exceeds $10,000 USDC
insufficientLiquidity
Destination chain lacks liquidity for the payout
Best Practices
Use Pusher for real-time updates: Subscribe to payment status changes instead of polling.
Handle bounced payments: If amount is outside range or liquidity is insufficient, payment will be marked as
payment_bouncedwith appropriate error code.Check payment status: Poll
GET /payments/{id}or use Pusher to monitor status transitions.
Last updated

