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

Requests a password reset token for the user account that matches the supplied email address

User

POST/api/v1/user/reset-password

Send your own credential. No customer is involved.

How authentication works
Yours
Authorization: Bearer

Language

Environment

Credentials

Your credential

Choose an environment first.

cURL request
curl -X POST https://api.btcdirect.eu/api/v1/user/reset-password \  -H "Authorization: Bearer $BTCD_PARTNER_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "emailAddress": "mail@example.com"  }'
Choose an environment to run this.

Response

Password reset token was requested successfully.
{  "message": "Password reset token was requested successfully."}

Request

emailAddressstring

Email address of the user.

Examplemail@example.com

Responses

204Password reset token was requested 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.