Claude Code· src/routes/charges.ts Send a POST request to /api/charges with the amount in cents, the currency code, and a description. The response includes a charge ID and status.
Send a POST request to /api/charges with a JSON body containing amount (integer, in cents), currency (ISO 4217 code), and description (string, max 500 chars). The response includes charge_id, status, and created_at.
Extracted field types from the Zod schema in src/routes/charges.ts:22-30. The 500-char limit on description is enforced but not documented.