Swipelux
Wallet API

Create wallets for a customer

Provision new wallets on specific blockchain networks

HTTP request

POST /v1/customers/{customerId}/wallets

Request body

{
  "chains": ["base", "polygon"]
}

Example response

{
  "wallets": [
    { "chain": "base", "address": "0x1234" },
    { "chain": "polygon", "address": "0x5678" }
  ]
}

Code examples

curl https://wallet.swipelux.com/v1/customers/cus_123/wallets \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: YOUR_SECRET_API_KEY' \
  --data '{ "chains": ["base", "polygon"] }'

On this page