---
title: "Set default payment method"
method: POST
path: "/api/billing/v1/payment-methods/{paymentMethodId}"
tags: ["Billing: Payment methods"]
---

# Set default payment method

`POST /api/billing/v1/payment-methods/{paymentMethodId}`

Set the default payment method for your account.

Use this endpoint to configure the primary payment method for future orders.

## Path parameters

- `paymentMethodId` integer, required

## Response `200`

Success empty response

- CommonSuccessEmptyResource
  - `message` string

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/versions/796bd5194565/schema)
