---
title: "Set default payment method"
method: POST
path: "/subscriptions/payment-methods/set-default"
tags: ["Subscriptions"]
---

# Set default payment method

`POST /subscriptions/payment-methods/set-default`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/subscriptions/payment-methods/set-default`
- Auth: HTTP bearer

Set the specified payment method as the default for future invoices.

## Request body

- object
  - `paymentMethodId` string, required: Stripe payment method identifier.

## Response `200`

Default payment method set

## Other responses

- `401`: Missing or invalid authentication token
- `500`: Failed to update payment method

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
