Home
Home
  1. 💸 Transaction API
  • 🚀 Getting Started
  • 🔎 Screening API
    • Overview
    • Blacklist Matching Logic
    • Blockchain Analysis
      POST
    • Individuals Analysis
      POST
    • Organizations Analysis
      POST
    • Screening Entities Summary Analysis
      POST
    • Create BlackList
      POST
    • Get All BlackList Records
      GET
    • Get Blacklist Record by ID
      GET
    • Delete Blacklist Record by ID
      DELETE
    • Update Blacklist Record by ID
      PATCH
    • Update Blacklist Settings Account
      PATCH
  • 🌊 Flow API
    • Overview
    • Flow Step: Identity Verification
    • Flow Step: Onboarding Individual
    • Flow Step: Onboarding Organization
    • 📡 Endpoints
      • Authentication token
      • Get Flow Instance
      • Get File from Flow Instance
      • Identity: Get Details
      • Identity: Get Files
      • Identity: Update Status
      • Onboarding: Get Details
      • Onboarding: Get File
      • Onboarding: Get Multiple Files
      • Onboarding: Update Status
    • 📤 Webhooks
      • Webhooks Overview
      • Flow
      • Identity Verification
      • Onboarding Individual
      • Onboarding Organizations
      • Identity Verification by Onboarding
  • 💸 Transaction API
    • 🔑 Authentication
    • Overview
    • Transaction Analysis
    • Transaction Status
    • Document Types
    • Cryptocurrencies
    • Diagram
    • 📤 Webhooks
  • 📡 Endpoints
    • Create operation
    • Get operation
    • Get valid document types
    • Get valid coins
  • 📂 Resources
    • Concept Details
    • Enum Validation
Home
Home
  1. 💸 Transaction API

Document Types

This endpoint allows you to access valid document types by country. There are two types of documents:
Natural persons: person
Legal entities: company
By using this endpoint, you can obtain the "type" corresponding to the specific country, which will allow you to identify the required document type.
URL: https://app.rillis.io/api/v1/resources/validation/document-types
Method: POST

Request#

Body Parameters#

ParameterTypeRequiredDescription
client_idStringYesYour unique client identifier.
client_secretStringYesYour secret key for API authentication.

Example Request (All Document Types)#

{
  "client_id": "your_client_id",
  "client_secret": "your_client_secret"
}

Response#

A successful request [status: 200] will return the following JSON response:
{
    "person": [
        {
            "code": "CHL",
            "name": "CHILE",
            "locTypes": [
                {
                    "type": "CL-PASS",
                    "name": "PASSPORT NUMBER"
                },
                // Additional document types...
            ]
        },
        // Additional countries...
    ],
    "company": [
        {
            "code": "CHL",
            "name": "CHILE",
            "locTypes": [
                {
                    "type": "CL-RUN",
                    "name": "ROL UNICO NACIONAL"
                },
                // Additional document types...
            ]
        },
        // Additional countries...
    ]
}

Response Parameters#

ParameterTypeDescription
personArrayList of countries with document types for individuals.
companyArrayList of countries with document types for companies.
codeStringCountry code in ISO 3166-1 alpha-3 format.
nameStringCountry name.
locTypesArrayList of document types available for the country.
locTypes.typeStringDocument type code.
locTypes.nameStringDocument type name.

Error Responses#

In case of an error, the API will return an appropriate HTTP status code along with a JSON response containing error details:
Status CodeDescription
400Bad Request - The request was invalid or cannot be processed.
401Unauthorized - Authentication credentials are missing or invalid.
403Forbidden - The client does not have permission to access the requested resource.
429Too Many Requests - The client has sent too many requests in a given amount of time.
500Internal Server Error - An error occurred on the server.

Example Error Response#

{
  "success": false,
  "error": "Invalid country code",
  "error_code": "INVALID_PARAMETER",
  "details": "Country code must be a valid ISO 3166-1 alpha-2 code"
}

Rate Limits#

Maximum of 100 requests per minute.
Maximum of 1,000 requests per hour.
Maximum of 10,000 requests per day.
Exceeding these limits will result in a 429 Too Many Requests response.
Modified at 2025-10-24 20:51:03
Previous
Transaction Status
Next
Cryptocurrencies
Built with