---
title: "Set primary payment method"
method: PUT
path: "/spaces/{space_id}/payment/{payment_id}/primary"
---

# Set primary payment method

`PUT /spaces/{space_id}/payment/{payment_id}/primary`

Sets a payment method as the primary payment method for the space.

## Path parameters

- `space_id` string, required
- `payment_id` string, required

## Response `204`

Payment method set as primary

## Other responses

- `default` — Error response

---

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