> ## 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.

# 27 - Detalhes de Contestação

> <p>Scopes:</p>
<b>api.pix api.contestacao.consultar</b>



## OpenAPI

````yaml get /api/v1/Contestacao/detalhes/{codigoContestacao}
openapi: 3.0.1
info:
  title: Api Externa BMP SPI
  description: '<p><strong>Build Number: </strong>#0.0</p>'
  version: v1
servers:
  - url: https://api.ext.pix.dbs.moneyp.com.br/
    description: Localhost
security:
  - Bearer: []
paths:
  /api/v1/Contestacao/detalhes/{codigoContestacao}:
    get:
      tags:
        - Contestacao
      summary: Consulta detalhes da contestação.
      description: "<p>Scopes:</p>\r\n<b>api.pix api.contestacao.consultar</b>"
      parameters:
        - name: codigoContestacao
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/BMPSPB.Domain.Messaging.Contestacao.PixMed.DetalhesContestacaoResponse
        '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.Contestacao.PixMed.DetalhesContestacaoResponse:
      type: object
      properties:
        codigo:
          type: string
          format: uuid
        codigoTicket:
          type: string
          format: uuid
        numPedido:
          type: string
          nullable: true
        dtInclusao:
          type: string
          format: date-time
        situacao:
          allOf:
            - $ref: '#/components/schemas/BMPSPB.Infra.Enums.SituacaoContestacao'
          nullable: true
        prazoResposta:
          type: string
          format: date-time
          nullable: true
        nomeRecebedor:
          type: string
          nullable: true
        nsu:
          type: integer
          format: int64
          nullable: true
        valor:
          type: number
          format: double
      additionalProperties: false
    BMPSPB.Infra.Enums.SituacaoContestacao:
      enum:
        - 0
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
      type: integer
      description: ''
      format: int32
  securitySchemes:
    Bearer:
      type: apiKey
      description: Copie 'Bearer ' + token
      name: Authorization
      in: header

````