Onramp
The customer wires Mexican pesos to an MXND CLABE. We mint MXND, settle the trading asset against it, and pay it out on chain.
Each trade
Once setup is in place, executing a fiat → crypto trade is a quote plus an order against the Trading API, plus an SPEI wire from the customer's bank. Everything in between is handled by Bitrus.
Quote USDT/MXND on the Trading API
Pair is USDT/MXND, side BUY. The total field is the MXN amount you need to wire.
Trading API · POST /quotes/
curl -X POST https://api.bitrus.com/api/v1/quotes/ \
-H "Authorization: Bearer $TRADING_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"base_asset": "USDT",
"quote_asset": "MXND",
"quantity": "500",
"side": "BUY"
}'Response
1 keysCreate the trade order
POST /trade-order/ with the quote id and the network the Trading wallet is on. The response is the deposit address the Trading API expects to be funded — for fiat → crypto, that funding will come from the MXND mint, not from the customer.
Trading API · POST /trade-order/
curl -X POST https://api.bitrus.com/api/v1/trade-order/ \
-H "Authorization: Bearer $TRADING_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"quote_id": "ad5f2fa3-7f1b-4d0c-9d81-1f2c3cba9c01",
"network": "POLYGON"
}'Response
4 keysCustomer wires MXN to an MXND CLABE
The customer sends the SPEI transfer for the quoted MXN total to one of the MXND collection CLABEs (provided out-of-band).
MXND mints into the Trading wallet
Within seconds of the wire settling, the MXND backend mints MXND directly to the Trading-side deposit wallet. The customer's notification emails get the mint_confirmation template.
Trading API sees a normal on-chain deposit
The trade order moves WAITING_DEPOSIT → DEPOSIT_RECEIVED → ASSET_SENT → COMPLETE as Bitrus sends USDT to the customer's whitelisted withdraw address.