Skip to main content
Paste this prompt into your coding agent to take a cut of every transaction you route through Lumx. The agent creates the fee, applies it to locked and floating rates, shows customers the final numbers, and reconciles what was collected in Sandbox.

Before you start

  • A Sandbox API key. See Authentication.
  • A wallet you control to receive the fees.

Prompt

Prompt

How to use

  1. Decide the rate with whoever owns pricing before running this. It is the one input the agent cannot infer, and it ends up in every quote.
  2. Use a wallet you control on a network you can actually monitor — fees land there and nowhere else.
  3. Check the two flagged gaps in the agent’s report with Lumx before go-live, especially the missing default-fee field if your design assumed it.

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.

Partner fees

Fee structure and when fees apply.

Exchange rates

Locked and floating quotes.

Build marketplace seller payouts

Pay marketplace sellers and take a platform fee on every sale.

Integrate on-ramps from fiat to stablecoin

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