BTG Pactual Análise de Crédito Solar API

The Análise de Crédito Solar API from BTG Pactual — 2 operation(s) for análise de crédito solar.

Operations 2

POST /credit-analysis Create credit analysis #
GET /originators Get originators #

Documentation

📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Acquirers%20-%20PaymentLink/acquirers-paymentlink
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Acquirers%20-%20Salesprovider/acquirers-salesprovider
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/ANTECRED-Subcredenciadores/antecred-subcredenciadores
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Accounts/banking-accounts
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Cards/banking-cards
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20CCReceivables/banking-ccreceivables
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Collections/banking-collections
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20DDA/banking-dda
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20PaymentLink/banking-paymentlink
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20PaymentLinkRec/banking-paymentlinkrec
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Payments/banking-payments
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Payroll/banking-payroll
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Pix%20Autom%5Cxe1tico/banking-pix-automatico
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20PixCashin/banking-pixcashin
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Protest/banking-protest
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Banking%20-%20Split/banking-split
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/BankingHub%20-%20Open%20Finance%20Balance%20Refresh/bankinghub-open-finance-balance-refresh
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/CrediFlow%20-%20Ativos%20e%20Cess%5Cxf5es/crediflow-ativos-e-cessoes
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Consignado%20Privado/fidc-consignado-privado
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Credit%20Conciliation/fidc-credit-conciliation
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Document/fidc-document
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Eligibility/fidc-eligibility
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Motor%20de%20Credito/fidc-motor-de-credito
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Operation/fidc-operation
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Payment/fidc-payment
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Portability/fidc-portability
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Prepayment/fidc-prepayment
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Renegotiation/fidc-renegotiation
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Simulation/fidc-simulation
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Wallet/fidc-wallet
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/FIDC%20-%20Warranty/fidc-warranty
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Files/files
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/HUBFX%20-%20Cambio/hubfx-cambio
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/KGIRO%20-%20Leads%20de%20Cr%5Cxe9dito/kgiro-leads-de-credito
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Onboarding/onboarding
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/SCF%20-%20Colombia/scf-colombia
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/SCF%20-%20Risco%20Sacado/scf-risco-sacado
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/SCF-Financiers-Supplier/scf-financiers-supplier
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Solar-CreditAnalysis/solar-creditanalysis
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Solar-Workflow/solar-workflow
📖
Documentation
https://developers.empresas.btgpactual.com/docs/api-specs-target/Webhooks/webhooks

Specifications

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/btg-pactual:btg-pactual-an-lise-de-cr-dito-solar-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

btg-pactual-an-lise-de-cr-dito-solar-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  description: Solar-CreditAnalysis
  title: Solar-CreditAnalysis Análise de Crédito Solar API
servers:
- url: https://api.sandbox.empresas.btgpactual.com/v1/wf-solar
  description: Sandbox
- url: https://api.empresas.btgpactual.com/v1/wf-solar
  description: Produção
tags:
- name: Análise de Crédito Solar
paths:
  /credit-analysis:
    post:
      tags:
      - Análise de Crédito Solar
      description: Gerar uma análise de crédito
      requestBody:
        content:
          application/json:
            schema:
              required:
              - customerIdentification
              - primaryOriginatorAs
              - customerName
              - customerEmail
              - distributorCnpj
              - integratorCnpj
              - monthlyBilling
              - electricBillAverage
              - projectValue
              - cep
              - address
              - number
              - district
              - city
              - state
              type: object
              properties:
                primaryOriginatorAs:
                  description: Tipo do originador primário.
                  enum:
                  - INTEGRATOR
                  - DISTRIBUTOR
                  type: string
                  example: DISTRIBUTOR
                customerIdentification:
                  description: CPF ou CNPJ do cliente.
                  type: string
                  example: '00000000000'
                customerName:
                  description: Nome do cliente.
                  type: string
                  example: NOME CLIENTE
                customerEmail:
                  description: E-mail do cliente.
                  type: string
                  example: example@example.com
                distributorCnpj:
                  description: CNPJ do distribuidor.
                  type: string
                  example: '00000000000000'
                integratorCnpj:
                  description: CNPJ do integrador.
                  type: string
                  example: '00000000000000'
                marketPlaceCnpj:
                  description: CNPJ do market place.
                  type: string
                  example: '00000000000000'
                operatorCpf:
                  description: CPF do operador a ser atrelado à operação.
                  type: string
                  example: '00000000000'
                monthlyBilling:
                  format: decimal
                  description: Declaração de renda ou faturamento mensal do cliente (em reais).
                  type: number
                  example: '50000.00'
                electricBillAverage:
                  format: decimal
                  description: Valor médio da conta de luz dos últimos 12 meses.
                  type: number
                  example: '10000.00'
                projectValue:
                  format: decimal
                  description: Valor do projeto (em reais).
                  type: number
                  example: '30000.00'
                cep:
                  description: CEP do local de instalação.
                  type: string
                  example: '00000000'
                address:
                  description: Endereço do local de instalação.
                  type: string
                  example: Rua exemplo
                number:
                  description: Número do local de instalação.
                  type: string
                  example: '123'
                complement:
                  description: Complemento do local de instalação.
                  type: string
                  example: APTO 0
                district:
                  description: Bairro do local de instalação.
                  type: string
                  example: BAIRRO EXEMPLO
                city:
                  description: Cidade do local de instalação.
                  type: string
                  example: SAO PAULO
                state:
                  description: Estado do local de instalação.
                  type: string
                  example: SP
              title: CreatePreAnalysis
            examples:
              Análise de solar:
                value:
                  primaryOriginatorAs: INTEGRATOR
                  customerIdentification: '00000000000'
                  customerName: NOME CLIENTE
                  customerEmail: example@example.com
                  distributorCnpj: '00000000000000'
                  integratorCnpj: '00000000000000'
                  marketPlaceCnpj: '00000000000000'
                  operatorCpf: '00000000000'
                  monthlyBilling: 50000
                  electricBillAverage: 10000
                  projectValue: 50000
                  cep: '00000000'
                  address: RUA EXEMPLO
                  number: '123'
                  complement: APTO 0
                  district: BAIRRO EXEMPLO
                  city: SAO PAULO
                  state: SP
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                title: Root Type for SuccessResponse
                description: ''
                type: object
                properties:
                  originId:
                    description: Identificação da análise. Usado para identificar as análises nos eventos dos webhooks.
                    type: string
                    example: 6ea7c852-c8a7-4a53-95f8-3eac34c530ff
                example:
                  originId: 6ea7c852-c8a7-4a53-95f8-3eac34c530ff
              examples:
                Sucesso:
                  value:
                    originId: 6ea7c852-c8a7-4a53-95f8-3eac34c530ff
          description: Dados da análise foram validados e em breve será retornada a análise pelo motor de crédito
        '400':
          content:
            application/json:
              schema:
                title: Root Type for InvalidParametersErrorResponse
                description: ''
                type: object
                properties:
                  brn:
                    description: Identificação do erro
                    type: string
                    example: brn:empresas:credit-manager:errors:invalid-input
                  name:
                    description: Nome do erro
                    type: string
                    example: InvalidParams
                  invalidParams:
                    description: Parâmetros inválidos da requisição
                    type: array
                    items:
                      title: Root Type for InvalidParams
                      description: Parâmetros inválidos
                      type: object
                      properties:
                        name:
                          description: Nome do campo com erro
                          type: string
                          example: customerIdentification
                        value:
                          description: Valor que foi preenchido no campo
                          type: string
                        reason:
                          description: Motivo do erro
                          type: string
                          example: Campo obrigatório
                      example:
                        name: customerIdentification
                        value: ''
                        reason: Campo obrigatório
                example:
                  brn: brn:empresas:credit-manager:errors:invalid-input
                  name: InvalidParams
                  invalidParams:
                  - name: customerIdentification
                    value: ''
                    reason: Campo obrigatório
              examples:
                Campos obrigatórios não preenchidos:
                  value:
                    brn: brn:empresas:credit-manager:errors:invalid-input
                    name: InvalidParams
                    invalidParams:
                    - name: customerIdentification
                      value: ''
                      reason: Campo obrigatório
          description: Parâmetros da requidição inválidos.
        '403':
          content:
            application/json:
              schema:
                title: Root Type for ForbidenErrorResponse
                description: Não é possível seguir, pois a análise para o cliente em questão parou em alguma validação.
                type: object
                properties:
                  brn:
                    description: Identificação do erro
                    type: string
                    example: brn:empresas:credit-manager:errors:forbidden
                  name:
                    description: Nome do erro
                    type: string
                    example: UnavailableProductForOriginatorAndClient
                example:
                  brn: brn:empresas:credit-manager:errors:forbidden
                  name: UnavailableProductForOriginatorAndClient
              examples:
                Cliente já opera o produto com outro originador.:
                  value:
                    brn: brn:empresas:credit-manager:errors:forbidden
                    name: UnavailableProductForOriginatorAndClient
                Cliente já possui outra análise de financiamento solar em andamento.:
                  value:
                    brn: brn:empresas:credit-manager:errors:forbidden
                    name: ClientHasLeadAlreadyInProgress
          description: Não é possível seguir, pois a análise para o cliente em questão parou em alguma validação.
        '500':
          content:
            application/json:
              schema:
                title: Root Type for UnexpectedErrorResponse
                description: Erro interno não mapeado, tentar novamente mais tarde. Caso o erro persista, contatar o atendimento.
                type: object
                properties:
                  brn:
                    description: Identificação do erro
                    type: string
                    example: brn:empresas:credit-manager:errors:internal-server-error
                  name:
                    description: Nome do erro
                    type: string
                    example: LeadCreationUnexpectedError
                example:
                  brn: brn:empresas:credit-manager:errors:internal-server-error
                  name: LeadCreationUnexpectedError
              examples:
                Erro inteno:
                  value:
                    brn: brn:empresas:credit-manager:errors:internal-server-error
                    name: LeadCreationUnexpectedError
          description: Erro interno não mapeado, tentar novamente mais tarde. Caso o erro persista, contatar o atendimento.
      security:
      - oauth2:
        - empresas.btgpactual.com/solar-credit
      x-docs-url: https://developers.empresas.btgpactual.com/docs/api-specs-target/Solar-CreditAnalysis/gerar-uma-analise-de-credito
      summary: Create credit analysis
      x-summary-source: derived
      operationId: postCreditAnalysis
      x-operation-id-source: derived
  /originators:
    get:
      tags:
      - Análise de Crédito Solar
      description: Verificar se uma determinada empresa está apta a operar o fluxo solar
      parameters:
      - name: cnpj
        description: CNPJ da empresa
        schema:
          type: string
        in: query
        required: true
      - name: type
        description: Tipo da empresa
        schema:
          enum:
          - Integrator
          - Distributor
          - MarketPlace
          type: string
        in: query
        required: true
      responses:
        '201':
          description: Batch Recebido
      security:
      - oauth2:
        - empresas.btgpactual.com/solar-credit
        - empresas.btgpactual.com/solar-credit.readonly
      x-docs-url: https://developers.empresas.btgpactual.com/docs/api-specs-target/Solar-CreditAnalysis/verificar-se-uma-determinada-empresa-esta-apta-a-operar-o-fluxo-solar
      summary: Get originators
      x-summary-source: derived
      operationId: getOriginators
      x-operation-id-source: derived
components:
  securitySchemes:
    oauth2:
      flows:
        authorizationCode:
          authorizationUrl: https://id.uat.btgmaisbusiness.com/oauth2/authorize
          tokenUrl: https://id.uat.btgmaisbusiness.com/oauth2/token
          scopes:
            openid: Perfil público BTG+ Business
            bank-slips: Consentimento para selecionar quais contas de beneficiario
            bank-slips:write: Criar e atualizar boletos
            bank-slips:read: Consultar boletos
      type: oauth2
x-reassembled-from:
  source: https://developers.empresas.btgpactual.com/docs/api-specs-target/
  method: Operation objects decoded verbatim from the "api" payload that the provider's Docusaurus OpenAPI docs embed in each reference page chunk (/assets/js/*.js); grouped by info.title; jsonRequestBodyExample and postman keys dropped.
  chunks:
  - https://developers.empresas.btgpactual.com/assets/js/539b66de.aa586bf3.js
  - https://developers.empresas.btgpactual.com/assets/js/a5d07f1d.ed80b1e0.js