---
title: "Set Default Payment Method"
method: POST
path: "/stripe/payment-methods/default"
tags: ["stripe"]
---

# Set Default Payment Method

`POST /stripe/payment-methods/default`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/stripe/payment-methods/default`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Set a default payment method.

## Request body

- PaymentMethodSetDefaultRequest: Request to set a default payment method.
  - `payment_method_id` string, required: Stripe payment method ID to set as default.

## Response `200`

Successful Response

- PaymentMethodResponse: Payment method information.
  - `id` string, uuid, required
  - `stripe_payment_method_id` string, required
  - `brand` string, nullable, required
  - `last4` string, nullable, required
  - `exp_month` integer, nullable, required
  - `exp_year` integer, nullable, required
  - `is_default` boolean, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
