Skip to main content
Cancel a transaction

Authorizations

Authorization
string
header
required

Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.

Path Parameters

id
string
required

Identifier of the transaction to cancel.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc590"

Body

application/json

Parameters for cancelling a transaction.

message
string

A message explaining the cancellation, included in the notifications sent to the recipients. May carry basic formatting — bold, italic, underline, https links and bullet lists; everything else is stripped on input.

Maximum string length: 2000
Example:

"The contract needs to be revised; a new version will follow."

Response

The transaction was cancelled and its final state returned.

A transaction: the process of getting a document signed, approved, reviewed or accepted by its recipients.

annotationFields
object[]
required

Annotation fields placed on the document for its recipients to fill.

completedAt
string<date-time> | null
required

When the transaction reached its final state — completed, rejected, cancelled or expired. Null while the transaction is running.

Example:

"2024-11-02T09:15:30.000Z"

createdAt
string<date-time> | null
required

When the transaction was started. Null while it has not been started.

Example:

"2024-11-02T09:15:30.000Z"

document
object | null
required

The document the transaction runs on.

id
string | null
required

Identifier of the transaction.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc590"

imageFields
object[]
required

Image fields placed on the document for its recipients to fill.

message
string | null
required

The message sent to all recipients of the transaction, as plain text: its formatting is dropped and every link is written as its text followed by its address in parentheses.

Example:

"Please review and sign this contract."

recipients
object[]
required

The people taking part in the transaction and the current state of their participation.

sequential
boolean
required

Whether recipients act one after another in their order, or all in parallel.

signatureFields
object[]
required

Signature fields placed on the document for its recipients to fill.

status
enum<string>
required

Current status of the transaction. It advances as recipients act on the document.

  • not-started: The document has been created, but no transaction has started over it yet.
  • in-progress: A transaction is in progress: the document has been shared and is awaiting action from one or more recipients.
  • completed: The transaction completed successfully — every requested recipient finished their action.
  • rejected: The transaction ended because a recipient rejected the document.
  • cancelled: The transaction was cancelled before completion.
  • expired: The transaction expired before completion.
Available options:
not-started,
in-progress,
completed,
rejected,
cancelled,
expired
Example:

"in-progress"

webUrl
string<uri> | null
required

Link to open the transaction's document in the Circularo web app, where the owner can monitor its progress. Requires an authenticated Circularo session.

Example:

"https://sandbox.circularo.com/home/detail?select=a0d01c9d-f72f-4c57-af11-e26bda19cc59"