A reference enumeration
Small enumerations behind one route, so adding a set later is a data change rather than an API change. Sets today: tiers, nationalities, tax-identification-numbers. Neither of the first two is a staleness claim: tiers reads live values from the limits service and publishes the ladder that applies to the caller — the business ladder when the credential acts for a business, the individual ladder otherwise, or whichever `subject` asks for; every rung is present, and a rung the subject cannot transact at carries a 0 ceiling — and nationalities is SumSub's own supported-country list refreshed every 5 minutes, so caching belongs per set. Nationalities carries popularPosition — an operator-curated 1-based rank, 0 when uncurated — and the list is already ordered by it, so a client can render a “most chosen” group without hardcoding the membership. tax-identification-numbers is the TIN catalogue — one entry per ISO 3166-1 country with `issued`, `labelKey`, `example`, `inputMode` and the names of its accepted formats; it carries no patterns, validation is `POST /tax-identification-numbers/validate`. It is the individual catalogue unless `subject=business` asks for the entity one, which has the same rows and says what a company is asked for: a business and a person differ in format in most jurisdictions, and some issue a person a TIN but a company none.
GET/api/v3/reference/{set}
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 GET https://api.btcdirect.eu/api/v3/reference/{set}?subject= \ -H "x-api-key: $BTCD_API_KEY"Response
{ "message": "The set."}Parameters
setstring (path)required
Can be one oftiersnationalitiestax-identification-numbers
subjectstring (query)
For `tiers`: which ladder to publish. Omitted, the set follows the acting principal — the business ladder when the credential acts for a business, the individual ladder otherwise. For `tax-identification-numbers`: which catalogue to publish, `user` (the individual one) or `business` (the entity one). Omitted, it is the individual catalogue whoever is calling: this set does not follow the acting principal. Ignored by `nationalities`. A value naming neither `user` nor `business` is a 400 on either set.
Can be one ofuserbusiness
Responses
200The set.400`subject` is present but names neither `user` nor `business`.404Unknown set.503`maintenance` — full maintenance is on, and every endpoint refuses every request until it ends (`endsAt`, when it has an end). Nothing is wrong with the request and nothing was done; the same request is accepted afterwards. Told apart from any other 503 by `code`.Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.