Swipelux

Create transfers for customer

Create transfers to move funds between fiat and cryptocurrency

Create Transfer

Purpose: Create transfers to move funds between fiat and cryptocurrency.

Transfers are the core functionality that allows you to convert between all forms of value for your customers. Our unified API handles onramp (fiat→crypto), crypto transfers, and bridge transfers across networks automatically.

Dynamic Request Structure

The transfer API uses a flexible JSON structure that adapts based on your specific needs:

  • from - Source of funds (customer + rail/currency/amount)
  • to - Destination (customer identifier or wallet address)
  • rail - Payment method (card, bank_transfer, wallet, etc.)
  • currency - Fiat currency (USD, EUR) or crypto asset (USDC, ETH)

The request body dynamically adjusts based on the combination of rails and assets you choose. Explore the tabs below for detailed information about payment rails and supported assets.

Interactive Transfer Builder

Transfer Request

{
"from": {
"identifier":
"cus_123"
,
"amount":"100",
"rail":
"card"
,
"currency":
"USD"
},
"to": {
"identifier":
"cus_123"
,
"rail":
"polygon"
,
"currency":
"USDC"
}
}
Onramp Transfer100 USD

Convert USD from card to USDC on polygon

Response Example

{
  "id": "tr_nEZHWur1pBSAKY7NlV",
  "from": {
    "identifier": "cus_cK69MttD5nAUAbud1B",
    "amount": "50",
    "rail": "card",
    "currency": "USD"
  },
  "to": {
    "identifier": "cus_cK69MttD5nAUAbud1B"
  },
  "state": "awaiting_funds",
  "url": "https://pay.swipelux.com/checkout/..."
}