Start with these resources
Share the most relevant Daya docs with your AI assistant before asking it to generate or edit code.Quick Start
Create your first onramp or offramp and track the first deposit.
Authentication
Learn how to authenticate requests with API keys and idempotency keys.
Core Concepts
Understand funding accounts, deposits, transfers, rates, and settlement.
Sandbox Testing
Test Daya flows safely before moving money in production.
Webhooks
Receive real-time event notifications from Daya.
Funding Accounts API
Reference the primary endpoint for creating onramp and offramp flows.
If you are building with Daya Pro, also share the Daya Pro overview, Daya Pro authentication guide, and the relevant Daya Pro endpoint docs.
Machine-readable docs
Use these files when an AI assistant needs a compact docs index, full docs context, or Daya-specific scenario guidance.llms.txt
Compact AI-readable index of Daya docs and endpoint pages.
llms-full.txt
Expanded context generated from the docs navigation.
AI Scenario FAQ
Exhaustive Business API, Pro API, and combined-product scenarios for agents.
Recommended workflow
1
Choose the Daya flow you are building
Be specific about whether you are creating customers, funding accounts, onramps, offramps, transfers, USD virtual accounts, webhooks, or Daya Pro trading flows.
2
Share the relevant docs
Give your assistant links to the quickstart, authentication guide, and the specific endpoint or concept pages for your flow.
3
Ask the assistant to inspect your project first
Have it identify your language, framework, existing API client patterns, environment variable conventions, and test setup before it writes code.
4
Build against sandbox
Use sandbox API keys, sandbox base URLs, test data, and simulated flows until your integration is ready for production.
5
Request tests and production checks
Ask for request validation, idempotency handling, webhook signature verification, retries, logging, and error handling.
Use with AI coding assistants
- Codex
- Cursor
- Claude Code
- GitHub Copilot
Open your project in Codex, share the relevant Daya docs links, then ask Codex to inspect your codebase before making changes.A good starting prompt:
Example prompts
Explore the API
Generate an integration
Create a funding account
Implement webhooks
Debug an API error
Review an integration
What to include in your prompt
The more precise your prompt, the better your assistant’s output will be.Common Daya tasks for AI assistants
Ask your assistant to help with focused tasks instead of broad, open-ended requests.Set up a Daya API client
Set up a Daya API client
Ask the assistant to create a small client that reads
DAYA_API_KEY and DAYA_BASE_URL from environment variables, sends the X-Api-Key header, and returns structured errors.Add idempotency to write requests
Add idempotency to write requests
Ask the assistant to add an
X-Idempotency-Key header for create or transfer requests and explain when the same key should be reused.Build a sandbox flow
Build a sandbox flow
Ask the assistant to use
https://api.sandbox.daya.co, fake customer data, and sandbox-only keys while implementing and testing the first flow.Implement webhook verification
Implement webhook verification
Ask the assistant to implement Daya webhook signature verification before any event processing logic runs.
Write production readiness checks
Write production readiness checks
Ask the assistant to check for missing logs, retries, idempotency, environment separation, test coverage, and secret handling.
Security checklist
Before you paste context into an AI assistant or accept generated code, check that:- Production API keys and webhook secrets are not included in prompts
- Customer personal information and sensitive financial data are removed
- API keys are loaded from environment variables or a secret manager
- Sandbox and production base URLs are clearly separated
- Write requests use idempotency keys where required
- Webhook handlers verify signatures before trusting event payloads
- Logs do not include full secrets, private credentials, or sensitive customer data
Next steps
Create your first flow
Start with the Daya quickstart.
Review authentication
Learn how API keys and idempotency keys work.
Test in sandbox
Validate your integration before production.
Set up webhooks
Receive and verify Daya events.