TerminalException

Raised when an operation could not be completed, for example because the terminal service was unreachable, rejected the credentials or sent an unreadable response.

A declined payment is not an exception. It is returned as a TransactionResult with status TransactionStatus.FAILED and error details when available.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val correlationId: String? = null

Identifier associated with the failed operation, if available. For a payment this is TransactionRequest.transactionId; use it for recovery and support.

Link copied to clipboard
val httpStatus: Int? = null

HTTP status code, when the failure came from an HTTP response.

Link copied to clipboard

true when the payment may or may not have been carried out by the terminal.

Link copied to clipboard
open val message: String?