---
title: "Upsert Billing Profile"
method: POST
path: "/stripe/profile"
tags: ["stripe"]
---

# Upsert Billing Profile

`POST /stripe/profile`

Create or update billing profile and attach a payment method.

## Request body

- BillingProfileUpsertRequest — Request to create or update a billing profile.
  - `payment_method_id` string, nullable — Stripe payment method ID to attach as default.

## Response `200`

Successful Response

- BillingProfileResponse — User billing profile.
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `stripe_customer_id` string, required
  - `billing_email` string, nullable, required
  - `billing_name` string, nullable, required
  - `default_payment_method_id` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
