Swipelux

Customers

Manage individual and business customer accounts

Overview

Customers represent individual or business entities that hold wallets and initiate transfers. They are the primary identity in the system and can be created with minimal information, supporting both widget-based flows and full KYC verification.

Create Customer

Create a new customer account. Supports both individual (cus_xxx) and business (biz_xxx) types.

Response:

{
  "id": "cus_abc123",
  "status": "approved",
  "createdAt": "2025-04-29T10:13:07.826Z"
}

Use Cases

WhenWhatBetter For
Widget-based onramp flowCreate with empty object {}Quick customer creation without KYC upfront
Full KYC verificationCreate with customer data and shareTokenImporting existing KYC data from SumSub
Business customersSet type: "business"B2B applications requiring business accounts
Individual customersUse default or type: "individual"Consumer applications and personal wallets

List Customers

Retrieve all customers with optional filtering and pagination.

Use Cases

WhenWhatBetter For
Displaying customer listUse default pagination (limit=20)Admin dashboards and customer management
Filtering by emailAdd email query parameterFinding specific customer by email address
Filtering by typeAdd type=individual or type=businessSeparating individual vs business customers
Large datasetsUse offset for paginationHandling thousands of customers efficiently

Get Customer

Retrieve a specific customer by ID.

Use Cases

WhenWhatBetter For
Single customer lookupUse customer ID directlyDisplaying customer details in UI
After customer creationFetch immediately after POSTVerifying customer was created successfully
Before operationsCheck customer exists and statusValidating customer before transfers or wallets

Update Customer

Update customer information like phone, email, or KYC data.

Use Cases

WhenWhatBetter For
KYC token refreshUpdate with new shareTokenCrypto rails requiring fresh KYC verification
Profile updatesUpdate phone, email, addressKeeping customer information current
Partial updatesSend only changed fieldsEfficient updates without full object replacement

Get Customer Balance

Retrieve balance information for a customer across all wallets.

Use Cases

WhenWhatBetter For
Displaying balancesFetch before showing wallet UIShowing total balance across all chains
Balance reconciliationRegular balance checksAccounting and financial reporting
Before transfersVerify sufficient balancePreventing failed transfers due to low balance

Business Customer Operations

Business customers have dedicated endpoints for complete KYB (Know Your Business) management.

Create Business Customer

Create a business customer with full KYB information including documents and shareholders.

curl https://wallet.swipelux.com/v1/customers/business \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: YOUR_SECRET_API_KEY' \
  --data '{ ... }'

See Create Business Customer for complete documentation.

Update Business Customer

Update an existing business customer's KYB information.

curl https://wallet.swipelux.com/v1/customers/business/cus_abc123 \
  --request PUT \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: YOUR_SECRET_API_KEY' \
  --data '{ "entityName": "New Name LLC" }'

See Update Business Customer for complete documentation.

Delete Business Customer

Delete a business customer and all associated data.

curl https://wallet.swipelux.com/v1/customers/business/cus_abc123 \
  --request DELETE \
  --header 'X-API-Key: YOUR_SECRET_API_KEY'

See Delete Business Customer for complete documentation.

Business Customer Use Cases

WhenWhatBetter For
B2B onboardingCreate with full KYB dataPlatforms requiring business verification
Business profile updatesPUT with changed fieldsUpdating company information
Account terminationDELETE business customerClosing business accounts

Delete Customer

Delete a customer account. The customer ID can be reused after deletion.

Use Cases

WhenWhatBetter For
GDPR complianceDelete customer dataHandling data deletion requests
Account closureDelete after transferring fundsClosing customer accounts permanently
Testing cleanupDelete test customersMaintaining clean test environments

On this page