> ## Documentation Index
> Fetch the complete documentation index at: https://bmpdocs.moneyp.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# 64 - Request Protest

> <p>Scopes:</p>
<b>api.ext api.boleto.protesto.solicitar</b>

Through this endpoint, it is possible to protest bills, allowing you to send up to 500 bills, with up to 3 business days to come into effect.


## OpenAPI

````yaml post /api/ProtestoBoleto/Solicitar
openapi: 3.0.1
info:
  title: BMPSPBExt
  description: '<p><strong>Build Number: </strong>#0.0</p>'
  version: v1
servers:
  - url: https://api.ext.dbs.moneyp.dev.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /api/ProtestoBoleto/Solicitar:
    post:
      tags:
        - ProtestoBoleto
      summary: Solicita o protesto de uma lista de boletos.
      description: "<p>Scopes:</p>\r\n<b>api.ext api.boleto.protesto.solicitar</b>"
      parameters:
        - name: IdempotencyKey
          in: header
          required: true
          schema:
            type: string
        - name: IgnoraHandshake
          in: header
          description: (somente em homologação)
          required: true
          schema:
            type: boolean
            default: true
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - $ref: >-
                    #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.SolicitarProtestosBoletoRequest
          text/json:
            schema:
              allOf:
                - $ref: >-
                    #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.SolicitarProtestosBoletoRequest
          application/*+json:
            schema:
              allOf:
                - $ref: >-
                    #/components/schemas/BMPSPB.Domain.Messaging.API.Externa.DDA.SolicitarProtestosBoletoRequest
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BMPSPB.Domain.Messaging.API.Shared.ResponseBase
        '400':
          description: Erro de negócio
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
        '500':
          description: Erro interno do servidor
          content:
            application/json:
              schema:
                type: object
                properties:
                  sucesso:
                    type: boolean
                  mensagem:
                    type: string
components:
  schemas:
    BMPSPB.Domain.Messaging.API.Externa.DDA.SolicitarProtestosBoletoRequest:
      type: object
      properties:
        numCodBarras:
          type: array
          items:
            type: string
          description: >-
            Lista de números de código de barras dos boletos protestados.


            Observação:

            - O número de cada um dos códigos de barras dos boletos protestados
            pode ter no máximo 44 caracteres.*
          nullable: true
      additionalProperties: false
    BMPSPB.Domain.Messaging.API.Shared.ResponseBase:
      type: object
      properties:
        sucesso:
          type: boolean
        mensagem:
          type: string
          nullable: true
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: Copie 'Bearer ' + token
      name: Authorization
      in: header

````