You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.
Base URLs
Two hosts, and two path prefixes for the two eras of endpoint.
The host says which environment you are in. The path prefix says which era of endpoint you are calling.
Coming soonSandbox- Not available yet.
https://api.btcdirect.euProduction- Real customers, real money. Orders here are real orders.
Both prefixes work on production:
/api/v1- The larger and older set. Most legacy integrations are mostly v1.
/api/v2- A later set covering parts of the flow v1 handled differently. It replaces v1 route by route rather than wholesale, so v2 is not a superset of v1.
So a full URL looks like https://api.btcdirect.eu/api/v1/buy/quote. The
endpoint pages give the path; you supply the host.
One set of credentials per host
Sandbox credentials do not work against production and the reverse is also true. Keeping them in the same configuration is how a real order gets placed by a test.
/api/v3 also answers on this host, and the three namespaces run side by
side. You can move one call at a time.