types/payment_session library

Classes

BaseSession
Base class for every payment session. A session bundles the authentication (clientSecret), amount and currency, customer details, and optional wallet configuration into the single value passed to every payment flow method.
OneOffSession
A one-off payment against a payment intent.
RecurringSession
A session that sets up a payment consent for future recurring charges without charging the customer right now.
RecurringWithIntentSession
A session that charges a payment intent now and sets up a payment consent for future recurring charges in a single step.