End users
One end user per customer of yours. Everything else hangs off them.
Create an end user
One per customer of yours. Creating an external_id that already exists returns that end user as it is (200) instead of a new one (201), so a retry is always safe. deposits decides where the customer's deposits go: end_user (the default) keeps them in the customer's balance; business collects them into your business balance, for customers who pay you in crypto. Scope: end_users.
Headers
Body parameters
end_user, the default: it adds to their balance. business: it is credited to them and, in the same moment, collected into your business balance, so their balance doesn't move and their transactions show the deposit, then a collection.Returns
- 201 Created.
- 200 An end user with this
external_idalready existed.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{"external_id":"kora-10001","email":"ada@example.com"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', 'Idempotency-Key': crypto.randomUUID(), }, body: JSON.stringify({ "external_id": "kora-10001", "email": "ada@example.com" }), }); const data = await res.json();
{
"id": "eu_4kPq9Zm2xV7b",
"object": "end_user",
"account": "end_user",
"deposits": "end_user",
"external_id": "kora-10001",
"email": "ada@example.com",
"verification": "unverified",
"restricted": false,
"restricted_reason": null,
"restricted_at": null,
"identity": null,
"created_at": "2026-10-03T15:36:10.482Z"
}Get an end user
With business as the id, your business balance: account and deposits are business, and external_id and verification are null. Scope read:end_users (or end_users).
Path parameters
eu_ id, or business for your business balance.Returns
- 200 The end user.
curl https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
{
"id": "eu_4kPq9Zm2xV7b",
"object": "end_user",
"account": "end_user",
"deposits": "end_user",
"external_id": "kora-10001",
"email": "ada@example.com",
"verification": "verified",
"restricted": false,
"restricted_reason": null,
"restricted_at": null,
"identity": {
"object": "identity",
"id_type": "nin",
"id_last4": "8901",
"country": "NG",
"updated_at": "2026-10-03T15:36:10.482Z"
},
"created_at": "2026-10-03T15:36:10.482Z"
}Update an end user
Records where your own check of this customer stands (verification), who their deposits belong to from now on (deposits), or both. Solace verifies no end user; you do, and set verification here as it changes. Policies can hold back an unverified end user's withdrawals. A change to deposits applies to deposits credited after it; deposits credited before it stay where they are. Your business balance has neither setting, so business is refused (400). Scope end_users.
Path parameters
eu_ id, or business for your business balance.Body parameters
unverified until you say otherwise. Solace verifies no end user.end_user or business. Deposits already credited stay where they are.Returns
- 200 The end user, updated.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -d '{"verification":"verified"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "verification": "verified" }), }); const data = await res.json();
{
"id": "eu_4kPq9Zm2xV7b",
"object": "end_user",
"account": "end_user",
"deposits": "end_user",
"external_id": "kora-10001",
"email": "ada@example.com",
"verification": "verified",
"restricted": false,
"restricted_reason": null,
"restricted_at": null,
"identity": {
"object": "identity",
"id_type": "nin",
"id_last4": "8901",
"country": "NG",
"updated_at": "2026-10-03T15:36:10.482Z"
},
"created_at": "2026-10-03T15:36:10.482Z"
}Restrict an end user
Stops money leaving the end user's balance: withdrawals, swaps and transfers out are refused with 403, code end_user_restricted, until you lift it. Deposits and incoming transfers still land. Restricting one already restricted keeps when it started, and replaces the reason only when you give one. Your team can do the same from the console. Your business balance can't be restricted, so business is refused (400). Scope end_users.
Path parameters
eu_ id, or business for your business balance.Body parameters
Returns
- 200 The end user, restricted.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/restrict \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -d '{"reason":"Chargeback under review"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/restrict', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "reason": "Chargeback under review" }), }); const data = await res.json();
{
"id": "eu_4kPq9Zm2xV7b",
"object": "end_user",
"account": "end_user",
"deposits": "end_user",
"external_id": "kora-10001",
"email": "ada@example.com",
"verification": "verified",
"restricted": true,
"restricted_reason": "Chargeback under review",
"restricted_at": "2026-10-04T15:36:10.482Z",
"identity": {
"object": "identity",
"id_type": "nin",
"id_last4": "8901",
"country": "NG",
"updated_at": "2026-10-03T15:36:10.482Z"
},
"created_at": "2026-10-03T15:36:10.482Z"
}Lift an end user's restriction
Money can leave their balance again at once. Nothing happens if they aren't restricted. business is refused (400). Scope end_users.
Path parameters
eu_ id, or business for your business balance.Returns
- 200 The end user, no longer restricted.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/unrestrict \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/unrestrict', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
{
"id": "eu_4kPq9Zm2xV7b",
"object": "end_user",
"account": "end_user",
"deposits": "end_user",
"external_id": "kora-10001",
"email": "ada@example.com",
"verification": "verified",
"restricted": false,
"restricted_reason": null,
"restricted_at": null,
"identity": {
"object": "identity",
"id_type": "nin",
"id_last4": "8901",
"country": "NG",
"updated_at": "2026-10-03T15:36:10.482Z"
},
"created_at": "2026-10-03T15:36:10.482Z"
}Register a withdrawal address
An address the end user may withdraw to, registered ahead of time. It is screened against sanctions lists now (a blocked one is refused, address_blocked), and if your policy holds new addresses, the hold starts now rather than at the first withdrawal: usable_at says when it passes and usable whether it has. A withdrawal to an address that isn't registered still works — it registers it on the way and waits out the hold then. Registering one again returns it (200) rather than a new one (201). Scope withdrawals.
Path parameters
eu_ id, or business for your business balance.Body parameters
GET /assets.Returns
- 201 The address, registered now.
- 200 The address, registered before.
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/addresses \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -d '{"network":"ethereum","address":"0x3fA9e2C7b1d84E5a9c0F6e2B7d4A8c1E5f9b8c21","label":"Binance"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/addresses', { method: 'POST', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "network": "ethereum", "address": "0x3fA9e2C7b1d84E5a9c0F6e2B7d4A8c1E5f9b8c21", "label": "Binance" }), }); const data = await res.json();
{
"object": "address",
"end_user": "eu_4kPq9Zm2xV7b",
"network": "ethereum",
"address": "0x3fA9e2C7b1d84E5a9c0F6e2B7d4A8c1E5f9b8c21",
"memo": null,
"label": "Binance",
"usable": false,
"usable_at": "2026-10-04T15:36:10.482Z",
"created_at": "2026-10-03T15:36:10.482Z"
}Record an end user's identity
The end user's identity as you verified it, replacing any record before it. Needed on both sides of a transfer between two businesses. Solace stores it encrypted and only ever shows which id is on file (identity on the end user). Your business balance has no identity, so business is refused (400). Scope transfers.
Path parameters
eu_ id, or business for your business balance.Body parameters
Returns
- 200 What is now on file.
curl -X PUT https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/identity \ -H "Authorization: Bearer $SOLACE_KEY" \ -H "Content-Type: application/json" \ -d '{"legal_name":"Ada Okoro","date_of_birth":"1990-04-17","id_type":"nin","id_number":"12345678901","country":"NG"}'
const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/identity', { method: 'PUT', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "legal_name": "Ada Okoro", "date_of_birth": "1990-04-17", "id_type": "nin", "id_number": "12345678901", "country": "NG" }), }); const data = await res.json();
{
"object": "identity",
"id_type": "nin",
"id_last4": "8901",
"country": "NG",
"updated_at": "2026-10-03T15:36:10.482Z"
}List end users
Newest first. Your business balance (business) isn't one of them. Scope read:end_users (or end_users).
Query parameters
Returns
- 200 A page of end users.
curl https://sandbox-api.solacefi.co/platform/v1/end-users?limit=20 \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users?limit=20', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
{
"object": "list",
"data": [
{
"id": "eu_4kPq9Zm2xV7b",
"object": "end_user",
"account": "end_user",
"deposits": "end_user",
"external_id": "kora-10001",
"email": "ada@example.com",
"verification": "verified",
"restricted": false,
"restricted_reason": null,
"restricted_at": null,
"identity": {
"object": "identity",
"id_type": "nin",
"id_last4": "8901",
"country": "NG",
"updated_at": "2026-10-03T15:36:10.482Z"
},
"created_at": "2026-10-03T15:36:10.482Z"
}
],
"has_more": false
}List withdrawal addresses
The end user's registered addresses, each with whether it is usable yet. Scope read:withdrawals (or withdrawals).
Path parameters
eu_ id, or business for your business balance.Returns
- 200 The addresses.
curl https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/addresses \
-H "Authorization: Bearer $SOLACE_KEY"const res = await fetch('https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/addresses', { method: 'GET', headers: { Authorization: `Bearer ${process.env.SOLACE_KEY}`, }, }); const data = await res.json();
{
"object": "list",
"data": [
{
"object": "address",
"end_user": "eu_4kPq9Zm2xV7b",
"network": "ethereum",
"address": "0x3fA9e2C7b1d84E5a9c0F6e2B7d4A8c1E5f9b8c21",
"memo": null,
"label": "Binance",
"usable": false,
"usable_at": "2026-10-04T15:36:10.482Z",
"created_at": "2026-10-03T15:36:10.482Z"
}
],
"has_more": false
}