---
title: "Fill Stripe gaps from a CSV"
method: POST
path: "/integrations/stripe/import"
tags: ["Integrations"]
---

# Fill Stripe gaps from a CSV

`POST /integrations/stripe/import`

## Request

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

Posts successful payments or paid payouts listed in a Stripe dashboard CSV export that are missing since the connection. Each row is verified against the connected account and mode, and Stripe's amounts are posted. Multipart form: file, type ('payments' or 'payouts'), integrationId. Rows already imported, and rows from before the connection (already in the opening Stripe balance), are skipped.

## Response `200`

Imported, skipped, and per-row errors

## 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)
