Cancel a transaction
POST/transaction/{transaction_id}/cancel
Cancels a transaction created by the same company.
Any transaction with status new can be cancelled (i.e. before it has been started).
Currently only seBankID (Swedish BankID) and Freja transactions can be cancelled after they are started.
Transactions that have failed or are complete cannot be cancelled.
Request
Responses
- 200
- 400
- 403
- 404
- 409
- 410
- 500
- 502
Scrive ISC isn't available for provider OR Hash callback URL is not whitelisted OR Callback URL is not whitelisted OR Invalid callback URL OR Operation not allowed for this provider OR Bad parameters OR Transaction has already expired due to retention period OR Method isn't available for provider OR Redirect URL cannot be accepted
The authentication provided is not valid for this transaction
Transaction with this ID does not exist OR transaction_id not found
Incompatible transaction: expected a regular transaction but got a MAS transaction OR The transaction is not in one of the allowed statuses for this operation OR User already has a transaction in progress with provider
The requested resource is no longer available
Internal Server Error
There was a problem in the communication with provider. If the problem persists, please contact Scrive support