---
title: "Set Seller Payment Method"
method: POST
path: "/api/v1/me/seller-profile/payment-method"
---

# Set Seller Payment Method

`POST /api/v1/me/seller-profile/payment-method`

## Request

- Base URL: `https://trovastorage.it` (the document declares no server; this is the origin it was published from)
- URL: `https://trovastorage.it/api/v1/me/seller-profile/payment-method`
- Auth: one of:
  - API key in header `X-Access-Token`
  - HTTP bearer

Put a card on file for the operator (4 October).

The browser tokenises the card with the payment provider and sends only the
resulting id, as it would with Stripe Elements; the demo's provider is a
mock and no charge is made. A second call replaces the card.

## Request body

- SellerPaymentMethodRequest: A payment method the browser already tokenised with the provider — the card number itself never reaches this API.
  - `payment_method_id` string, required

## Response `200`

Successful Response

- SellerProfileResponse
  - `id` string, uuid, required
  - `business_name` string, required
  - `contact_phone` string, required
  - `address_line` string, required
  - `city` string, required
  - `country_code` string, required
  - `kyc_state` string, required
  - `admin_approved` boolean, required
  - `is_publish_eligible` boolean, required
  - `publishes_public_prices` boolean, required
  - `self_serve_booking` boolean, required
  - `has_specialist` boolean, required
  - `slug` string, required
  - `card_brand` string, nullable
  - `card_last4` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/trovastorage/apis/stock-your-inventory.md) · [All operations](https://skmtc.dev/trovastorage/apis/stock-your-inventory/llms.txt) · [OpenAPI document](https://skmtc.dev/trovastorage/apis/stock-your-inventory/revisions/c75f591a585c?raw)
