> ## Documentation Index
> Fetch the complete documentation index at: https://wpay-feat-edp-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List all payment methods

> List all stored payment methods.

To list all the vaulted payment methods stored, call the
[`GET /payment-methods`][api] API.

<CodeGroup>
  ```bash cURL
  curl -i -X GET "https://api.example.gr4vy.app/payment-methods" \
      -H "Authorization: Bearer [JWT_TOKEN]"
  ```

  ```js Node
  const paymentMethods = await client.listPaymentMethods();
  ```
</CodeGroup>

The response is a [list of all the previously stored payment methods][api].

```json GET /payment-methods
{
  "items": [
    {
      "type": "payment-method",
      "id": "77a76f7e-d2de-4bbc-ada9-d6a0015e6bd5",
      "status": "stored",
      "method": "card",
      "created_at": "2013-07-16T19:23:00.000+00:00",
      "updated_at": "2013-07-16T19:23:00.000+00:00",
      "external_identifier": "user-789123",
      "buyer": {
        "type": "buyer",
        "id": "fe26475d-ec3e-4884-9553-f7356683f7f9",
        "external_identifier": "user-789123",
        "display_name": "John L.",
        "created_at": "2013-07-16T19:23:00.000+00:00",
        "updated_at": "2013-07-16T19:23:00.000+00:00"
      },
      "details": {
        "suffix": "1111",
        "scheme": "visa",
        "expiration_date": "11/25"
      }
    }
  ],
  "limit": 20,
  "next_cursor": null,
  "previous_cursor": null
}
```

[api]: /reference/payment-methods/list-payment-methods
