> ## 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. status бывает pending, processing, closed, problem или cancelled. from и to — коды пары, amount — сумма на стороне from, rate — курс.



## OpenAPI

````yaml /openapi.json get /premium-exchanger/applications/{requestId}/status
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}/status:
    get:
      tags:
        - premium-exchanger
      summary: Получить статус выплаты
      description: >-
        Возвращает статус выплаты по requestId. Ключ передайте query-параметром
        api_key. status бывает pending, processing, closed, problem или
        cancelled. from и to — коды пары, amount — сумма на стороне from, rate —
        курс.
      operationId: getPremiumPayoutStatus
      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: pending
                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.