palbaseDocs

Palbase Payments · API

POST/payments/invoices/{invoice_id}/uncollectible

Mark an invoice uncollectible

Marks an open invoice uncollectible at its provider. It stays payable: paid after all (on its page, or by pay), it is paid. 409 invoice_permission_required when the channel may not write invoices.

Called by your server, with the project's secret key.

Path

invoice_idstring · requiredThe invoice's id, as Palbase gave it.
curl
curl -X POST "https://<your-ref>.palbase.studio/payments/invoices/<invoice_id>/uncollectible" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200OK

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation MarkInvoiceUncollectible of payments's contract.