You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.
Request an e-mail verification code
User/Verify
POST/api/v1/user/verify/email/request-code
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/verify/email/request-code \ -H "Authorization: Bearer $BTCD_PARTNER_TOKEN"Choose an environment to run this.
Response
Email verification code was sent to the user successfully.
{ "message": "Email verification code was sent to the user successfully."}Responses
204Email verification code was sent to the user 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.