Billing

List Stripe adjustment reconciliation events

Admin-only endpoint that lists local Stripe credit note and refund audit events used to reconcile Stripe adjustments back to invoice snapshots and billing period ledgers.

get/admin/billing/stripe/adjustment-events

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/admin/billing/stripe/adjustment-events
  • Auth: API key in header x-api-key

Query parameters

status'matched' | 'unmatched' | 'failed' | 'skipped'

Adjustment reconciliation status

customer_idstring

Stripe customer id

invoice_idstring

Stripe invoice id

repair_status'pending' | 'running' | 'succeeded' | 'failed' | 'skipped'

Stripe repair status

repair_source'webhook_auto' | 'admin_manual'

Repair source

min_repair_attemptsinteger

Minimum repair attempts

limitinteger

Maximum events to return. Defaults to 50 and clamps to 5000.

Headers

x-api-keystring required

Admin API key required unless an Admin JWT is already present

Response

Stripe adjustment reconciliation events

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": [
    {
      "amount_cents": 500,
      "charge_id": "ch_123",
      "currency": "usd",
      "event_created": "2026-05-02T01:01:00Z",
      "event_id": "evt_123",
      "event_type": "credit_note.created",
      "kind": "credit_note",
      "match_status": "matched",
      "matched_period_key": "2026-04",
      "matched_stripe_invoice_id": "in_123",
      "matched_user_id": "user-1",
      "payment_intent_id": "pi_123",
      "pre_payment_credit_note_cents": 500,
      "processed_at": "2026-05-02T01:01:02Z",
      "reconciliation_status": "matched",
      "repair_attempts": 1,
      "repair_last_attempt_at": "2026-05-02T02:00:00Z",
      "repair_source": "webhook_auto",
      "repair_status": "pending",
      "resource_id": "cn_123",
      "resource_status": "issued",
      "stripe_customer_id": "cus_123",
      "stripe_invoice_id": "in_123"
    }
  ],
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.