For the complete documentation index, see llms.txt. This page is also available as Markdown.

Document Types

An API to help you get information about the types of documents allowed for the country you want to work.


GET /documents-type

Request

curl -v --location --request GET 'https://sandbox.smartfastpay.com/documents-type?country=BRA' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <Access-Token>' \'

Parameters details

Parameter
Type
Required
Description

country

string (3) min: 3 | max: 3

yes

This parameter is required. Please, choose a country. Eg.: BRA, COL, ECU ...

Response

{
    "requestId": "167ffff1-b58b-4d1b-909e-ff714c594967",
    "data": [
        {
            "id": 1,
            "abbreviation": "CPF",
            "name": "Cadastro de Pessoa Física",
            "country": "BRA",
            "regex_validation": null
        },
        {
            "id": 2,
            "abbreviation": "CNPJ",
            "name": "Cadastro Nacional de Pessoa Jurídica",
            "country": "BRA",
            "regex_validation": null
        }
    ]
}

Response details

Parameter
Description

abbreviation

Acronym for document type abbreviation

name

Document type name

country

Country

regex_validation

Regex validation (if there is)

Last updated