Before you start
- A Sandbox API key. See Authentication.
- A webhook endpoint registered under Developers > Webhooks in the Dashboard. See Webhooks.
Prompt
Prompt
How to use
- Decide standing rule versus per-deposit transaction before running this, or check the agent’s reason in step 2. It is the one choice that changes the whole product.
- Pick the chain with whoever holds the treasury; fees and finality differ and the code should not decide it.
- Test with a sandbox amount above the minimum, or the conversion never starts and the failure looks like a bug.
What the prompt builds
Errors to expect
These codes come from the errors catalog, for the resources this prompt uses. Match oncode, not on message.
Related resources
Coverage
Supported currencies, rails, and stablecoin pairs.
Autoconversion rules
Convert every deposit with a standing rule.
Integrate on-ramps from fiat to stablecoin
Take fiat in and deliver stablecoin to the customer’s wallet.
Integrate autoconversion rules
Convert every deposit to stablecoin with a standing rule.