Iugu Validate API

The Validate API from Iugu — 1 operation(s) for validate.

Operations 1

POST /validate Validar Pagamento #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/iugu:iugu-validate-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

iugu-validate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: listar-pagamentos Validate API
  version: '1.0'
servers:
- url: https://api.iugu.com/v1/payment_requests
security:
- sec0: []
tags:
- name: Validate
paths:
  /validate:
    post:
      summary: Validar Pagamento
      description: 'Valida se a linha digitavel de um boleto é valida. É importante se atentar ao parâmetro *"details"* onde será informado se o boleto esta em aberto ou baixado na CIP/Nuclea, Exemplo: Boletos pagos, cancelados ou expirados será retornado como "Retorno CIP 01 Boleto já baixado",'
      operationId: valida-pagamento
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - barcode
              - detailed
              properties:
                barcode:
                  type: string
                  description: Código de barras do pagamento
                detailed:
                  type: boolean
                  description: Detalhes do boleto, deverá ser enviado como "true"
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"message\": \"Boleto é válido\"\n}"
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Boleto é válido
            text/plain:
              examples:
                Result:
                  value: "{\n    \"message\": \"Boleto é válido\",\n    \"payment_info\": {\n        \"barcode\": \"12345610000000000001857380066019194920000008900\",\n        \"amount_cents\": 8900,\n        \"fine_cents\": 178,\n        \"interest_cents\": 35,\n        \"discount_cents\": 0,\n        \"total_amount_cents\": 9113,\n        \"recipient_name\": \"LOJISTA LTDA\",\n        \"recipient_cnpj_cpf\": \"12350768000171\",\n        \"payer_name\": \"NOME PAGADORA\",\n        \"payer_cnpj_cpf\": \"12345678900\",\n        \"allow_amount_change\": false,\n        \"allow_partial_payment\": false,\n        \"due_date\": \"2024-08-03\",\n        \"maximum_payment_date\": \"2024-09-23T00:00:00.000Z\",\n        \"details\": \"Retorno CIP  01 Boleto já baixado\",\n        \"emitter\": \"EMISSOR\",\n        \"payee_cnpj_cpf\": \"12345668000001\"\n    }\n}"
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Boleto é válido
                  payment_info:
                    type: object
                    properties:
                      barcode:
                        type: string
                        example: '12345610000000000001857380066019194920000008900'
                      amount_cents:
                        type: integer
                        example: 8900
                        default: 0
                      fine_cents:
                        type: integer
                        example: 178
                        default: 0
                      interest_cents:
                        type: integer
                        example: 35
                        default: 0
                      discount_cents:
                        type: integer
                        example: 0
                        default: 0
                      total_amount_cents:
                        type: integer
                        example: 9113
                        default: 0
                      recipient_name:
                        type: string
                        example: LOJISTA LTDA
                      recipient_cnpj_cpf:
                        type: string
                        example: '12350768000171'
                      payer_name:
                        type: string
                        example: NOME PAGADORA
                      payer_cnpj_cpf:
                        type: string
                        example: '12345678900'
                      allow_amount_change:
                        type: boolean
                        example: false
                        default: true
                      allow_partial_payment:
                        type: boolean
                        example: false
                        default: true
                      due_date:
                        type: string
                        example: '2024-08-03'
                      maximum_payment_date:
                        type: string
                        example: '2024-09-23T00:00:00.000Z'
                      details:
                        type: string
                        example: Retorno CIP  01 Boleto já baixado
                      emitter:
                        type: string
                        example: EMISSOR
                      payee_cnpj_cpf:
                        type: string
                        example: '12345668000001'
      deprecated: false
      tags:
      - Validate
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: query
      name: api_token
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://dev.iugu.com/reference
  harvested: '2026-10-14'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://dev.iugu.com/reference/buscar-pagamento.md
  - https://dev.iugu.com/reference/criar-pedido-de-pagamento.md
  - https://dev.iugu.com/reference/listar-pagamentos.md
  - https://dev.iugu.com/reference/valida-pagamento.md
  merge:
    pages: 4
    deduped: 3
    conflicts_kept_first: 0