Iugu Charge Two Credit Cards API

The Charge Two Credit Cards API from Iugu — 1 operation(s) for charge two credit cards.

Operations 1

POST /charge_two_credit_cards Cobrança Direta com 2 Cartões #

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-charge-two-credit-cards-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-charge-two-credit-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: tokens-e-cobrança-direta Charge Two Credit Cards API
  version: '1.0'
servers:
- url: https://api.iugu.com/v1
security:
- sec0: []
tags:
- name: Charge Two Credit Cards
paths:
  /charge_two_credit_cards:
    post:
      summary: Cobrança Direta com 2 Cartões
      description: Cobre **faturas avulsas** em 2 cartões diferentes. Saiba mais sobre Tokenização.
      operationId: cobranca-direta-com-2-cartoes
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - api_token
              properties:
                api_token:
                  type: string
                  description: '`api_token` da Conta que efetuará a cobrança'
                invoice_id:
                  type: string
                  description: ID da invoice
                iugu_credit_card_payment:
                  type: array
                  description: '**Limite de 2 objetos**'
                  items:
                    properties:
                      token:
                        type: string
                        description: Token do Cartão
                      amount:
                        type: integer
                        description: Quantia a ser cobrada neste cartão (em cents)
                        format: int32
                    type: object
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"invoice\": {\n        \"status\": \"paid\"\n    },\n    \"credit_card_transactions\": [\n        {\n            \"reversible\": true,\n            \"last4\": \"5076\",\n            \"bin\": 516292,\n            \"brand\": \"Master\",\n            \"token\": \"token\",\n            \"message\": \"Transacao capturada com sucesso\",\n            \"success\": true,\n            \"issuer\": \"BANCO X\",\n            \"invoice_id\": \"BD9B9AE34DD44B08A75AB245CEA9B78D\",\n            \"LR\": \"00\"\n        },\n        {\n            \"reversible\": true,\n            \"last4\": \"1111\",\n            \"bin\": 549354,\n            \"brand\": \"Master\",\n            \"token\": \"token\",\n            \"message\": \"Transacao capturada com sucesso\",\n            \"success\": true,\n            \"issuer\": \"BANCO Y\",\n            \"invoice_id\": \"BD9B9AE34DD44B08A75AB245CEA9B78D\",\n            \"LR\": \"00\"\n        }\n    ]\n}"
              schema:
                type: object
                properties:
                  invoice:
                    type: object
                    properties:
                      status:
                        type: string
                        example: paid
                  credit_card_transactions:
                    type: array
                    items:
                      type: object
                      properties:
                        reversible:
                          type: boolean
                          example: true
                          default: true
                        last4:
                          type: string
                          example: '5076'
                        bin:
                          type: integer
                          example: 516292
                          default: 0
                        brand:
                          type: string
                          example: Master
                        token:
                          type: string
                          example: token
                        message:
                          type: string
                          example: Transacao capturada com sucesso
                        success:
                          type: boolean
                          example: true
                          default: true
                        issuer:
                          type: string
                          example: BANCO X
                        invoice_id:
                          type: string
                          example: BD9B9AE34DD44B08A75AB245CEA9B78D
                        LR:
                          type: string
                          example: '00'
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      security: []
      tags:
      - Charge Two Credit Cards
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/cobranca-direta-com-2-cartoes.md
  - https://dev.iugu.com/reference/cobranca-direta.md
  - https://dev.iugu.com/reference/criar-token.md
  - https://dev.iugu.com/reference/listar-api-tokens.md
  - https://dev.iugu.com/reference/reemissao-de-fatura-expirada.md
  merge:
    pages: 5
    deduped: 4
    conflicts_kept_first: 0