---
title: "Update Stripe account settings"
method: PATCH
path: "/v1/accounts/{accountId}/stripe-settings"
tags: ["Accounts"]
---

# Update Stripe account settings

`PATCH /v1/accounts/{accountId}/stripe-settings`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/accounts/{accountId}/stripe-settings`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/zernio/apis/zernio-api/docs/v1/accounts/:accountId/stripe-settings/patch.ts> (a function with typed inputs; its response is checked against the schema)

Turn sending Stripe sales to the ad platforms on or off for a connected Stripe account. Sales are always stored and counted in campaign results; this only decides whether they are also forwarded.

## Path parameters

- `accountId` string, required

## Request body

- object
  - `forwardSales` boolean, required: Send one-off sales as `Purchase`, a subscription's first payment as `Subscribe` and trial starts as `StartTrial` through the profile's forwarding rules that take the `stripe` source. Renewals and refunds are never sent.

## Response `200`

Updated settings

- object
  - `message` string
  - `account` StripeSettings
    - `_id` string, required: Zernio account ID of the Stripe connection.
    - `platform` 'stripe', required
    - `stripeAccountId` string, required: The connected Stripe account ID (`acct_...`).
    - `livemode` boolean, required: Whether the connection counts live payments (`true`) or test payments (`false`).
    - `forwardSales` boolean, required: Whether new customers' first payments go to the profile's forwarding rules.

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `404`: Account not found

## Changes

- **2026-11-11** `05cafa483b36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/accounts/:accountId/stripe-settings/patch.md)

---

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