This endpoint converts fiat to stablecoin.
Bearer authentication header on the format Bearer <API_KEY>.
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.
On-ramp using floating exchange rate.
Customer's unique identifier.
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Exchange rate payment rail.
PIX, SWIFT, SEPA, ACH, FEDWIRE "PIX"
Transaction's source currency.
BRL, USD, EUR "BRL"
Transaction's source amount.
"10000.00"
Transaction's target currency.
USDC, USDT "USDC"
Transaction's purpose. Note that PERSONAL_ACCOUNT can only be used with SELF relationship bank accounts.
PERSONAL_ACCOUNT, INVESTMENT, REAL_ESTATE, TRADE_TRANSACTIONS, TAX, LOAN, BILLS, EXPENSES_REIMBURSEMENT, PROFESSIONAL_SERVICES "PERSONAL_ACCOUNT"
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"
}On-ramp transaction started successfully.
On-ramp operation's unique identifier.
"123e4567-e89b-12d3-a456-426614174000"
Customer's unique identifier.
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
On-ramp operation's type.
ON_RAMP "ON_RAMP"
On-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"