POST
/
onramp
curl --request POST \
  --url https://api.sandbox.sardine.ai/v1/onramp \
  --header 'Content-Type: application/json' \
  --data '{
  "userId": "abc123",
  "fromCurrency": "USD",
  "toCurrency": "ETH",
  "amount": 100,
  "chain": "ethereum",
  "paymentMethodId": "pay-987654321",
  "depositAddress": "0xabc123def456ghi789jkl000mno111pqrs222tuv"
}'
{
  "orderId": "ONR-20250417-001",
  "status": "pending",
  "estimatedDelivery": "2025-04-17T15:45:00Z"
}

Body

application/json

Response

200 - application/json
Onramp order successfully created

The response is of type object.