Documentation Index
Fetch the complete documentation index at: https://docs.bitcoinflash.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Standard Error Format
All error responses follow a consistent JSON format:HTTP Status Codes
| Code | Status | Description |
|---|---|---|
200 | OK | Request succeeded |
201 | Created | Resource created successfully |
400 | Bad Request | Invalid request data or business rule violation |
401 | Unauthorized | Missing or invalid JWT token |
403 | Forbidden | Insufficient permissions (role check) or KYC required |
404 | Not Found | Requested resource does not exist |
422 | Unprocessable Entity | Validation errors |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Unexpected server error |
Validation Errors (422)
Validation errors return a structured list of field-level messages:Authentication Errors (401)
Permission Errors (403)
Rate Limiting (429)
When you exceed the rate limit, the API returns a429 status. Back off and retry after 1 minute.
Common Error Scenarios
OTP Expired
OTP Expired
If your OTP has expired (they are time-limited), use the Regenerate OTP endpoint to request a new one.
Token Expired
Token Expired
JWT tokens expire after 60 minutes. Use the Refresh Token endpoint to obtain a new token without re-authenticating.