SSolace PlatformDOCS
Open console →
API reference

End users

One end user per customer of yours. Everything else hangs off them.

Create an end user

POST/platform/v1/end-users

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

Idempotency-Keystring
Makes a retry safe; see Idempotency.

Body parameters

external_idrequiredstring
Your own id for this customer. Unique per business.
emailstring
For your reference. Solace never contacts end users.
depositsone of end_user, business
Who a deposit to this end user's wallets belongs to. 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_id already existed.
Request
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"}'
Response · 201
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

GET/platform/v1/end-users/{id}

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

idrequiredstring
The end user's eu_ id, or business for your business balance.

Returns

  • 200 The end user.
Request
curl https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b \
  -H "Authorization: Bearer $SOLACE_KEY"
Response · 200
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

POST/platform/v1/end-users/{id}

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

idrequiredstring
The end user's eu_ id, or business for your business balance.

Body parameters

verificationone of unverified, in_review, verified, rejected
Where your own check of this customer stands, as you set it. unverified until you say otherwise. Solace verifies no end user.
depositsone of end_user, business
Who their deposits belong to from now on, end_user or business. Deposits already credited stay where they are.

Returns

  • 200 The end user, updated.
Request
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"}'
Response · 200
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

POST/platform/v1/end-users/{id}/restrict

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

idrequiredstring
The end user's eu_ id, or business for your business balance.

Body parameters

reasonstring
Your own note on why. Shown to your team in the console.

Returns

  • 200 The end user, restricted.
Request
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"}'
Response · 200
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

POST/platform/v1/end-users/{id}/unrestrict

Money can leave their balance again at once. Nothing happens if they aren't restricted. business is refused (400). Scope end_users.

Path parameters

idrequiredstring
The end user's eu_ id, or business for your business balance.

Returns

  • 200 The end user, no longer restricted.
Request
curl -X POST https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/unrestrict \
  -H "Authorization: Bearer $SOLACE_KEY"
Response · 200
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

POST/platform/v1/end-users/{id}/addresses

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

idrequiredstring
The end user's eu_ id, or business for your business balance.

Body parameters

networkrequiredstring
A network from GET /assets.
addressrequiredstring
memostring
For chains that use one.
labelstring
Your own name for it.

Returns

  • 201 The address, registered now.
  • 200 The address, registered before.
Request
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"}'
Response · 201
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

PUT/platform/v1/end-users/{id}/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

idrequiredstring
The end user's eu_ id, or business for your business balance.

Body parameters

legal_namerequiredstring
The full name on their id.
date_of_birthrequiredstring
id_typerequiredone of nin, bvn, passport, national_id, drivers_license
id_numberrequiredstring
A NIN or BVN is 11 digits; anything else 4–40 letters, digits or dashes.
countryrequiredstring
ISO 3166-1 alpha-2.

Returns

  • 200 What is now on file.
Request
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"}'
Response · 200
JSON
{
  "object": "identity",
  "id_type": "nin",
  "id_last4": "8901",
  "country": "NG",
  "updated_at": "2026-10-03T15:36:10.482Z"
}

List end users

GET/platform/v1/end-users

Newest first. Your business balance (business) isn't one of them. Scope read:end_users (or end_users).

Query parameters

limitinteger
How many to return.
starting_afterstring
The last id from the previous page.
external_idstring
Find the end user with this id of yours.

Returns

  • 200 A page of end users.
Request
curl https://sandbox-api.solacefi.co/platform/v1/end-users?limit=20 \
  -H "Authorization: Bearer $SOLACE_KEY"
Response · 200
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

GET/platform/v1/end-users/{id}/addresses

The end user's registered addresses, each with whether it is usable yet. Scope read:withdrawals (or withdrawals).

Path parameters

idrequiredstring
The end user's eu_ id, or business for your business balance.

Returns

  • 200 The addresses.
Request
curl https://sandbox-api.solacefi.co/platform/v1/end-users/eu_4kPq9Zm2xV7b/addresses \
  -H "Authorization: Bearer $SOLACE_KEY"
Response · 200
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
}
PreviousRates