# Audit Stripe idempotency docs

**Use case:** 

Run a focused idempotency-docs audit using Stripe’s public idempotent request documentation as a safe example.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://docs.stripe.com/api/idempotent_requests"
    }
  ],
  "maxPagesPerSite": 3,
  "timeoutSecs": 20,
  "sameHostOnly": true
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "text"
  },
  "auditScore": {
    "label": "Score",
    "format": "number"
  },
  "grade": {
    "label": "Grade",
    "format": "text"
  },
  "riskLevel": {
    "label": "Documentation risk",
    "format": "text"
  },
  "idempotencyDocsFound": {
    "label": "Idempotency docs found",
    "format": "boolean"
  },
  "idempotencyKeyDocumented": {
    "label": "Idempotency key documented",
    "format": "boolean"
  },
  "safeRetryGuidance": {
    "label": "Safe retry guidance",
    "format": "boolean"
  },
  "duplicateHandlingDocumented": {
    "label": "Duplicate handling documented",
    "format": "boolean"
  },
  "requestScopeDocumented": {
    "label": "Request scope documented",
    "format": "boolean"
  },
  "expirationWindowDocumented": {
    "label": "Expiration window documented",
    "format": "boolean"
  },
  "supportedOperationsDocumented": {
    "label": "Supported operations documented",
    "format": "boolean"
  },
  "conflictErrorDocumented": {
    "label": "Conflict or mismatch errors documented",
    "format": "boolean"
  },
  "codeExamplesFound": {
    "label": "Examples found",
    "format": "boolean"
  },
  "bestPageUrl": {
    "label": "Best evidence URL",
    "format": "link"
  },
  "pagesAnalyzed": {
    "label": "Pages analyzed",
    "format": "number"
  },
  "urlsFetched": {
    "label": "URLs fetched",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "text"
  },
  "warnings": {
    "label": "Warnings",
    "format": "array"
  },
  "recommendations": {
    "label": "Recommendations",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Idempotency Docs Audit](https://apify.com/defenestrator/idempotency-docs-audit) with a specific input configuration. Visit the [Actor detail page](https://apify.com/defenestrator/idempotency-docs-audit) to learn more, explore other use cases, and run it yourself.