v1

latestOpenAPI 3.0.0BRLA License2026-07-14469068.3 KB
Buy Operations

Creates a pix-to-token ticket

Creates a ticket for buying other tokens. Amount received fluctuates and is calculated at the time the payment is detected

post/superuser/buy/pix-to-token

Query parameters

taxIdstring required

Tax id of a KYC'd user

Request body

amountinteger required

Amount in cents (e.g. 10 would represent R$0.10)

token'BRLA' | 'USDC' | 'USDT' | 'ETH' | 'GLMR' | 'MATIC' | 'CHZ' required

Not all coins might be available for every operation

markupstring

If the user wants to add an extra % fee to the operation to be delivered to another wallet. Represents a percentage with at most 4 decimal places (e.g. 0.001 is 0.1%)

receiverAddressstring required
markupAddressstring
externalIdstring

External id you can input to help later conciliation. Up to 40 alphanumeric characters.

Response

Pix-to-token ticket created

idstring uuid
duestring date-time
brCodestring

BR Code to be paid. If you want to create a QR Code, this should be its content

markupBRLAstring