---
title: "Setup payment method (collect card without charging)"
method: POST
path: "/api/billing/setup-payment-method"
tags: ["billing", "internal"]
---

# Setup payment method (collect card without charging)

`POST /api/billing/setup-payment-method`

## Request body

- SetupPaymentMethodRequest
  - `url` string, required

## Response `200`

Setup session URL

- ApiResponseString
  - `data` string
  - `error` string, nullable
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required

## Other responses

- `400` — Billing not enabled

## Changes

- **2026-04-20** `f04499e2280f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/billing/setup-payment-method/post.md)

---

[API](https://skmtc.dev/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.dev/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/revisions/87fbc9fdb32c/schema)
