types/payment_consent library

Classes

PaymentConsent
A reusable payment authorization tied to a customer and a payment method. Created during a RecurringSession / RecurringWithIntentSession flow, and later passed to payWithConsent to charge without re-prompting the customer.
PaymentMethod
The payment instrument attached to a PaymentConsent — typically a saved card, along with its billing details.