> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpaycheckout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Securely collect and store customer payment methods for future use with xPay's Setup Method solution.

## What is Setup Method?

Setup Method is designed for businesses that need to securely collect and store customer payment information for future transactions. This solution provides a secure, compliant way to tokenize payment methods while maintaining audit trails and supporting various payment gateways and methods.

## Setup Method Statuses

<ul>
  <li><strong>`CREATED`</strong> - Setup method has been initiated</li>
  <li><strong>`SUCCESS`</strong> - Payment method successfully added and tokenized</li>
  <li><strong>`FAILED`</strong> - Setup process failed</li>
  <li><strong>`CANCELLED`</strong> - Setup was cancelled by user or merchant</li>
</ul>

## Payment Method Token Lifecycle

<ul>
  <li><strong>`LIVE`</strong> - Token is active and can be used for transactions</li>
  <li><strong>`DELETED`</strong> - Token has been deleted and cannot be used for transactions</li>
</ul>

<Note>
  It's recommended to check the token status before attempting to charge a payment method to ensure it's still valid.
</Note>

***

## Getting Started

Ready to integrate Setup Method? Follow our step-by-step guide:

<Columns cols={3}>
  <Card title={<div><Icon icon="play" /> &nbsp; Start Integration </div>} href="/products/setup-method/integrationProcess" />

  <Card title={<div><Icon icon="bell" /> &nbsp; Webhooks </div>} href="/developer-resources/webhooks/events/setupMethodEvents" />

  <Card title={<div><Icon icon="code" /> &nbsp; API Endpoints </div>} href="/developer-resources/endpoints/setup-method/create-setup-method" />
</Columns>
