NowgateDocs

invoice_not_payable

The invoice can't be paid: it is paid already, or void.

On this page

HTTP status: 409 Conflict. Retrying the same request unchanged fails the same way.

Why it happens

  • Its payments are already worth its amount.
  • It was voided: its subscription ended, dunning ended, or a plan change issued it again.

What to do

Pay the subscription's latest open invoice instead (latest_invoice on the subscription).

Example

The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.

{
  "type": "https://docs.nowgate.io/errors/invoice_not_payable",
  "title": "Conflict",
  "status": 409,
  "detail": "What exactly was wrong, in a sentence.",
  "instance": "/v1/payments",
  "code": "invoice_not_payable",
  "request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}