SetupError

@Serializable
data class SetupError : Serializable

Information for an erroneous SetupAttempt

Properties

Link copied to clipboard
val adviceCode: String?

For card errors resulting from a card issuer decline, a short string indicating how to proceed with an error if they provide one.

Link copied to clipboard
val code: String?

For some errors that could be handled programmatically, a short string indicating the error code reported.

Link copied to clipboard
val declineCode: String?

For card errors resulting from a card issuer decline, a short string indicating the card issuer’s reason for the decline if they provide one.

Link copied to clipboard
val docUrl: String?

A URL to more information about the error code reported.

Link copied to clipboard
val message: String?

A human-readable message providing more details about the error.

Link copied to clipboard
val networkAdviceCode: String?

For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.

Link copied to clipboard
val networkDeclineCode: String?

For payments declined by the network, an alphanumeric code which indicates the reason the payment failed.

Link copied to clipboard
val param: String?

If the error is parameter-specific, the parameter related to the error.

Link copied to clipboard

The PaymentMethod object for errors returned on a request involving a PaymentMethod.

Link copied to clipboard
val paymentMethodType: String?

If the error is specific to the type of payment method, the payment method type that had a problem.

Link copied to clipboard

The type of error returned.