Documentación rápida
Autenticación M2M con header `Authorization: Bearer <api_key>`.
curl -X POST https://api.ttseasy.com/api/v1/tts \
-H "Authorization: Bearer <api_key>" \
-H "Content-Type: application/json" \
-d '{
"text":"Hola mundo",
"locale":"es-ES",
"readerId":"natural",
"speed":1
}'| Método | Endpoint | Descripción |
|---|---|---|
| POST | /api/v1/tts | Sintetiza texto y debita wallet prepago. |
| GET | /api/v1/billing/wallet | Consulta saldo y auto-recarga. |
| GET | /api/v1/billing/transactions | Lista de movimientos wallet. |
| GET/PATCH | /api/v1/billing/auto-recharge | Configura auto-recarga. |
| POST | /api/v1/billing/topups/checkout-session | Crea sesión Stripe Checkout para recarga. |
Errores relevantes
- `401 invalid_api_key`
- `402 insufficient_balance`
- `429 rate_limited`
- `429 quota_exceeded`
- `500 tts_failed`
Más detalle comercial en FAQ.