Stellar Smart Account Payments
Overview
Payment Intent Types
Intent
Description
Create Payment with Contract Intent
Request
curl --location --request POST 'https://intentapiv4.rozo.ai/functions/v1/payment-api' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "yourAppId",
"orderId": "order_12345",
"type": "exactIn",
"intent": "stellar_payin_contracts",
"display": {
"title": "Order #12345",
"currency": "USD"
},
"source": {
"chainId": "1500",
"tokenSymbol": "USDC",
"amount": "10.00"
},
"destination": {
"chainId": "8453",
"receiverAddress": "0x1234567890abcdef1234567890abcdef12345678",
"tokenSymbol": "USDC"
}
}'Response
Combining with Any Amount
Register Transaction Hash (Optional)
Request
Response
Payment Flow
Supported Tokens
Token
Contract Address
Error Handling
Error Code
Description
Best Practices
Last updated