---
title: "Export the DB rows Stripe disagrees with"
method: GET
path: "/api/admin/provider-truth/stripe-reconciliation/export.csv"
tags: ["Admin - Provider Truth"]
---

# Export the DB rows Stripe disagrees with

`GET /api/admin/provider-truth/stripe-reconciliation/export.csv`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/admin/provider-truth/stripe-reconciliation/export.csv`
- Auth: HTTP bearer

The full contents of one reconciliation bucket (the JSON response caps each at 20). null_id = platform=stripe with no stripe_subscription_id, so no webhook can ever reach the row. phantom = an id Stripe has never heard of. stale = Stripe knows the id but calls it canceled/expired. missing = live at Stripe but absent from our entitled set.

## Query parameters

- `bucket` 'null_id' | 'phantom' | 'stale' | 'missing' | 'prepaid' | 'rc_store' | 'entitled_cancelled' | 'cancelled_still_billing' | 'unpaid_checkout', required

## Response `200`

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
