v3
latestOpenAPI 3.1.02026-08-0439139122.1 KBonramp
Create Onramp Intent
Create a reusable onramp intent. For Orders, amount, destination currency, and wallet fields are derived server-side from the Order and cannot be overridden by the client.
post/onramp/intents
Headers
X-API-KEYstring required
API key for authentication
Request body
Example request
{
"destination_amount": "100.00",
"destination_currency": {
"address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"chain_id": 30000000000001
},
"order_id": "cuidjkhg3e289y74u5t6v123",
"source_amount": "125.00",
"source_currency": "usd",
"wallet_address": "0xabc123..."
}Response
Onramp intent created
Example response
{
"destination_currency": {
"address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"chain_id": 30000000000001
},
"expires_at": "2024-01-01T00:00:00Z",
"id": "oi_123456789",
"order_id": "cuidjkhg3e289y74u5t6v123",
"session_id": "cos_test_123",
"source_amount": "125.00",
"source_currency": "usd",
"status": "requires_link_auth",
"stripe_publishable_key": "pk_test_123",
"wallet_address": "0xabc123..."
}