---
title: "GET /usage/v2/payment-methods/setup-intent/"
method: GET
path: "/usage/v2/payment-methods/setup-intent/"
tags: ["usage"]
---

# GET /usage/v2/payment-methods/setup-intent/

`GET /usage/v2/payment-methods/setup-intent/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/usage/v2/payment-methods/setup-intent/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

List payment methods or create a Stripe Checkout session for adding a card.

## Response `200`

OK

- PaymentMethodsResponse
  - `status` boolean, required
  - `result` PaymentMethod[], required
    - `id` string, required
    - `brand` string, nullable
    - `last4` string, nullable
    - `exp_month` integer, nullable
    - `exp_year` integer, nullable
    - `is_default` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
