Browse: Home /

Namespace: OAuth

OAuthErrorException

Class: Implements properties and methods common to all (non-SPL) Stripe OAuth exceptions.

UnknownOAuthErrorException

Class: UnknownApiErrorException is thrown when the client library receives an error from the OAuth API it doesn’t know about. Receiving this error usually means that your client library is outdated and should be upgraded.

InvalidClientException

Class: InvalidClientException is thrown when the client_id does not belong to you, the stripe_user_id does not exist or is not connected to your application, or the API key mode (live or test mode) does not match the client_id mode.

InvalidScopeException

Class: InvalidScopeException is thrown when an invalid scope parameter is provided.

InvalidRequestException

Class: InvalidRequestException is thrown when a code, refresh token, or grant type parameter is not provided, but was required.

InvalidGrantException

Class: InvalidGrantException is thrown when a specified code doesn’t exist, is expired, has been used, or doesn’t belong to you; a refresh token doesn’t exist, or doesn’t belong to you; or if an API key’s mode (live or test) doesn’t match the mode of a code or refresh token.