cURL
curl --request POST \ --url https://api.sandbox.sardine.ai/v1/offramp \ --header 'Content-Type: application/json' \ --data '{ "userId": "abc123", "fromCurrency": "ETH", "toCurrency": "USD", "amount": 0.05, "chain": "ethereum", "paymentMethodId": "pay-987654321", "withdrawalAddress": "0xabc123def456ghi789jkl000mno111pqrs222tuv" }'
{ "orderId": "OFF-20250417-001", "status": "pending", "estimatedPayout": "2025-04-17T18:00:00Z" }
This endpoint is used to initiate an offramp transaction, converting crypto to fiat and transferring funds to the user’s connected payment method.
Offramp order successfully created
The response is of type object.
object