POST
/
transactions
/
on-ramp

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json
amount
string
required

The amount to be converted from fiat to stablecoin.

customerId
string
required

The customer performing the operation.

payment
object
required

The definition of how and where the funds from the off ramp transaction will be sent.

sourceCurrency
enum<string>
required

The fiat currency to convert from.

Available options:
BRL
targetCurrency
enum<string>
required

The stablecoin to convert to.

Available options:
USDC,
USDT

Response

201 - application/json
createdAt
string

The timestamp from when the transaction was submitted.

customerId
string

The customer performing the operation.

id
string

The id of the transaction.

request
object

An object containing the parameters used for this on-ramp.

state
object

The transactions's results.

type
enum<string>

The type of this transaction

Available options:
on-ramp
updatedAt
string

The timestamp from when the transaction was last updated.