Package com.stripe.android.exception

Types

Link copied to clipboard
class AuthenticationException : StripeException

No valid API key provided.

Link copied to clipboard
class CardException(stripeError: StripeError, requestId: String?) : StripeException

An Exception indicating that there is a problem with a Card used for a request. Card errors are the most common type of error you should expect to handle. They result when the user enters a card that can't be charged for some reason.

Link copied to clipboard
class PermissionException(stripeError: StripeError, requestId: String?) : StripeException

A type of AuthenticationException resulting from incorrect permissions to perform the requested action.

Link copied to clipboard
class RateLimitException(stripeError: StripeError?, requestId: String?, message: String?, cause: Throwable?) : StripeException

An Exception indicating that too many requests have hit the API too quickly.