KYC Endpoint
Validate your customer's KYC information in real time by using the KYC Endpoint
KYC Request
POST
https://api-stg.directa24.com/v1/kyc
This endpoint allows you to validate yout customer KYC information.
Headers
Name | Type | Description |
---|---|---|
Content-Type* | string |
|
X-Date* | string | ISO8601 Datetime with Timezone: |
X-Login* | string | Merchant X-Login Deposits API Key |
Authorization* | string | Authorization control hash |
Request Body
Name | Type | Description |
---|---|---|
country* | String | Country of the user |
document | String | Document of identity of the user |
document_type | String | Type of the document specified |
first_name | String | First name of the user |
last_name | String | Last name of the user |
phone | String | Phone number of the user |
String | Email address of the user | |
bank_account | object | Bank account of the user |
user_ip | String | IP address of the user |
Note: To use this API (both on Staging or Production environments), please contact us via integration@d24.com or your responsible account manager, with some information about your merchant, so we can enable this feature for your account, as this comes disabled from default Until there's a confirmation from our integration team, you won't be able to use this API and you'll receive an error.
Description
Incorporate this API's functionalities on the user's registration or purchase process to verify their identities and prevent frauds before it get's to affect your operations.
Forget to incorporate dozens of different fraud providers, with this API you have an all-in-one validation tool that scans all (or at least one of) the following details:
The Document of Identity
The Email Address
The Phone Number
The Bank Account
Depending upon the information you specify on the requests it's the details we will share back to you.
In order to start using this API, you need to:
Send the request with POST method.
Use the headers described here.
Specify the details required to perform the KYC in the body as JSON
This API must be activated on your account. Check with your Account Manager regarding the activation
Example Request
Request fields description
Field | Format | Description | Validations |
---|---|---|---|
| string (length: 2) | Country code of the deposit in ISO 3166-1 alpha-2 code format | |
| string (max length: 30) | Document of identity of the user | Valid document for the country of the user |
| string (max length: 10) | Type of the document specified | Valid document type for the country of the user |
| string (max length: 255) | First name of the user | String of up to 255 characters |
| string (max length: 255) | Last name of the user | String of up to 255 characters |
| string (max length: 255) | Phone number of the user | |
| string (max length: 255) | Email address of the user | |
| object | Bank account of the user | |
| String (max length: 255) | IP Address of the user | Valid IPv4 or IPv6 |
Example Responses
Success Example
Error Responses Example
Error Responses Fields
Field | Format | Description |
---|---|---|
| Integer | Error code. Click here to check all the possible error codes |
| String | Type of the error. Click here to check all the possible error types for refund |
| String | Human readable description of the error |