/v1/operations/
Запрос на получение деталей операций авторизации, списания, возврата или отмены платежа.
Request
GET
https://pay.yandex.ru/api/merchant/v1/operations/{external_operation_id}
Production
GET
https://sandbox.pay.yandex.ru/api/merchant/v1/operations/{external_operation_id}
Sandbox
Path parameters
Name |
Type |
Description |
external_operation_id* |
string |
Идентификатор операции на стороне продавца |
Responses
200 OK
Body
{
"code": 200,
"data": {
"operation": {
"amount": "123.45",
"created": "2022-12-29T18:02:01Z",
"externalOperationId": "string",
"operationId": "c3073b9d-edd0-49f2-a28d-b7ded8ff9a8b",
"operationType": "AUTHORIZE",
"orderId": "string",
"params": {},
"reason": "string",
"status": "PENDING",
"updated": "2022-12-29T18:02:01Z"
}
},
"status": "success"
}
Name |
Type |
Description |
code |
number |
Default: |
data |
||
status |
string |
Enum: |
OperationResponseData
Name |
Type |
Description |
operation |
Operation
Name |
Type |
Description |
amount* |
string<double> |
Сумма операции
|
created |
string<date-time> |
Дата и время создания операции (ISO 8601) |
externalOperationId |
string |
Идентификатор операции на стороне продавца
|
operationId* |
string<uuid> |
Max length: |
operationType* |
string |
Enum: |
orderId* |
string |
Max length: |
params |
object |
|
reason |
string |
Причина ошибки
|
status |
string |
Enum: |
updated |
string<date-time> |
Дата и время обновления операции (ISO 8601) |