Платежи
Информация о платеже
Запрос позволяет получить информацию о текущем состоянии платежа по его уникальному идентификатору.
get/payments/{payment_id}
Path parameters
payment_idstring required
Идентификатор платежа в ЮKassa.
Example:1da5c87d-0984-50e8-a7f3-8de646dd9ec9
Идентификатор платежа.
Response
Запрос успешно обработан
Example response
{
"id": "1da5c87d-0984-50e8-a7f3-8de646dd9ec9",
"status": "succeeded",
"amount": {
"value": "1000.00",
"currency": "RUB"
},
"income_amount": {
"value": "1000.00",
"currency": "RUB"
},
"description": "Оплата заказа № 72",
"recipient": {
"account_id": "123",
"gateway_id": "456"
},
"payment_method": {
"type": "bank_card",
"id": "1da5c87d-0984-50e8-a7f3-8de646dd9ec9",
"saved": true,
"status": "active",
"title": "Основная карта",
"card": {
"first6": "427918",
"last4": "7918",
"expiry_year": "2017",
"expiry_month": "07",
"card_product": {
"code": "MCP",
"name": "MIR Privilege"
},
"issuer_country": "RU",
"issuer_name": "Sberbank"
}
},
"captured_at": "2017-11-03T11:52:31.827Z",
"created_at": "2017-11-03T11:52:31.827Z",
"expires_at": "2017-11-03T11:52:31.827Z",
"confirmation": {
"type": "redirect",
"enforce": true
},
"refunded_amount": {
"value": "1000.00",
"currency": "RUB"
},
"paid": true,
"refundable": true,
"receipt_registration": "succeeded",
"cancellation_details": {
"reason": "insufficient_funds"
},
"authorization_details": {
"rrn": "603668680243",
"auth_code": "062467",
"three_d_secure": {
"applied": true
}
},
"transfers": [
{
"account_id": "123",
"amount": {
"value": "1000.00",
"currency": "RUB"
},
"status": "succeeded",
"platform_fee_amount": {
"value": "1000.00",
"currency": "RUB"
},
"description": "Заказ маркетплейса №72"
}
],
"deal": {
"id": "dl-d68d2fe4-2abb-47e5-8112-32e28f87fb52",
"settlements": [
{
"type": "payout",
"amount": {
"value": "1000.00",
"currency": "RUB"
}
}
]
},
"merchant_customer_id": "user@test.merchant",
"invoice_details": {
"id": "in-e44e8088-bd73-43b1-959a-954f3a7d0c54"
}
}