(deprecated) Automatically register a user
`DEPRECATED`: Please use `POST /api/v2/user`. Take note to send only valid website locales. See the list of supported locales in the model V1\System\WebsiteLocale below.
POST/api/v1/user/register
Send your own credential. No customer is involved.
How authentication works- Yours
Authorization: Bearer
Language
Environment
Credentials
Your credential
Choose an environment first.
curl -X POST https://api.btcdirect.eu/api/v1/user/register \ -H "Authorization: Bearer $BTCD_PARTNER_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "identifier": "c6fefe8d7ac0f4113876d634e8d15f65947f1b62d4859fffcd2464d2be58b2d8", "emailAddress": "info@example.com", "phoneNumber": "+31612345678", "dateOfBirth": "1984-12-27", "firstName": "John", "lastName": "Doe", "country": "NL", "websiteLanguage": "en", "websiteCountry": "gb", "identityDocumentFirstNames": "Johannes Jacobus Cornelius", "identityDocumentLastName": "Jansen", "identityDocumentType": "Passport", "identityDocumentNumber": "IN172F4", "identityDocumentCountry": "NL" }'Response
{ "emailAddress": "mail@example.com", "firstName": "John", "lastName": "Doe", "region": "nl-nl", "phoneNumber": "", "registrationDate": "2019-01-01T14:13:55Z", "activationDate": "2019-01-02T12:43:25Z", "is_business": true, "limits": { "buy": { "limit": { "amount": 3000, "currencyCode": "EUR" }, "remaining": { "amount": 3000, "currencyCode": "EUR" }, "interval": "P1D" }, "sell": { "limit": { "amount": 3000, "currencyCode": "EUR" }, "remaining": { "amount": 3000, "currencyCode": "EUR" }, "interval": "P1D" } }, "enabledIbanAccounts": [ { "number": "string", "holder": "string", "verified": true } ], "enabledWalletAddresses": [ { "currency": "BTC", "address": "3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5", "destinationTag": { "default": "ABC1234", "XRP": 12341 }, "name": "My BTC wallet 1", "status": "open", "walletType": "unhosted", "verificationStatus": "required", "id": 189632 } ], "enabledAccounts": [ { "type": "iban", "name": "My bank account", "identifier": "NL00BANK0123456789", "verified": true, "limitRaised": false } ], "status": { "status": "blocked", "description": "Identification process did not succeed.", "details": { "amld5VerificationStatus": "verified", "emailAddressVerificationStatus": "verified", "identityVerificationStatus": "pending", "privacyAgreementVerificationStatus": "failed", "identityDocumentVerificationStatus": [ { "documentType": "Passport", "documentSide": "Front", "status": "missing" } ], "residentialAddressVerificationStatus": "present", "taxResidencyDeclarationStatus": "present" } }, "verificationLevel": { "id": "a1b2c3d4-0003-4000-8000-000000000003", "level": "hero", "buyLimit": { "amount": 3000, "currencyCode": "EUR" }, "sellLimit": { "amount": 3000, "currencyCode": "EUR" } }}Request
identifierstringrequired
The user identifier of the user.
Examplec6fefe8d7ac0f4113876d634e8d15f65947f1b62d4859fffcd2464d2be58b2d8
emailAddressstringrequired
E-mail address of the user.
Exampleinfo@example.com
phoneNumberstringrequired
Phone number of the user, in the format +countrycodenumber (no dashes, spaces or other special characters).
Example+31612345678
dateOfBirthstring
Date of birth of the user, in the ISO 8601 format (YYYY-MM-DD).
Example1984-12-27
firstNamestringrequired
First name of the user.
ExampleJohn
lastNamestringrequired
Last name of the user.
ExampleDoe
countrystringrequired
ISO 3166-1 alpha-2 country code of the user.
ExampleNL
websiteLanguagestringrequired
The language to use on the website.
Can be one ofnlenfrdees
Exampleen
websiteCountrystringrequired
The country to use on the website.
Can be one ofatbefrdeielilumcnleschgb
Examplegb
identityDocumentFirstNamesstring
First names as they appear on the identity document
ExampleJohannes Jacobus Cornelius
identityDocumentLastNamestring
Last name as it appears on the identity document
ExampleJansen
identityDocumentTypestringrequired
Type of identity document used.
Can be one ofPassportIdentityCardDrivingLicenceResidencePermit
identityDocumentNumberstring
Number of the identity document
ExampleIN172F4
identityDocumentCountrystring
ISO 3166-1 alpha-2 country code of the country which issued the identity document.
ExampleNL
Responses
200User information retrieved successfully.400A list of possible errors for this endpoint.Body of the success response
emailAddressstring
Email address of the user.
Examplemail@example.com
firstNamestring
First name of the user.
ExampleJohn
lastNamestring
Last name of the user.
ExampleDoe
regionstring
Region of the user.
Examplenl-nl
phoneNumberstring
Phone number of the user.
Example
registrationDatestring
Registration date of the user.
Example2019-01-01T14:13:55Z
activationDatestring
The date and time the user account was activated.
Example2019-01-02T12:43:25Z
is_businessboolean
limitsobject
enabledIbanAccountsobject[]
Deprecated: Use enabledAccounts instead. Enabled IBAN accounts of the user.
enabledWalletAddressesobject[]
Enabled wallet addresses of the user.
enabledAccountsobject[]
Enabled accounts of the user.
statusobject
verificationLevelobject
Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.