Create an onramp
Creates a fiat-to-crypto transaction. In local mock mode, use KES mobile money as the source and Base Sepolia USDC as the destination.
Headers
idempotency-key
Unique request key. Reuse the same value when retrying the same transaction.
Request
Creates a fiat-to-crypto transaction.
amount
Amount of blockchain asset the customer will receive.
source
A fiat payment account.
destination
An account on a supported blockchain network.
source_amount
Fiat amount the customer will pay.
Response
The onramp was accepted and is processing.
txId
status
instructions
Errors
400
Bad Request Error
422
Unprocessable Entity Error
500
Internal Server Error
