Перейти к основному содержанию
POST
Refund order

Авторизации

Authorization
string
header
обязательно

API token from the Zenedu dashboard

Параметры пути

bot
integer
обязательно

Bot ID

order
integer
обязательно

Order ID

Тело

application/json
actual_refund
boolean

Whether to issue an actual refund through the payment provider

close_accesses
boolean

Whether to revoke the accesses granted by this order

Ответ

Order refunded

data
object