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

# Document Types

***

### <mark style="color:green;">GET</mark> /documents-type

{% hint style="info" %}
**Request**
{% endhint %}

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



{% hint style="info" %}
**Parameters details**
{% endhint %}

<table><thead><tr><th width="138.33333333333331">Parameter</th><th width="197" align="center">Type</th><th width="103">Required</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;"><code>country</code></mark></td><td align="center"><mark style="color:red;"><code>string (3)</code></mark><br><mark style="color:red;"><code>min: 3 | max: 3</code></mark></td><td><strong>yes</strong></td><td>This parameter is required. Please, choose a country.<br><br><strong>Eg.: BRA, COL, ECU ...</strong></td></tr></tbody></table>



{% hint style="info" %}
**Response**
{% endhint %}

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

{% hint style="info" %}
**Response details**
{% endhint %}

<table><thead><tr><th width="189">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:red;"><code>abbreviation</code></mark></td><td>Acronym for document type abbreviation</td></tr><tr><td><mark style="color:red;"><code>name</code></mark></td><td>Document type name</td></tr></tbody></table>
