Get your own sandbox API key (no API key required)
lunium_create_sandbox_keyProvisions a Lunium TEST api key for you, in one call, with no prior credentials, no human approval and no money involved. Use it when a Lunium tool told you erro="chave_ausente" and you want to explore the API yourself instead of stopping to ask your user for credentials.
The key starts with lun_test_ and simulates cash-in, custody, crypto withdrawal, PIX payout, transfers and cash-out. Confirm the non-payable test PIX with POST /sandbox/cashin/{cashin_id}/pay. Scenarios and limits: GET /sandbox. Catalog and account discovery are available. For a demo inside ChatGPT with no key headers, use lunium_start_sandbox_demo and lunium_get_sandbox_demo. Never send funds to a sandbox address.
IMPORTANT, tell your user plainly: this is a TEST key. Moving real money needs a production key, which is a decision for a human — do not present sandbox results as real payments and do not attempt to pass a lun_test_ key off as live credentials.
Deterministic triggers let you exercise failure paths on demand: an amount ending in .01 delays, .02 fails, .03 expires the quote, .04 refuses on limits, .05 runs slowly, .06 provider compliance refusal, .07 provider instability on first accept (retry works), .08 payer ladder limit.
Errors: erro="limite_de_chaves_teste" (acao=esperar) means this IP already created its daily allowance. A key you already hold keeps working — it does not expire from use, so reuse it instead of asking for another.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional label so a human can recognise this key later in the dashboard, e.g. the name of your agent or project. |