LogoLogo
Dev Portal
v2
v2
  • REST API
  • Overview
  • API REFERENCE
    • API Requests
    • Payments
    • Payouts
  • THESMARTWAY
    • Checkout Experience
      • Overview
    • API Requests
      • Transactions
      • Country Codes
      • Currency Codes
      • Document Types
      • Wallet
      • Our Status and Flow
    • Notification & Webhooks
      • Notifications
      • Get Secret
      • Events Signature
  • METHODS & MARKETS
    • PayIn
      • Overview
      • LATAM
        • Brazil
          • PIX
          • Bank Transfer
          • Credit Card
          • Boleto
          • PicPay
        • Peru
          • Bank Transfer
          • CIP
          • Wallet
          • Credit Card
        • Equador
          • Wallet
          • Bank Transfer
          • Mobile Money
        • Colombia
          • PSE
          • Nequi
          • Bancolombia
          • Transfiya
          • Efecty
        • Chile
          • Bank Transfer
          • Wallet
          • Credit Card
        • Bolivia
          • Wallet
        • México
          • Bank Transfer
        • Argentina
          • Bank Transfer
      • ASIA
        • India
          • Bank Transfer
    • PayOut
      • Overview
      • LATAM
        • Brazil
          • PIX
          • Bank Transfer
        • Colombia
          • Transfiya
          • Bank Transfer
        • Peru
          • Bank Transfer
        • Ecuador
          • Bank Transfer
          • Mobile Money
        • Chile
          • Bank Transfer
        • México
          • Bank Transfer
        • Bolivia
          • Bank Transfer
        • Argentina
          • Bank Transfer
      • ASIA
        • India
          • Bank Transfer
  • RESOURCES
    • FAQ & Support
      • How to get the token
      • Tests to validate your integration
Powered by GitBook
On this page
  1. THESMARTWAY
  2. API Requests

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"
        },
        {
            "id": 2,
            "abbreviation": "CNPJ",
            "name": "Cadastro Nacional de Pessoa Jurídica"
        }
    ]
}

Response details

Parameter
Description

abbreviation

Acronym for document type abbreviation

name

Document type name

Last updated 5 months ago