Payment Method Service Overview
Last updated
Was this helpful?
The Payment Method Service enables you to securely store payment methods at payment processors using the Python SDK. Tokenization replaces sensitive card data with secure tokens, enabling one-click payments and recurring billing without PCI compliance exposure.
Business Use Cases:
One-click checkout - Returning customers pay without re-entering card details
Subscription billing - Stored payment methods for recurring charges
Vault migration - Move existing tokens between processors
PCI compliance - Reduce compliance scope by avoiding raw card storage
Store payment method for future use. Replaces raw card details with secure token.
Customer wants to save card for future purchases
from hyperswitch_prism import PaymentMethodClient
payment_method_client = PaymentMethodClient(
connector='stripe',
api_key='YOUR_API_KEY',
environment='SANDBOX'
)Payment Service - Use tokenized payment methods for charges
Customer Service - Associate payment methods with customers
Recurring Payment Service - Set up recurring billing with stored methods
Last updated
Was this helpful?
Was this helpful?

