POST
/
offramp
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"
}

Body

application/json
userId
string
required

ID of the user placing the offramp order

fromCurrency
string
required

The cryptocurrency being sold (e.g., ETH)

toCurrency
string
required

The fiat currency to be received (e.g., USD)

amount
number
required

Amount of crypto to convert

chain
string
required

Blockchain network of the crypto (e.g., ethereum, polygon)

paymentMethodId
string
required

ID of the user’s fiat withdrawal method (e.g., bank or card)

withdrawalAddress
string
required

Wallet address from which the crypto will be sent

Response

200 - application/json
Offramp order successfully created
orderId
string

Unique identifier for the offramp order

status
string

Current status of the order (e.g., pending, completed)

estimatedPayout
string

Estimated time when fiat will be delivered