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

Submit the answers to the questions regarding the Anti-Money Laundering Directive (AMLD5)

The user has to provide one of the answer options for each question. For a list of the questions see the GET /api/v1/user/verify/amld5 endpoint.

POST/api/v1/user/verify/amld5

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/amld5 \  -H "Authorization: Bearer $BTCD_PARTNER_TOKEN" \  -H "Content-Type: application/json" \  -d '[    {      "key": "mainSourceOfIncome",      "answer": "Salary"    },    {      "key": "annualNetIncome",      "answer": "From 10.000 to 30.000"    },    {      "key": "employmentStatus",      "answer": "Employed"    }  ]'
Choose an environment to run this.

Response

AMLD5 answers submitted successfully.
{  "emailAddress": "mail@example.com",  "firstName": "John",  "lastName": "Doe",  "region": "nl-nl",  "phoneNumber": "",  "registrationDate": "2019-01-01T14:13:55Z",  "activationDate": "2019-01-02T12:43:25Z",  "is_business": true,  "limits": {    "buy": {      "limit": {        "amount": 3000,        "currencyCode": "EUR"      },      "remaining": {        "amount": 3000,        "currencyCode": "EUR"      },      "interval": "P1D"    },    "sell": {      "limit": {        "amount": 3000,        "currencyCode": "EUR"      },      "remaining": {        "amount": 3000,        "currencyCode": "EUR"      },      "interval": "P1D"    }  },  "enabledIbanAccounts": [    {      "number": "string",      "holder": "string",      "verified": true    }  ],  "enabledWalletAddresses": [    {      "currency": "BTC",      "address": "3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5",      "destinationTag": {        "default": "ABC1234",        "XRP": 12341      },      "name": "My BTC wallet 1",      "status": "open",      "walletType": "unhosted",      "verificationStatus": "required",      "id": 189632    }  ],  "enabledAccounts": [    {      "type": "iban",      "name": "My bank account",      "identifier": "NL00BANK0123456789",      "verified": true,      "limitRaised": false    }  ],  "status": {    "status": "blocked",    "description": "Identification process did not succeed.",    "details": {      "amld5VerificationStatus": "verified",      "emailAddressVerificationStatus": "verified",      "identityVerificationStatus": "pending",      "privacyAgreementVerificationStatus": "failed",      "identityDocumentVerificationStatus": [        {          "documentType": "Passport",          "documentSide": "Front",          "status": "missing"        }      ],      "residentialAddressVerificationStatus": "present",      "taxResidencyDeclarationStatus": "present"    }  },  "verificationLevel": {    "id": "a1b2c3d4-0003-4000-8000-000000000003",    "level": "hero",    "buyLimit": {      "amount": 3000,      "currencyCode": "EUR"    },    "sellLimit": {      "amount": 3000,      "currencyCode": "EUR"    }  }}

Request

keystringrequired

A key to identify a question.

ExampleemploymentStatus

answerstringrequired

An answer to the question the key is referencing.

ExampleInvesting

Responses

200AMLD5 answers submitted successfully.
400A list of possible errors for this endpoint.

Body of the success response

emailAddressstring

Email address of the user.

Examplemail@example.com

firstNamestring

First name of the user.

ExampleJohn

lastNamestring

Last name of the user.

ExampleDoe

regionstring

Region of the user.

Examplenl-nl

phoneNumberstring

Phone number of the user.

Example

registrationDatestring

Registration date of the user.

Example2019-01-01T14:13:55Z

activationDatestring

The date and time the user account was activated.

Example2019-01-02T12:43:25Z

is_businessboolean

limitsobject

enabledIbanAccountsobject[]

Deprecated: Use enabledAccounts instead. Enabled IBAN accounts of the user.

enabledWalletAddressesobject[]

Enabled wallet addresses of the user.

enabledAccountsobject[]

Enabled accounts of the user.

statusobject

verificationLevelobject

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