OnlyOnePays Aggregator API (1.0.0)

Download OpenAPI specification:

API для агрегаторов.

Балансы

Балансы по валютам Deprecated

Возвращает балансы агрегатора.

Authorizations:
ApiKeyAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Балансы по счетам

Возвращает балансы агрегатора.

Authorizations:
ApiKeyAuth

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Операции

Поиск операций

Возвращает pay-in и payout операции по фильтрам.

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required
type
string
Enum: "payin" "payout"

Тип операции

status
string

Статус операции

date_from
string <date-time>

Нижняя граница даты создания

date_to
string <date-time>

Верхняя граница даты создания

currency
integer

Числовой код валюты ISO 4217

amount_min
number <double>

Минимальная сумма в локальной валюте

amount_max
number <double>

Максимальная сумма в локальной валюте

id
Array of strings

ID операций

aggregator_external_id
Array of strings

ID агрегатора

page_no
integer >= 0
Default: 0
page_size
integer [ 1 .. 1000 ]
Default: 20

Responses

Request samples

Content type
application/json
Example
{
  • "date_from": "2026-05-01T00:00:00Z",
  • "date_to": "2026-05-27T23:59:59Z",
  • "page_no": 0,
  • "page_size": 50
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "page_no": 0,
  • "page_size": 0,
  • "total": 0,
  • "total_pages": 0
}

Статусы операций

Возвращает статусы операций по id или aggregator_external_id.

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required
type
string
Enum: "payin" "payout"

Тип операции

id
Array of strings

ID операций

aggregator_external_id
Array of strings

ID агрегатора

Responses

Request samples

Content type
application/json
Example
{
  • "id": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Операция по ID агрегатора

Возвращает pay-in или payout операцию по aggregator_external_id.

Authorizations:
ApiKeyAuth
path Parameters
external_id
required
string
query Parameters
type
string
Enum: "payin" "payout"

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "operation_type": "payin",
  • "aggregator_external_id": "string",
  • "status": "string",
  • "date_created": "2019-08-24T14:15:22Z",
  • "date_closed": "2019-08-24T14:15:22Z",
  • "amount_local": 0.1,
  • "amount_usdt": 0.1,
  • "currency": 0,
  • "payment_method": "string",
  • "aggregator_exchange_rate": 0.1,
  • "aggregator_rate": 0.1
}

Операция по ID

Возвращает pay-in или payout операцию по id.

Authorizations:
ApiKeyAuth
path Parameters
id
required
integer <int64>
query Parameters
type
string
Enum: "payin" "payout"

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "operation_type": "payin",
  • "aggregator_external_id": "string",
  • "status": "string",
  • "date_created": "2019-08-24T14:15:22Z",
  • "date_closed": "2019-08-24T14:15:22Z",
  • "amount_local": 0.1,
  • "amount_usdt": 0.1,
  • "currency": 0,
  • "payment_method": "string",
  • "aggregator_exchange_rate": 0.1,
  • "aggregator_rate": 0.1
}

Операции по ID Deprecated

Возвращает операции по id или aggregator_external_id.

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required
id
required
Array of strings

ID операций или ID агрегатора

page_no
integer >= 0
Default: 0

Номер страницы

page_size
integer [ 1 .. 1000 ]

Размер страницы

Responses

Request samples

Content type
application/json
Example
{
  • "id": [
    ],
  • "page_no": 0,
  • "page_size": 20
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "page_no": 0,
  • "page_size": 100,
  • "total": 245,
  • "total_pages": 3
}