Swipelux
Rails/Our OnRamp/Server-side Integration

Create Orders

Create Swipelux OnRamp orders programmatically using our REST API. Choose the integration approach that best fits your needs:

Integration Options

Quick Example

Here's a basic order creation request:

{
"amounts": {
"from": {
  "amount": 100,
  "currency": "USD"
},
"to": {
  "currency": "USDC"
}
},
"user": {
"email": "user@example.com",
"phone": "+1234567890"
},
"targetAddress": "0x1234567890abcdef..."
}

Response:

{
  "orderId": "ord_abc123def456",
  "orderToken": "ord_token_abc123def456", 
  "acsUrl": "https://track.swipelux.com?specificSettings={...}"
}

Choose Your Path

Next Steps

After creating orders:

On this page