---
title: "Set Default Payment Method"
method: POST
path: "/payments/set-default-payment-method/{payment_method_id}"
tags: ["payments"]
---

# Set Default Payment Method

`POST /payments/set-default-payment-method/{payment_method_id}`

## Request

- Base URL: `https://api.oxlo.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oxlo.ai/payments/set-default-payment-method/{payment_method_id}`
- Auth: HTTP bearer

Set a payment method as the default for this customer.

## Path parameters

- `payment_method_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/oxlo/apis/oxlo-backend.md) - [All operations](https://skmtc.dev/oxlo/apis/oxlo-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/oxlo/apis/oxlo-backend/revisions/bc2ecdc94f31?raw)
