> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bitrangers.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Отменить выплату

> Отменяет выплату по requestId. Тело не передаётся. Ключ передайте query-параметром api_key. В ответе статус со значением cancelled, сумма на стороне from и курс.



## OpenAPI

````yaml /openapi.json post /premium-exchanger/applications/{requestId}/cancel
openapi: 3.0.0
info:
  title: BitRangers API
  description: >-
    Партнёрское API BitRangers: заявки, баланс, курсы, Premium Exchanger и
    Legacy.
  version: '1.0'
servers:
  - url: https://api.bitrangers.space
security: []
paths:
  /premium-exchanger/applications/{requestId}/cancel:
    post:
      tags:
        - premium-exchanger
      summary: Отменить выплату
      description: >-
        Отменяет выплату по requestId. Тело не передаётся. Ключ передайте
        query-параметром api_key. В ответе статус со значением cancelled, сумма
        на стороне from и курс.
      operationId: cancelPremiumPayout
      parameters:
        - name: requestId
          required: true
          in: path
          description: Идентификатор выплаты, переданный в теге id.
          schema:
            type: string
            example: bid-1
      responses:
        '200':
          description: Выплата отменена.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                      - pending
                      - processing
                      - closed
                      - problem
                      - cancelled
                  from:
                    type: string
                    nullable: true
                  to:
                    type: string
                    nullable: true
                  amount:
                    type: string
                  rate:
                    type: string
              example:
                id: bid-1
                status: cancelled
                from: SBERRUB
                to: USDTTRC20
                amount: '10000'
                rate: '90.1'
      security:
        - premiumApiKey: []
components:
  securitySchemes:
    premiumApiKey:
      type: apiKey
      in: query
      name: api_key
      description: Ключ партнёра. Передайте его query-параметром api_key.
      x-default: br_live_example

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.