Create an onramp
Create an onramp transaction converting fiat to stablecoins. The source funds
either from a user’s own account (source.userId + source.transferType) or
from a saved external account (source.externalAccountId). The destination
delivers crypto to either a HIFI-hosted wallet (destination.walletId) or a
saved external wallet (destination.externalWalletId). Exactly one amount
(source.amount or destination.amount) must be provided.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Onramp details. Provide exactly one of source.userId / source.externalAccountId,
exactly one of source.transferType / source.externalAccountId, exactly one of
destination.walletId / destination.externalWalletId, and exactly one of
source.amount / destination.amount.
Create an onramp. Provide exactly one of source.userId / source.externalAccountId,
exactly one of source.transferType / source.externalAccountId, exactly one of
destination.walletId / destination.externalWalletId, and exactly one of
source.amount / destination.amount.
Client-supplied idempotency key. A second create with the same value returns a conflict.
"b3d1f2a4-5c6e-7890-abcd-ef1234567890"
Source of the fiat funds.
Destination for the delivered crypto.
Whether to use same-day ACH settlement.
false
Purpose of the payment.
"Investment"
Free-form description for the onramp.
"Monthly top-up"
Response
Onramp created successfully.
An onramp transaction.
Public ID of the onramp (prefixed with onramp_).
"onramp_7bV1aLcs3Kf9dQ2mNpXwZ"
Client-supplied idempotency key from the create request.
"b3d1f2a4-5c6e-7890-abcd-ef1234567890"
Lifecycle status of the onramp transaction.
NOT_INITIATED, CREATED, OPEN_QUOTE, IN_REVIEW, FIAT_INITIATED, AWAITING_FUNDS, FIAT_PENDING, FIAT_PROCESSED, CRYPTO_INITIATED, CRYPTO_PENDING, COMPLETED, FIAT_FAILED, FIAT_RETURNED, CRYPTO_FAILED, QUOTE_FAILED, EXPIRED, UNKNOWN, CANCELLED "AWAITING_FUNDS"
Machine-readable reason when the onramp failed.
null
User-facing error summary when the onramp failed.
null
User-facing error detail when the onramp failed.
null
Settlement breakdown once funds settle.
Conversion quote for the onramp.
Micro-deposits received against the onramp while awaiting funds.
false
"Monthly top-up"
"2026-07-01T10:30:00.000Z"
"2026-07-01T10:30:00.000Z"