Off-ramp
This endpoint converts stablecoins to fiat.
Documentation Index
Fetch the complete documentation index at: https://docs.lumx.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header on the format Bearer <API_KEY>.
Headers
Optional UUID v4 idempotency key. If you resend the same key with a different request body, the API returns a 409 error. Cached responses include the header X-Idempotency-Cached: true. Keys expire after 24 hours.
Body
- Floating
- Locked
Off-ramp using floating exchange rate.
Destination's unique identifier.
"e80d3137-eddd-4791-b9b8-6e36b289f284"
Transaction's source currency.
USDC, USDT "USDC"
Transaction's source amount.
"10000.00"
Transaction's purpose. Note that PERSONAL_ACCOUNT can only be used with SELF relationship destinations.
PERSONAL_ACCOUNT, INVESTMENT, REAL_ESTATE, TRADE_TRANSACTIONS, TAX, LOAN, BILLS, EXPENSES_REIMBURSEMENT, PROFESSIONAL_SERVICES "PERSONAL_ACCOUNT"
Transaction's memo. Optional reference for the wire transfer.
"INV-2024-10-1547"
Target blockchain for the transaction. If not provided, the project's default blockchain will be used.
ETHEREUM, BASE, TRON, POLYGON "POLYGON"
Transaction's partner fee ID. If not provided, partner fees will be zero.
"123e4567-e89b-12d3-a456-426614174004"
Optional metadata object to attach to the transaction. Accepts any valid JSON object.
{
"orderId": "ord_789",
"source": "checkout"
}Response
Off-ramp transaction started successfully.
- Floating
- Locked
Off-ramp operation's unique identifier.
"123e4567-e89b-12d3-a456-426614174003"
Customer's unique identifier.
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Off-ramp operation's type.
OFF_RAMP "OFF_RAMP"
Off-ramp operation's current state. See examples for more details.
Metadata object attached to the transaction.
{
"orderId": "ord_789",
"source": "checkout"
}Creation date and time (UTC).
"2024-03-20T15:30:00Z"
Last update date and time (UTC).
"2024-03-20T15:30:05Z"