Skip to content

Add /wallet/pricing endpoint with JSON API#533

Merged
asim merged 1 commit intomainfrom
claude/add-wallet-transfers-74PHC
Apr 3, 2026
Merged

Add /wallet/pricing endpoint with JSON API#533
asim merged 1 commit intomainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented Apr 3, 2026

Summary

  • New /wallet/pricing endpoint
  • HTML: Clean pricing table with all operations and costs, free daily quota info
  • JSON (Accept: application/json): Structured response with currency, credit value, free quota, and all operation costs
{
  "currency": "GBP",
  "credit_value": "£0.01",
  "free_daily_quota": 20,
  "operations": [
    {"operation": "news_search", "description": "News search", "cost": 1, "unit": "credits"},
    ...
  ]
}

https://claude.ai/code/session_01GRGLA9yj7BpqKiyi6xFwnm

GET /wallet/pricing returns an HTML pricing table.
GET /wallet/pricing with Accept: application/json returns structured
JSON with all operations, costs, currency, and free quota info.

https://claude.ai/code/session_01GRGLA9yj7BpqKiyi6xFwnm
@asim asim merged commit b5e772f into main Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants