Iugu Chargebacks API

The Chargebacks API from Iugu — 4 operation(s) for chargebacks.

Operations 4

GET /chargebacks Listar Contestação #
GET /chargebacks/{id} Buscar Contestação #
PUT /chargebacks/{id}/accept Acatar Contestação #
PUT /chargebacks/{id}/contest Disputar Contestação #

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-chargebacks-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-chargebacks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: contestação Chargebacks API
  version: '1.0'
servers:
- url: https://api.iugu.com/v1
security:
- sec0: []
tags:
- name: Chargebacks
paths:
  /chargebacks:
    get:
      summary: Listar Contestação
      description: Retorna uma lista com todas as contestações de sua conta.
      operationId: listar-contestacao
      parameters:
      - name: created_at_from
        in: path
        description: Filtra por data de criação
        schema:
          type: string
          format: date
        required: true
      - name: created_at_to
        in: path
        description: Filtra por data de criação
        schema:
          type: string
          format: date
        required: true
      - name: status
        in: path
        description: 'Filtra pelos status: "pending", "processing_file", "error", "accepted_by_client", "contested_by_client", "waiting_resolution", "lost", "won", "accepted_automatically", "reverted".'
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"facets\": {\n        \"pending\": {\n            \"_type\": \"filter\",\n            \"count\": 2\n        }\n    },\n    \"items\": [\n        {\n            \"id\": \"14B31AF16A254F3C9E22927989B879D8\",\n            \"invoice_id\": \"C9FD4AB9603B4E919559ADD9082895B7\",\n            \"status\": \"pending\",\n            \"expires_at\": \"2017-07-05\"\n        },\n        {\n            \"id\": \"D5F4DC1583BC4B19A77814A2C5ABC092\",\n            \"invoice_id\": \"C4E1B42BBC5146ACAAB27B03ED5D34F8\",\n            \"status\": \"pending\",\n            \"expires_at\": \"2017-06-27\"\n        }\n    ]\n}"
              schema:
                type: object
                properties:
                  facets:
                    type: object
                    properties:
                      pending:
                        type: object
                        properties:
                          _type:
                            type: string
                            example: filter
                          count:
                            type: integer
                            example: 2
                            default: 0
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: 14B31AF16A254F3C9E22927989B879D8
                        invoice_id:
                          type: string
                          example: C9FD4AB9603B4E919559ADD9082895B7
                        status:
                          type: string
                          example: pending
                        expires_at:
                          type: string
                          example: '2017-07-05'
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Chargebacks
  /chargebacks/{id}:
    get:
      summary: Buscar Contestação
      description: Retorna as informações de uma contestação.
      operationId: buscar-contestacao
      parameters:
      - name: id
        in: path
        description: ID da contestação
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": \"14B31AF16A254F3C9E22927989B879D8\",\n  \"invoice_id\": \"C9FD4AB9603B4E919559ADD9082895B7\",\n  \"status\": \"pending\",\n  \"expires_at\": \"2017-07-05\"\n}"
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: 14B31AF16A254F3C9E22927989B879D8
                  invoice_id:
                    type: string
                    example: C9FD4AB9603B4E919559ADD9082895B7
                  status:
                    type: string
                    example: pending
                  expires_at:
                    type: string
                    example: '2017-07-05'
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Chargebacks
  /chargebacks/{id}/accept:
    put:
      summary: Acatar Contestação
      description: Acata a solicitação de contestação.
      operationId: acatar-contestacao
      parameters:
      - name: id
        in: path
        description: ID da contestação
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": \"14B31AF16A254F3C9E22927989B879D8\",\n  \"invoice_id\": \"C9FD4AB9603B4E919559ADD9082895B7\",\n  \"status\": \"accepted\",\n  \"expires_at\": \"2017-07-05\"\n}"
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: 14B31AF16A254F3C9E22927989B879D8
                  invoice_id:
                    type: string
                    example: C9FD4AB9603B4E919559ADD9082895B7
                  status:
                    type: string
                    example: accepted
                  expires_at:
                    type: string
                    example: '2017-07-05'
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Chargebacks
  /chargebacks/{id}/contest:
    put:
      summary: Disputar Contestação
      description: Abre uma disputa sobre a contestação.
      operationId: disputar-contestacao
      parameters:
      - name: id
        in: path
        description: ID da contestação
        schema:
          type: string
        required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                file_1:
                  type: string
                  description: Enviar arquivo em base64
                  format: binary
                file_2:
                  type: string
                  description: Enviar arquivo em base64
                  format: binary
                file_3:
                  type: string
                  description: Enviar arquivo em base64
                  format: binary
                file_4:
                  type: string
                  description: Enviar arquivo em base64
                  format: binary
                file_5:
                  type: string
                  description: Enviar arquivo em base64
                  format: binary
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: ''
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Chargebacks
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/acatar-contestacao.md
  - https://dev.iugu.com/reference/buscar-contestacao.md
  - https://dev.iugu.com/reference/disputar-contestacao.md
  - https://dev.iugu.com/reference/listar-contestacao.md
  merge:
    pages: 4
    deduped: 3
    conflicts_kept_first: 0