Skip to main content

Import

Route

The request addresses a case in your app by its caseId.
Only a pending case can be cancelled. The case ends with status cancelled and terminalReason case_cancelled. When a pending transaction from a user’s wallet is waiting on the case, Para discards it, so that request never signs. A request that should still go ahead needs a new attempt, which opens a new case. The user who started a request can also cancel its case from the client SDKs with cancelApprovalCase.

Example

Inspect the returned status to confirm that the pending case was cancelled.

Errors

A non-success response throws ParaRestError with the HTTP status, the error code and a message. Permissions errors lists every error code. An empty path argument throws ParaRestValidationError before the request is sent.