Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header on the format Bearer <API_KEY>.

Headers

Idempotency-Key
string

Optional idempotency key: any string, a UUID v4 is recommended. Resending the same key with a different request body is a conflict. Cached responses include the header X-Idempotent-Cached: true. Keys expire after 24 hours.

Body

application/json

On-ramp at the market rate when funds arrive.

customerId
string<uuid>
required

Customer's unique identifier. The customer needs an approved verification, accepted terms of service and an active account in sourceCurrency.

Example:

"992f6325-fdd9-410d-803c-2ec0f30e1d74"

rail
enum<string>
required

Payment rail. Each rail settles one fiat currency: PIX: BRL, SPEI: MXN, SEPA: EUR, FPS: GBP, SWIFT, FEDWIRE and ACH: USD. The rail must be enabled for your project.

Available options:
PIX,
SWIFT,
SEPA,
FEDWIRE,
ACH,
SPEI,
FPS
Example:

"PIX"

sourceCurrency
enum<string>
required

Transaction's source currency. Must match the rail.

Available options:
BRL,
USD,
EUR,
MXN,
GBP
Example:

"BRL"

sourceAmount
string
required

Transaction's source amount. Up to 2 decimal places. Must be worth at least 50 USD.

Example:

"1000.00"

targetCurrency
enum<string>
required

Transaction's target currency.

Available options:
USDC,
USDT
Example:

"USDC"

purpose
enum<string>
required

Transaction's purpose. Case-insensitive. PERSONAL_ACCOUNT: transfer to or from the customer's own account (for off-ramps, the destination holder's relationship must be SELF), INVESTMENT: investment, REAL_ESTATE: real estate purchase or rent, TRADE_TRANSACTIONS: payment for goods, TAX: tax payment, LOAN: loan payment or disbursement, BILLS: bill payment, EXPENSES_REIMBURSEMENT: expense reimbursement, PROFESSIONAL_SERVICES: payment for professional services.

Available options:
PERSONAL_ACCOUNT,
INVESTMENT,
REAL_ESTATE,
TRADE_TRANSACTIONS,
TAX,
LOAN,
BILLS,
EXPENSES_REIMBURSEMENT,
PROFESSIONAL_SERVICES
Example:

"PERSONAL_ACCOUNT"

blockchain
enum<string>

Blockchain network. Accepted values depend on the networks enabled for your project. Case-insensitive. When omitted, your project's default blockchain is used.

Available options:
ETHEREUM,
POLYGON,
BASE,
TRON,
STELLAR
Example:

"POLYGON"

partnerFeeId
string<uuid>

Partner fee's unique identifier.

Example:

"64cd84f0-a99d-422b-82e8-89d3595251b9"

metadata
object

Transaction's metadata. Any JSON object; it is returned as sent in every read and webhook.

Example:

Response

On-ramp transaction successfully created.

id
string<uuid>

Transaction's unique identifier.

Example:

"3960c216-e281-4b40-b5ea-98c1dbfb819a"

customerId
string<uuid>

Customer's unique identifier.

Example:

"992f6325-fdd9-410d-803c-2ec0f30e1d74"

type
enum<string>

Transaction's type.

Available options:
ON_RAMP
Example:

"ON_RAMP"

request
object

Transaction's request, as resolved by Lumx. For locked rates, the values come from the exchange rate.

state
object

Transaction's current state.

metadata
object

Transaction's metadata, as sent on creation. Empty object when none was sent.

Example:
createdAt
string<date-time>

Creation date and time (UTC).

Example:

"2026-11-03T17:40:39.774Z"

updatedAt
string<date-time>

Last update date and time (UTC).

Example:

"2026-11-03T17:40:40.112Z"