You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.
Start card verification process for the authenticated user
User/Verify
POST/api/v1/user/verify/card
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/card \ -H "Authorization: Bearer $BTCD_PARTNER_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "accountIdentifier": "123456_9876_02_2029" }'Choose an environment to run this.
Response
Card verification process started successfully.
{ "type": "sumsub", "status": "initiated", "data": {}}Request
accountIdentifierstringrequired
The account identifier of the card to verify.
Example123456_9876_02_2029
Responses
200Card verification process started successfully.400A list of possible errors for this endpoint.Body of the success response
typestring
The provider type.
Examplesumsub
statusstringrequired
The verification status.
Exampleinitiated
dataobject
Provider-specific data.
Defaultnull
Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.