We support both natural and legal persons (business).
To create a user, follow the steps described below:
First, collect the basic information on the customer via your website or platform. The following basic data must be collected at a minimum and forwarded to us:
- First name
- Last name
- Type (natural vs legal entity)
- Street
- Street number
- Postal code
- City
- Country (ISO)
- Email address
Before the beginning of the onboarding phase, we will ask your organization to choose which crypto custodian you will use for your customers' blockchain wallets. These wallets will be the ones holding the tokenized securities. This will determine which datapoints you will send us in key API calls (Create Customer, Save KYC Data, etc.) The custodian options are two-fold:
- Tangany, our MiCAR-licensed crypto custodian partner.
- Non-custodial wallets: you can choose to bring us non-custodial wallets (e.g. Web3Auth), or wallets provided by a custodian you already have an integration with.
ℹ️ Important information about our custodian partner Tangany: If you select Tangany as the custodian (
"custodyProvider": 1), please note that they only accept residents of the European Union, Iceland, Norway, Switzerland, the United Kingdom, and Japan.
We accept investors with non-custodial wallets from across the world, except countries on international sanctioned lists.
ℹ️ Note when Tangany applies: This step relates to the creation
POST /customers(basic info + company{}),tanganyLegalPersonandrelated[]fields, these are not needed at this creation stage but are passed when needed on each call thereafter.
Send the user's personal information with the following request:
POST customer /api/external/v1/customers
You must specify whether the investor is a natural or a legal person in the type field. For legal persons, you must provide the relevant corporate details. The required legal person data points may vary depending on your configured custody provider.
ℹ️ The optional string fields under
tanganyLegalPerson(leiCode, vatId, isinCode) must be omitted entirely when creating a user or when not applicable and not sent as empty strings. Sending empty values "" triggers TanganyCustomerCreationFailed.
Request Example:
# UAT BASE_URL: https://uat.api.nyala.de
# Production BASE_URL: https://api.nyala.de
curl -X POST {{BASE_URL}}/api/external/v1/customers \
-H "Content-Type: application/json" \
-H "Authorization: HMAC YOUR_API_KEY:GENERATED_SIGNATURE" \
-H "Content-Length: CALCULATED_CONTENT_LENGTH" \
-d '{
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@example.com",
"type": "Person",
"salutation": "Mr",
"phoneNumber": "+493012345678",
"birthDate": "1985-03-20T00:00:00Z",
"street": "Uhlandstrasse",
"streetNo": "32",
"postalCode": "10719",
"town": "Berlin",
"countryIso": "DE",
"nationalityIso": "DE",
"custodyProvider": 1
}'The table below describes some of the parameters for a natural person investor.
| Parameter | Description | Expected Values |
|---|---|---|
| firstName | First name of the investor. When sending values with accents (e.g. É, ç, ñ), send the values in UTF-8 charset. | "John" |
| type | Whether the investor is a natural person or a legal entity. Always send "Person" for natural persons. | "Person" |
| street | The street name where the investor resides. When sending values with accents (e.g. É, ç, ñ), send the values in UTF-8 charset. | "Uhlandstrasse" |
| town | The town in which the investor resides. When sending values with accents (e.g. É, ç, ñ), send the values in UTF-8 charset. | "Berlin" |
| countryIso | The country ISO code in which the investor resides. Use ISO 3166-1 alpha-2 country codes. | "DE" |
| nationalityIso | The nationality of the investor. Use ISO 3166-1 alpha-2 country codes. | "DE" |
| The email which the investor used to register. This must be unique and cannot be reused by other investors. | "john.doe@example.com" | |
| custodyProvider | Set whether the customer's private keys will be held by our custodian partner Tangany. Choosing Tangany requires sending more data fields in the KYC endpoint. You can either send a number or the name of the custodian as a string. Set '1' for Tangany or '0' for external (non-custodial) wallets only. | 1 |
The table below describes some of the parameters regarding the basic information for a legal entity representative.
| Parameter | Description | Expected Values |
|---|---|---|
| firstName | First name of the company representative. Legal requirement: collect at least the beneficial owner's first name and surname. | "John" |
| lastName | Last name of representative. | "Doe" |
| birthDate | Birth date of representative. | "1985-03-20" |
| phoneNumber | Phone number of representative. | "+49 30 12345678" |
| type | Always send "LegalEntity" for legal persons. | "LegalEntity" |
| street | Refers to the address of the representative. | "Uhlandstrasse" |
| postalCode | Refers to the address of the representative. | "10719" |
| town | Refers to the address of the representative. | "Berlin" |
| countryIso | Refers to the address of the representative. Expects ISO country code. | "DE" |
| nationalityIso | Refers to the nationality of the representative. | "DE" |
| gender | The gender of the representative. | "Male", "Female", "Other", "NotSet" |
The table below contains basic company information parameters. These are required for all legal entity investors, regardless of custody choice.
| Parameter | Description | Expected Values |
|---|---|---|
| company.name | Name of the company. | "ACME Corporation GmbH" |
| company.registerNumber | Register number of the company. | "HRB 12345" |
| company.fullAddress | Full address of the company as a string. | "Hauptstrasse 10, 10115 Berlin, Germany" |
| company.email | The email of the company's representative performing the onboarding. You may re-use the same input as for the representative email. | "john.doe@company.com" |
You can query the customer data via endpoints:
GET customer /api/external/v1/customers/{customerId}
Request Example:
# UAT BASE_URL: https://uat.api.nyala.de
# Production BASE_URL: https://api.nyala.de
# The {customerId} is 42557ea2-8a55-4599-85b2-2a91f343a08b
curl -X GET {{BASE_URL}}/api/external/v1/customers/42557ea2-8a55-4599-85b2-2a91f343a08b \
-H "Authorization: HMAC YOUR_API_KEY:GENERATED_SIGNATURE" \
-H "Content-Length: 0"Response Example:
{
"errorMessageCodes": null,
"errors": null,
"data":
{
"id": "42557ea2-8a55-4599-85b2-2a91f343a08b",
"firstname": "John",
"lastname": "Doe",
"institutionId": "290e614f-4e79-4ba8-8ba3-60a0f7608256",
"institutionName": "My Institution",
"salutation": "Mr",
"type": "Person",
"birthDate": "1985-03-20T00:00:00Z",
"title": "",
"email": "john.doe@example.com",
"phoneNumber": "+493012345678",
"walletAccess": "Full",
"address": {
"id": "5e062896-9054-470e-b640-5b75380dc49c",
"street": "Uhlandstrasse",
"streetNo": "32",
"postalCode": "10719",
"town": "Berlin",
"country": {
"id": "38913c1d-dd38-494a-80d1-13922dd61d0e",
"iso": "DE",
"isoCode3": "DEU",
"name": "Deutschland"
}
},
"nationalityId": "38913c1d-dd38-494a-80d1-13922dd61d0e",
"nationalityIso": "DE",
"gender": "Male",
"kycData": {
"title": "",
"salutation": "Mr",
"firstname": "John",
"lastname": "Doe",
"placeOfBirth": "Germany",
"dateOfBirth": "1985-03-20T00:00:00Z",
"email": "john.doe@example.com",
"phoneNumber": "+493012345678",
"nonPepPerson": true,
"highCorruptionIndex": false,
"nonSanctionedCountry": true,
"nonUsTaxPerson": true,
"identVerified": true,
"identVerifiedType": "Normal",
"tanganyIdentVerifiedType": "Qes_bankident",
"eulaAgreed": true,
"address": {
"street": "Uhlandstrasse",
"streetNo": "32",
"postalCode": "10719",
"town": "Berlin",
"countryCodeIso2": "DE"
},
"company": null,
"nationalityIso": "DE",
"gender": "Male",
"bic": "",
"tanganyLegalPerson": null
},
"company": null,
"approvedForMonerium": false,
"moneriumIban": null,
"tanganyCustomerId": "12ac5cc7-71b6-46ee-84a7-be70a5afe915",
"tanganyAuthorizedId": "42557ea2-8a55-4599-85b2-2a91f343a08b",
"tanganyOwnerId": "42557ea2-8a55-4599-85b2-2a91f343a08b",
}
}GET customer /api/external/v1/search
Request Example:
# UAT BASE_URL: https://uat.api.nyala.de
# Production BASE_URL: https://api.nyala.de
# Example with:
# searchText = "John"
# take = 50
# skip = 0
curl -X GET "{{BASE_URL}}/api/external/v1/customers?searchText=John&take=50&skip=0" \
-H "Authorization: HMAC YOUR_API_KEY:GENERATED_SIGNATURE" \
-H "Content-Length: 0"Response Example:
{
"errorMessageCodes": null,
"errors": null,
"data": [
{
"id": "42557ea2-8a55-4599-85b2-2a91f343a08b",
"firstname": "John",
"lastname": "Doe",
"institutionId": "290e614f-4e79-4ba8-8ba3-60a0f7608256",
"institutionName": "My Institution",
"salutation": "Mr",
"type": "Person",
"birthDate": "1985-03-20T00:00:00Z",
"title": "",
"email": "john.doe@example.com",
"phoneNumber": "+493012345678",
"walletAccess": "Full",
"address": {
"id": "5e062896-9054-470e-b640-5b75380dc49c",
"street": "Uhlandstrasse",
"streetNo": "32",
"postalCode": "10719",
"town": "Berlin",
"country": {
"id": "38913c1d-dd38-494a-80d1-13922dd61d0e",
"iso": "DE",
"isoCode3": "DEU",
"name": "Deutschland"
}
},
"nationalityId": "38913c1d-dd38-494a-80d1-13922dd61d0e",
"nationalityIso": "DE",
"gender": "Male",
"kycData": {
"title": "",
"salutation": "Mr",
"firstname": "John",
"lastname": "Doe",
"placeOfBirth": "Germany",
"dateOfBirth": "1985-03-20T00:00:00Z",
"email": "john.doe@example.com",
"phoneNumber": "+493012345678",
"nonPepPerson": true,
"highCorruptionIndex": false,
"nonSanctionedCountry": true,
"nonUsTaxPerson": true,
"identVerified": true,
"identVerifiedType": "Normal",
"tanganyIdentVerifiedType": "Qes_bankident",
"eulaAgreed": true,
"address": {
"street": "Uhlandstrasse",
"streetNo": "32",
"postalCode": "10719",
"town": "Berlin",
"countryCodeIso2": "DE"
},
"company": null,
"nationalityIso": "DE",
"gender": "Male",
"bic": "",
"tanganyLegalPerson": null
},
"company": null,
"approvedForMonerium": false,
"moneriumIban": null,
"tanganyCustomerId": "12ac5cc7-71b6-46ee-84a7-be70a5afe915",
"tanganyAuthorizedId": "42557ea2-8a55-4599-85b2-2a91f343a08b",
"tanganyOwnerId": "42557ea2-8a55-4599-85b2-2a91f343a08b",
}
]
}| Case | Error code | Response |
|---|---|---|
| Customer already exists (email or guid) | 400 | {"errorMessageCodes": ["DuplicateEntity"],"errors": null,"data": "00000000-0000-0000-0000-000000000000"} |
| Wrong country code either in country iso or natonalityIso | 400 | "errors": "CountryIso": ["The field CountryIso must be a string with a minimum length of 2 and a maximum length of 2."] |
| User with type = 1 (natural person) has company details included in the API call | 500 | "errorMessageCodes": ["AccountTypePersonCannotHaveCompanyDetails"], "errors": null,"data": "00000000-0000-0000-0000-000000000000" |
| Nationality field contains more than 2 letters | 404 | "errorMessageCodes": ["TanganyCustomerCreationFailed"] |
| Internal server error retuned when Monerium API is not reachable (very uncommon. Retry later) | 500 | "title": "An error occurred while processing your request.", "status": 500 |