Register a customer
Always 202, for every address, whether or not it already has an account — registration never signs the caller in and never reveals which. `agreedToTerms` must be true; field-level problems come back as a 400 naming each offending field. A new address receives a confirmation code; an address that already has an account receives whatever mail its own state calls for instead (nothing changes about that account). Confirm the registration with `POST /api/v3/users/confirm`, using the code and the `confirmationToken` this call returns — that is the only way a registration produces a session.
POST/api/v3/users
Send your own credential. No customer is involved.
How authentication works- Yours
x-api-keyorAuthorization: Bearer
Language
Environment
Credentials
Your credential
Choose an environment first.
curl -X POST https://api.btcdirect.eu/api/v3/users \ -H "x-api-key: $BTCD_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "email": "customer@example.com", "password": "your-passphrase", "givenNames": "Jamie", "familyName": "de Vries", "country": "NL", "locale": "nl-nl", "agreedToTerms": true, "termsVersion": "v2" }'Response
{ "resendAvailableAt": "2026-08-25T11:42:07Z", "confirmationToken": "the-confirmationToken-this-call-returned"}Request
emailemailrequired
Examplecustomer@example.com
passwordpassword
givenNamesstring
ExampleJamie
familyNamestring
Examplede Vries
phonestring
Example+31612345678
phoneCountrystring
ISO 3166-1 alpha-2 the phone was typed under; phone is read as a national number of this country. Omit when phone is E.164 with its leading +.
ExampleNL
dateOfBirthdate
YYYY-MM-DD.
Example2026-08-25
countrystring
ISO 3166-1 alpha-2.
ExampleNL
localestring
Examplenl-nl
preferredCurrencystring
ExampleEUR
residentialAddressobject
businessobject
agreedToTermsbooleanrequired
Must be true; identity refuses a registration without it.
termsVersionstring
The Terms version accepted. A superseded version is refused with 409 stale_terms_version.
Examplev2
newsletterSubscriptionboolean
Whether the customer opted in to BTC Direct marketing email. Ask it as its own checkbox, unticked by default and separate from the Terms consent. Omitted means not subscribed. Recorded once at registration; it cannot be changed through the API afterwards.
Defaultfalse
accountTypestring
What the customer signs up for. `business` registers a business-only account: the customer declares their company after confirming the email address, every session then acts for that company, and no personal identity verification is asked. `personal`, or omitted, registers a personal account, which can still add a business later. Recorded once at registration.
Can be one ofpersonalbusiness
Defaultpersonal
deviceTokenstring
The device credential a previous call issued to this browser, if it has one. Omit it on a first-ever registration. Supplying it binds the new session to the same device row as the follow-up login, so the customer sees one device rather than two and revoking it ends both sessions. The response returns a rotated value which the caller must store in place of the old one.
Examplev3.dt.1a7f4c92e08b5d63a4f1c7e920b8d365
Responses
202Accepted. Check the address's inbox.400Invalid request.401Bad credentials.409`stale_terms_version` — the submitted termsVersion is no longer in force; re-fetch the current terms and resubmit. Never returned for a taken address.429`too_many_attempts` — this credential's sign-ups are being refused for now: its sign-up budget is used up. Nothing was registered and nothing is wrong with the request; the same request is accepted once `Retry-After` seconds have passed. Never returned per address: the refusal looks at no address, so it is the same for every one.503`signups_paused` — new sign-ups are paused. Nothing was registered and nothing is wrong with the request; the same request is accepted once sign-ups resume. Never returned per address. Or `maintenance`: full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end).Body of the success response
resendAvailableAtdate-timerequired
When the client may offer POST /api/v3/users/confirm/resend again.
Example2026-08-25T11:42:07Z
confirmationTokenstringrequired
Pass this, with the mailed code, to POST /api/v3/users/confirm. A code alone proves the inbox, not who chose the password — this token is what ties the two together. Only the screen that submitted the registration holds it.
Examplethe-confirmationToken-this-call-returned
Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.