Browse: Home /

Namespace: Stripe

RateLimitException

Class: RateLimitException is thrown in cases where an account is putting too much load on Stripe’s API servers (usually by performing too many requests).

IdempotencyException

Class: IdempotencyException is thrown in cases where an idempotency key was used improperly.

Session

Class: The Billing customer portal is a Stripe-hosted UI for subscription and billing management.

Configuration

Class: A portal configuration describes the functionality and behavior of a portal session.

Session

Class: A Checkout Session represents your customer’s session as they pay for one-time purchases or subscriptions through Checkout or Payment Links. We recommend creating a new Session each time your customer attempts to pay.

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.