Error handling
Always check the response envelope before accessing data:request_id in error logs and support tickets — it lets Yoshi trace exactly what happened.
Retry strategy
Caching
Never cache balance data — it changes with every sync and users expect current numbers.
Webhook processing
Respond fast, process later:event.id to deduplicate:
Security
Never expose API keys client-side. API keys grant full access to the user’s financial data. Always make API calls from a backend server.Rate limit budgeting
Each API key has a limit of 100 requests per minute. If you have multiple services sharing a key:- Track usage across services using the
X-RateLimit-Remainingheader - Prioritize user-facing requests over background jobs
- Use webhooks to reduce polling — each webhook you process replaces multiple poll requests
- Consider separate keys for different services so they have independent limits
What’s next
Errors
Full error codes reference.
Rate limits
Detailed rate limiting documentation.