Skip to main content
Paste this prompt into your coding agent to pay out from a customer’s stablecoin balance to a local bank account. The agent builds a destination for each rail you use, quotes the payout, sends the off-ramp, and tracks it to settlement.

Before you start

Prompt

Prompt

How to use

  1. Onboard one sandbox customer to APPROVED and fund its wallet before running this — an off-ramp against an empty wallet fails on balance, not on your code.
  2. Decide the holder relationship for your real payout flow yourself, with whoever owns compliance. The agent should not guess it.
  3. Review the branch tests: a rail you do not use yet is the cheapest thing to delete now and the most expensive to guess later.

What the prompt builds

Each destination carries a holder.relationship that tells Lumx who owns the receiving account. See Holder relationships for the full list.

Errors to expect

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

Destinations

Rails, required fields, and holder relationships.

Nested payments

Whose funds can move, and for whom.

Integrate on-ramps from fiat to stablecoin

Take fiat in and deliver stablecoin to the customer’s wallet.

Integrate webhooks with signature checks

Receive signed events that survive retries and secret rotation.