Types

Link copied to clipboard
data class AmbiguousBlikAlias(val transactionId: String, val aliases: List<AmbiguousAlias>) : CreateBLIKTransactionResult

Indicates that payer has the same BLIK alias registered in more than one bank app. You need to display a list of aliases to user and then use BLIKAmbiguousAliasPayment to continue the payment.

Link copied to clipboard
data class ConfiguredPaymentFailed(val transactionId: String, val errorMessage: String?) : CreateBLIKTransactionResult

Indicates that transaction was created but configured payment failed due to expired data, incorrect data or banking problem.

Link copied to clipboard
data class Created(val transactionId: String) : CreateBLIKTransactionResult

Indicates that transaction was created. It is advised to use long polling mechanism to observe transaction state.

Link copied to clipboard
data class CreatedAndPaid(val transactionId: String) : CreateBLIKTransactionResult

Indicates that transaction was created and paid.

Link copied to clipboard
data class Error(val errorMessage: String?, val transactionId: String? = null) : CreateBLIKTransactionResult

Indicates that creating transaction failed due to an unexpected error (server or client side). Transaction might be still available on the server if error was client side