Connect Brazilian payments to the global stablecoin economy.
Receive PIX and settle in USDT or USDC.
Receive stablecoins and settle over PIX.
A single API for cash-in, cash-out and payouts.
Lunium connects PIX and stablecoins in a single programmable infrastructure.
Your customer pays an ordinary PIX. Lunium identifies the payment, converts it and settles the stablecoin straight to the configured address.
Today, cash-in settles on Polygon.
Explore cash-in →Send USDT or USDC. Get a quote, confirm the operation, deposit the stablecoin — and Lunium settles it over PIX.
Available across multiple networks, through the API catalog.
Explore cash-out →Send PIX straight from your system over Lunium's infrastructure. Create payments, follow their status and reconcile every operation through the API.
No crypto in between: reais, straight to the PIX key.
Explore payouts →The infrastructure was built for developers to start from the API — not from a sales call.
POST /keysPOST /cashin/previewPOST /cashin/chargecashin.settledNo manual credential provisioning. No waiting for someone to create your first key.
const response = await fetch(
"https://api.luniumpay.com/cashin/charge",
{
method: "POST",
headers: {
"X-API-Key": process.env.LUNIUM_API_KEY,
"Content-Type": "application/json"
},
body: JSON.stringify({
amount_cents: 25000,
payer_tax_number: "12345678901",
payout_address: "0x…",
asset: "usdt",
external_id: "order_8812"
})
}
);
const charge = await response.json();
{
"cashin_id": "ci_b3f9d2a41c6e…",
"status": "pending",
"amount_cents": 25000,
"chain": "polygon",
"asset": "usdt",
"qr_copypaste": "00020126…",
"qr_image_url": "https://…",
"external_id": "order_8812",
"expires_at": "2026-…"
}
Your application receives the PIX. Lunium handles the rest of the path.
In sync with the production API — and audited against it.
Import the API specification and start testing immediately.
Verify the authenticity of every event with a cryptographic signature.
Retry operations safely, without creating duplicate financial transactions.
Build predictable error handling instead of parsing prose.
Discover available assets and networks programmatically, without hardcoding anything.
Use API responses and settlement identifiers as your financial source of truth.
Lunium's catalog exposes the assets and networks available for cash-out — live, not in a stale table.
GET /catalog
Availability changes. Your integration does not have to guess — if it is in the catalog, it is available.
Financial infrastructure should never require your application to guess the final amount.
POST /cashin/preview
A quote that creates nothing — with your key's fee already applied.
POST /cash-outs
A quote with an explicit expiry. Nothing happens until you accept.
The API returns the values the transaction will use.
Your system displays the quote. Lunium remains the source of truth.
Real contract states: the PIX reaches paid; on-chain delivery is the settlement_status (pending → sending → sent) and the event cashin.settled tells you when to credit.
The internal conversion states collapse into a single event cashout.processing — you do not have to handle each one.
Your application follows state through the API — and receives every transition by webhook.
Financial APIs fail differently from ordinary ones.
Connections drop. Servers restart. Responses time out.
And your application retries the call.
Lunium's idempotency model lets the same external_id safely reference the same financial operation — including to recover it after an ambiguous error.
Every API key includes access to an operational monitor scoped to your account.
api.luniumpay.com
Operates through Lunium's API: creates, follows, reconciles — programmatically.
An API for machines. An agent for humans.
Lunium's cash-out sandbox uses the same API shape and the same lifecycle as production. Each scenario has a deterministic trigger — good for CI, not just for curiosity.
POST /keys/sandbox
Create a test credential without moving real funds — one call, no signup.
Add PIX and stablecoin settlement to your application without building the whole payment pipeline.
Connect Brazilian payments to stablecoin infrastructure with one API.
Give users an on- and off-ramp between PIX and digital dollars.
Automate collections, settlement and payouts.
Connect Brazilian payment flows to stablecoin settlement.
Embed Lunium inside your product and automate transactions programmatically.
Not a sales deck. Not a PDF. It is the API.
GET /keys/meAccount configuration, current limits and eligibility — machine-readable.GET /catalogAvailable assets and networks, right now.GET /cashin/chargesCash-in history.GET /cash-outsCash-out history.GET /payoutsPayout history.Your integration reads the current configuration instead of relying on assumptions.
Most payment companies ask you to talk to sales before you can understand the product. Lunium does the opposite.
Then talk to us — when you need production limits, commercial terms or enterprise support.
Integrate through the same simple API you already know — or let software discover and integrate it on its own. Both doors lead to the same infrastructure.
A direct REST API, OpenAPI 3.1, a deterministic sandbox and production. Nothing changed: if you already integrate, it stays exactly the same.
Start buildingOpen-standard discovery, a machine-readable capability catalog, a spending policy set by the integrator itself, and production entry by rule.
Lunium for agentsIt is the same API. The agent layer is additive — anyone who does not need it never runs into it.
One API for the payment flows your product needs.
Cash-in · Cash-out · Payouts