---
title: "Generate Change Payment Method"
method: POST
path: "/billing/generate_change_payment_method/"
---

# Generate Change Payment Method

`POST /billing/generate_change_payment_method/`

## Request

- Base URL: `https://api.simple.ink` (the document declares no server; this is the origin it was published from)
- URL: `https://api.simple.ink/billing/generate_change_payment_method/`
- Auth: none declared

Generates a hosted page for the self-service portal so users can add a payment method

## Request body

- BillingCheckoutDB: Model that contains all fields that would be inserted into Subscription DB model.
  - `site_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/simple/apis/simple-api.md) - [All operations](https://skmtc.dev/simple/apis/simple-api/llms.txt) - [OpenAPI document](https://skmtc.dev/simple/apis/simple-api/revisions/ebca3feff579?raw)
