---
title: "Start saving a card"
method: POST
path: "/v1/users/me/payment-method"
tags: ["Users"]
---

# Start saving a card

`POST /v1/users/me/payment-method`

## Request

- Base URL: `https://api.naturali.ai`
- URL: `https://api.naturali.ai/v1/users/me/payment-method`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.naturali.ai/authorize`, token URL `https://api.naturali.ai/token`, scopes: `mcp:access`)

A hosted page that saves a card for charges made without the payer present: auto-recharge and monthly statements. Send the caller to `checkout_url`; nothing is charged. A card saved this way replaces the one already saved.

## Response `201`

The page to send the caller to.

- PaymentMethodSetup
  - `id` string, required: The setup page's ID at the payment provider.
  - `checkout_url` string, uri, required: The hosted page that takes the card.
  - `expires_at` string, date-time, required: When an unused page lapses.

## Other responses

- `401`: Missing or invalid credentials.
- `502`: The payment provider could not be reached (`payment_provider_error`).
- `503`: Card payments are not available on this deployment (`payments_not_configured`).

---

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