Pave Bank
Statement (asynchronous)

Cancel Statement Request

Viewer Access

Cancels a statement that is still processing. Statements that have already completed or been cancelled cannot be cancelled.

Cancel a statement

If a statement is still processing and you no longer need it, cancel it with this endpoint. The statement moves to cancelled status.

curl -X POST 'https://developer-api-staging.pavebank.dev/v1/statement-async/<YOUR_EXPORT_ID>/cancel' \
  --header 'Authorization: Bearer <YOUR_BEARER_TOKEN>'

This API responds with a confirmation message:

{
  "message": "statement export cancelled"
}

Preconditions

  • The statement must be in processing status. Statements that are already completed or cancelled cannot be cancelled.
POST
/v1/statement-async/{exportRequestID}/cancel

Authorization

AuthorizationRequiredBearer <token>

Enter your token in the format: Bearer {token}

In: header

Path Parameters

exportRequestIDRequiredstring

The ID of the statement export to cancel.

Response Body

Success response

messageRequiredstring

A confirmation message, e.g. "statement export cancelled".

curl -X POST "https://developer-api-staging.pavebank.dev/v1/statement-async/string/cancel" \
  -H "Authorization: Bearer <token>"
{
  "message": "string"
}