POST
/
transactions
/
off-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 stablecoin to convert from.

Available options:
USDC,
USDT
targetCurrency
enum<string>
required

The fiat currency to convert to.

Available options:
BRL
amount
string
required

The amount to be converted from stablecoin to fiat.

payment
object
required

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

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:
off-ramp
state
object

The transactions's results.

request
object

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

createdAt
string

The timestamp from when the transaction was submitted.

updatedAt
string

The timestamp from when the transaction was last updated.