Billing
Summarize Stripe repair backlog
Admin-only endpoint that summarizes invoice event, adjustment event, and invoice snapshot repair backlog by repair status, source, and attempt bucket. Without an explicit time range, the summary defaults to the last 30 days.
get/admin/billing/stripe/repair/summary
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/admin/billing/stripe/repair/summary
- Auth: API key in header x-api-key
Query parameters
fromstring
Processed/updated lower bound in RFC3339 format
tostring
Processed/updated upper bound in RFC3339 format
recent_errors_limitinteger
Maximum recent repair errors to return. Defaults to 20 and clamps to 50.
Headers
x-api-keystring required
Admin API key required unless an Admin JWT is already present
Response
Stripe repair backlog summary
Example response
{
"code": 200,
"data": {
"adjustment_events": {
"by_attempt_bucket": [
{
"count": 3,
"key": "failed"
}
],
"by_source": [
{
"count": 3,
"key": "failed"
}
],
"by_status": [
{
"count": 3,
"key": "failed"
}
],
"total": 42
},
"auto_retry_exhausted_count": 4,
"invoice_events": {
"by_attempt_bucket": [
{
"count": 3,
"key": "failed"
}
],
"by_source": [
{
"count": 3,
"key": "failed"
}
],
"by_status": [
{
"count": 3,
"key": "failed"
}
],
"total": 42
},
"recent_errors": [
{
"candidate_kind": "adjustment_event",
"event_id": "evt_123",
"invoice_id": "in_123",
"repair_attempts": 5,
"repair_last_attempt_at": "2026-05-02T02:00:00Z",
"repair_last_error": "stripe invoice id is required",
"repair_status": "failed",
"resource_id": "cn_123"
}
],
"snapshots": {
"by_attempt_bucket": [
{
"count": 3,
"key": "failed"
}
],
"by_source": [
{
"count": 3,
"key": "failed"
}
],
"by_status": [
{
"count": 3,
"key": "failed"
}
],
"total": 42
}
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.