# Payment Method Service Overview

## Overview

The Payment Method Service enables you to securely store payment methods at payment processors using the Node.js 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

## Operations

| Operation                                                                                         | Description                                                                       | Use When                                         |
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------ |
| [`tokenize`](https://docs.hyperswitch.io/integrations/prism/node/payment-method-service/tokenize) | Store payment method for future use. Replaces raw card details with secure token. | Customer wants to save card for future purchases |

## SDK Setup

```javascript
const { PaymentMethodClient } = require('hyperswitch-prism');

const paymentMethodClient = new PaymentMethodClient({
    connector: 'stripe',
    apiKey: 'YOUR_API_KEY',
    environment: 'SANDBOX'
});
```

## Next Steps

* [Payment Service](https://docs.hyperswitch.io/integrations/prism/node/payment-service) - Use tokenized payment methods for charges
* [Customer Service](https://docs.hyperswitch.io/integrations/prism/node/customer-service) - Associate payment methods with customers
* [Recurring Payment Service](https://docs.hyperswitch.io/integrations/prism/node/recurring-payment-service) - Set up recurring billing with stored methods
