SEOBlitz

Written and reviewed by Benjamin Monroe. Report a correction.

Editorial Brief

ElementValue
Content typeAPI reference documentation
Intended readerDeveloper integrating the payments API
Primary questionHow do I call this endpoint and handle the response?
Desired actionSuccessfully implement the API
Word count target800-1,500 words per endpoint

Original Draft (Excerpt)

POST /v1/charges

Creates a new charge. Requires authentication.

Parameters: amount, currency, source, description

Returns: Charge object

Word count: 28 words

Initial score estimate: 28

Problem: No examples, no error codes, no authentication details, no rate limits.

Key Revisions

What Changed

  • Added curl example: Full request with headers and body
  • Added response sample: JSON response with all fields explained
  • Added error handling: 10 common error codes with meanings and fixes
  • Added rate limits: "100 requests/minute per API key"
  • Added authentication: "Bearer token required, here's how to get one"
  • Added SDK examples: Python, Node.js, Ruby, PHP code snippets
  • Added idempotency: "Use idempotency keys to prevent duplicate charges"

Revised word count: 1,240 words

Estimated revised score: 88

Results

After 4 weeks: