invoice_not_paid
- HTTP status
- 409 Conflict
- Returned by
- Kweko billing
What it means
The request conflicts with the current state. The API explains it as: “Only a paid invoice can be refunded.”
How to fix it
Read the message: it says what to change. If it does not help, contact support with the request_id.
Message
English text, as sent with Accept-Language: en. With ru or uz the API sends the translation.
- Only a paid invoice can be refunded.
RU: Вернуть деньги можно только по оплаченному счёту.
UZ: Pulni faqat toʻlangan hisob boʻyicha qaytarish mumkin.
Example response
Response
HTTP/1.1 409 Conflict
Content-Type: application/json; charset=utf-8
X-Request-Id: req_4f2a9c1e0b7d3a55
{
"error": {
"code": "invoice_not_paid",
"message": "Only a paid invoice can be refunded.",
"request_id": "req_4f2a9c1e0b7d3a55",
"docs_url": "https://docs.kweko.uz/errors/invoice_not_paid"
}
}