Skip to main content
POST
Create refunds

Авторизации

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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Заголовки

X-Tenant-Id
integer

Компания, в контексте которой выполняется запрос — её id из GET /v1/tenant/. Пользователь должен состоять в этой компании: чужой id доступа к данным не даёт. Без заголовка компания определяется по домену запроса.

Тело

payment_type
integer
обязательно
write-only
payment_amount
string<decimal>
обязательно
write-only
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
reason
string | null
request
integer | null
write-only
sale
integer | null
write-only
deposit
integer | null
write-only

Ответ

201 - application/json
id
integer
обязательно
read-only
reason
string | null