Skip to main content
Mark As Paid Batch Status API

Authentication

All requests require an API key in the request headers. Headers:
The permission required on your API key is Payment with the Read action enabled.
This endpoint is only relevant for batches submitted to the Mark Invoice as Paid API that exceeded 100 invoices and returned status: "PENDING" with a bulkActionSlug.

Request

Content-Type: application/json

Path Parameters

Code Examples

Success Response

HTTP Status: 200 OK

Status Values

This endpoint reports aggregate counts only — it does not expose which specific invoices were skipped or why. If you need to confirm the outcome for a particular invoice, check its state via the Invoice Details API once status is COMPLETED or PROCESSED.

Response Example — still processing

Response Example — completed with some skipped

Response Example — completed, all succeeded

Error Responses

Batch Not Found

HTTP Status: 404 Not Found

Authentication Errors

HTTP Status: 401 Unauthorized

Permission Errors

HTTP Status: 403 Forbidden

Best Practices

  • Poll on an interval (e.g. every 10–30 seconds) rather than continuously — batches can take time to process, especially larger ones
  • Stop polling once status is COMPLETED or PROCESSED — both are terminal states
  • A non-zero discardedCount doesn’t indicate a mark-as-paid API failure — it means specific invoices in that batch couldn’t be paid (e.g. no longer in APPROVED state, or amount exceeded the due balance) while the rest of the batch proceeded normally