Wallets
Wallet endpoints cover background operations like creating a wallet and recording activity asynchronously. Use them to provision wallets and log simple activity signals tied to a wallet.
Create wallet (async)
POST /api/v1/wallets/createasync
cURL
curl -s -X POST "$FREEQ_API_URL/api/v1/wallets/createasync" \
-H "Authorization: Bearer $FREEQ_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key":"optional-correlation-key"}'
Record user activity (async)
POST /api/v1/wallets/activityasync
cURL
curl -s -X POST "$FREEQ_API_URL/api/v1/wallets/activityasync" \
-H "Authorization: Bearer $FREEQ_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key":"me","activity":"visited:home"}'