Environment

Learn more about the different environments available.

KYC Verifications API

The KYC Verifications API will offer various types of verifications. Each will determine the specific information required for that particular flow.

This API outlines the process for creating and managing verifications, providing a more transparent and efficient approach to handling information that requires additional verification.. Each will determine the specific information required for that particular flow.

This API will allow merchants to:

  • Create a verification
  • Update a verification by uploading the required information.
  • Retrieve the status of a verification and its documents.
  • Notify the systems or the merchant about any significant updates on the verification.

Verifications services endpoints

ServiceMethod & endpointDescription
Create a verificationPOST /verificationsThis service can be used to create a verification.
Get verification detailsGET /verifications/{verification-id}This service can be used to retrieve a verification.
Get documentsGET /verifications/{verification-id}/documentsThis service can be used to retrieve the required documentation that needs to be sent for a given verification. These documents must be sent and validated by dLocal for the verification to be approved.
Update documentPATCH /verifications/{verification-id}/documents/{document-id}This service is responsible for updating a specific document associated with a given verification using a multipart/form-data request.

Depending on the type of document and its status, the information is allowed to be updated.

Operation is only permitted when the document has a status: PENDING. Once the document status changes to COMPLETED, ERROR, or APPROVED, updates via PATCH will not be possible.

Environment URLs: Sandbox and Production

URLs

URL Selector with Opacity

Sandbox

There is a test environment available for integration development and testing, which simulates most of the requests and transaction types available in the platform. You can use this environment to ensure your requests are handled accordingly.

📘

Please note that in the test environment no transactions will actually be processed.

Production

After the testing phase is successful, you are ready to go live in the production environment.

Pagination

The API pagination behaves uniformly throughout the API, with its structure being as follows

Response example

{
  "items": [
    {}
  ],
  "current_page": 0,
  "total_pages": 1,
  "page_size": 1,
  "total": 1
}

Field description

FieldTypeDescription
codeStringError’s code
messageStringError’s description.
fieldStringField indicating the parameter associated with the reported error.

Get your API credentials

Remember that all dLocal API requests require API credentials to verify the call is being made through a valid dLocal account.

🚧

Please contact your Technical Account Manager to obtain them.