> For the complete documentation index, see [llms.txt](https://docs.hyperswitch.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyperswitch.io/integrations/prism/node/payment-method-service.md).

# 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`](/integrations/prism/node/payment-method-service/tokenize.md) | 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](/integrations/prism/node/payment-service.md) - Use tokenized payment methods for charges
* [Customer Service](/integrations/prism/node/customer-service.md) - Associate payment methods with customers
* [Recurring Payment Service](/integrations/prism/node/recurring-payment-service.md) - Set up recurring billing with stored methods


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyperswitch.io/integrations/prism/node/payment-method-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
