Skip to main content
Paste this prompt into your coding agent to prove a full deposit-to-stablecoin round trip in sandbox before you write any product code. The agent creates an approved customer with a BRL account, sets up an autoconversion rule, simulates a deposit, and follows the conversion to a receipt.

Before you start

Prompt

Prompt

How to use

  1. Create the sandbox key in the Dashboard under Developers → API Keys. New accounts start in sandbox; production access is a conversation with the Lumx team, not a setting.
  2. Register a webhook endpoint pointing at a tunnel before step 7, or the script can only poll.
  3. Keep the script. It becomes the smoke test you run before every release, and the thing you hand support when something breaks.

What the prompt builds

Errors to expect

These codes come from the errors catalog, for the resources this prompt uses. Match on code, not on message.

Environments

Sandbox and production base URLs.

Identity verification

KYC, KYB, and sandbox outcomes.

Production readiness checklist

Audit a working Sandbox integration before real money moves.

Integrate autoconversion rules

Convert every deposit to stablecoin with a standing rule.