---
title: "Save Stripe Key"
method: POST
path: "/api/projects/{project_id}/integrations/payments.stripe/key"
---

# Save Stripe Key

`POST /api/projects/{project_id}/integrations/payments.stripe/key`

## Request

- Base URL: `https://app.tin.computer` (the document declares no server; this is the origin it was published from)
- URL: `https://app.tin.computer/api/projects/{project_id}/integrations/payments.stripe/key`
- Auth: HTTP bearer

Validate and store a pasted Stripe restricted key; replacing one names its revision.

## Path parameters

- `project_id` string, uuid, required

## Response `200`

Successful Response

- IntegrationView
  - `key` string, required
  - `name` string, required
  - `badge` string, required
  - `description` string, required
  - `access_label` string, required
  - `capabilities` string[], required
  - `unlocks` string[], required
  - `setup_url` string, nullable
  - `configured` boolean, required
  - `connection_id` string, uuid, nullable
  - `project_id` string, uuid, nullable
  - `status` string
  - `external_account_label` string, nullable
  - `configuration` object
  - `connected_at` string, date-time, nullable
  - `last_checked_at` string, date-time, nullable
  - `last_error_code` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tin/apis/tin-lite-switchboard.md) · [All operations](https://skmtc.dev/tin/apis/tin-lite-switchboard/llms.txt) · [OpenAPI document](https://skmtc.dev/tin/apis/tin-lite-switchboard/revisions/c800ca3406f4?raw)
