Swipelux

Wallets

Overview

Customers can hold blockchain wallets for on-chain activity.

Wallet provisioning

1. Create the customer

Create a customer as described in the customer guide.

2. Provision wallets

Use the wallet creation endpoint to provision wallets for the chains you need:

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"] }'

Migration guide

Previous approachCurrent approach
Create customer then use legacy wallet provisioningCreate customer then call POST /v1/customers/{id}/wallets and choose chains

The explicit endpoint supports multiple chains in a single request.

Multi-chain support

Pass one or more networks in the chains array. See our Rails guide for all supported blockchain networks.

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

Each chain in the response returns a wallet object containing the chain name and on-chain address.

On this page