Skip to content

Pause/Resume Issuing ​

Pauses or resumes new document creation on an issuer (issue point) without deactivating it. The issuer's history, its existing documents (RIDE, XML, email), and every read-only endpoint keep working normally while paused — only POST /v1/documents and POST /:accessKey/rebuild targeting this issuer are blocked.

PATCH /v1/issuers/:id/can-issue

This is the only way to pause an issuer that has history: DELETE /v1/issuers/:id (soft-delete) is refused with ISSUER_HAS_DOCUMENTS as soon as the issuer has issued any document, in either environment.

Authentication ​

Authorization: Bearer <api-key>

Path parameters ​

ParameterDescription
idIssuer UUID belonging to your tenant

Request body ​

json
{
  "canIssue": false
}
FieldTypeRequiredDescription
canIssuebooleanYesfalse pauses new document creation; true resumes it. Either direction is always allowed on an active issuer — no other business rule applies.

Response ​

200 OK

json
{ "ok": true, "canIssue": false }

Effect ​

With canIssue: false:

  • POST /v1/documents with X-Issuer-Id pointing at this issuer returns 403 ISSUER_ISSUING_PAUSED.
  • POST /:accessKey/rebuild on a document from this issuer also returns 403 ISSUER_ISSUING_PAUSED — a rebuild re-signs and re-submits to SRI, the same risk as a fresh create.
  • Everything else keeps working: GET /:accessKey/ride, GET /:accessKey/xml, email retries, POST /:accessKey/send and GET /:accessKey/authorize for documents already in flight, and every read endpoint for the issuer.

Errors ​

StatusCodeWhen
400VALIDATION_FAILEDid is not a valid UUID, or canIssue is missing or not a boolean
401UNAUTHORIZEDMissing or invalid API key
403ISSUER_FORBIDDENIssuer belongs to a different tenant
403INSUFFICIENT_SCOPEAPI key does not have the issuers:write scope
404ISSUER_NOT_FOUNDIssuer id does not exist, belongs to another tenant, or is inactive
429TOO_MANY_REQUESTSRate limit exceeded

Comprobify API Documentation — API v1.3.1