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
Content-Type*
string
application/json
X-Date*
string
ISO8601 Datetime with Timezone: yyyy-MM-dd'T'HH:mm:ssZ
X-Login*
string
Merchant X-Login Deposits API Key
Authorization*
string
Authorization control hash
Request Body
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
200: OK Success400: Bad Request Validation error401: Unauthorized Invalid CredentialsCopy
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 (please note that at the moment, this is only available in Brazil)
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
Please note that this example request is specific to Brazil. Example requests may vary by country.
cURLCopy
Request fields description
country
string (length: 2)
Country code of the deposit in ISO 3166-1 alpha-2 code format
document
string (max length: 30)
Document of identity of the user
Valid document for the country of the user
document_type
string (max length: 10)
Type of the document specified
Valid document type for the country of the user
first_name
string (max length: 255)
First name of the user
String of up to 255 characters
last_name
string (max length: 255)
Last name of the user
String of up to 255 characters
phone
string (max length: 255)
Phone number of the user
email
string (max length: 255)
Email address of the user
bank_account
object
Bank account of the user
user_ip
String (max length: 255)
IP Address of the user
Valid IPv4 or IPv6
Example Responses
Success Example
🇧🇷 Brazil🇵🇪 Peru🇨🇱 ChileCopy
Error Responses Example
Copy
Error Responses Fields
code
Integer
type
String
description
String
Human readable description of the error
Last updated