---
title: "POST /usage/v2/payment-methods/"
method: POST
path: "/usage/v2/payment-methods/"
tags: ["usage"]
---

# POST /usage/v2/payment-methods/

`POST /usage/v2/payment-methods/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/usage/v2/payment-methods/`
- 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.

## Request body

- UsageEmptyRequest

## Response `200`

OK

- PaymentMethodCheckoutResponse
  - `status` boolean, required
  - `result` UpgradeToPaygPostResult, required
    - `checkout_url` string, uri, required

## 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)
