---
title: "Set where Stripe money posts"
method: PATCH
path: "/integrations/stripe/settings"
tags: ["Integrations"]
---

# Set where Stripe money posts

`PATCH /integrations/stripe/settings`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/integrations/stripe/settings`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Chooses the ledger accounts a connection posts to. Connecting already provisions a complete working set, so this is an override, not a setup step.

## Request body

- object
  - `integrationId` string, uuid, required
  - `clearingAccountId` string, uuid
  - `revenueAccountId` string, uuid
  - `feesAccountId` string, uuid
  - `payoutBankAccountId` string, uuid
  - `initialSyncDays` integer

## Response `200`

The updated integration

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
