POST
/
transactions
/
on-ramp

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json
customerId
string
required

The customer performing the operation.

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
amount
string
required

The amount to be converted from fiat to stablecoin.

payment
object
required

Response

201 - application/json
id
string

The id of the transaction.

customerId
string

The customer performing the operation.

type
enum<string>

The type of this transaction

Available options:
on-ramp
state
object

The transactions's results.

request
object

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

createdAt
string

The timestamp from when the transaction was submitted.

updatedAt
string

The timestamp from when the transaction was last updated.