v2
You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.

Log a user out

User

POST/api/v1/user/logout

Send two credentials: your own, and the customer's.

How authentication works
Either
Authorization: BearerorUser-Authorization: Bearer

Language

Environment

Credentials

Your credential, or the customer's

Choose an environment first.

cURL request
curl -X POST https://api.btcdirect.eu/api/v1/user/logout \  -H "Authorization: Bearer $BTCD_PARTNER_TOKEN"
Choose an environment to run this.

Response

User logged out successfully.
{  "message": "User logged out successfully."}

Responses

200User logged out successfully.
400A list of possible errors for this endpoint.

Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.