curl --request POST \
--url https://api.bullring.finance/v2/ramp/{subaccountId}/banking/onramp/initiate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"from": {
"amount": 500,
"currency": "BRL"
},
"to": {
"asset": "STABLE_SATS",
"chain": "lightning",
"destination_address": "[email protected]"
}
}
'{
"id": "f7009e0e-73f4-44cb-8f51-d30073f57716",
"status": "pending",
"type": "onramp",
"from": {
"amount": "500",
"currency": "BRL",
"payment_instructions": {
"method": "pix",
"qr_code": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/fe71dbca8bb145fa953c1a2282ee49d15204000053039865802BR5908Bullring6015Ciudad de Mexic62070503***",
"expires_at": "2026-01-12T15:31:28.000Z"
}
},
"to": {
"asset": "STABLE_SATS",
"gross_amount": "92.80822735283428",
"net_amount": "92.02980267077578",
"address": "[email protected]"
},
"pricing": {
"fx_rate": "0.18561645470566857",
"fees": {
"onramp_fee": "1.5",
"onramp_fee_currency": "brl",
"network_fee": "2.6937266999999996",
"network_fee_asset": "STABLE_SATS"
}
}
}Initiate a fiat-to-crypto onramp transaction. This does not affect your Bullring balance.
curl --request POST \
--url https://api.bullring.finance/v2/ramp/{subaccountId}/banking/onramp/initiate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"from": {
"amount": 500,
"currency": "BRL"
},
"to": {
"asset": "STABLE_SATS",
"chain": "lightning",
"destination_address": "[email protected]"
}
}
'{
"id": "f7009e0e-73f4-44cb-8f51-d30073f57716",
"status": "pending",
"type": "onramp",
"from": {
"amount": "500",
"currency": "BRL",
"payment_instructions": {
"method": "pix",
"qr_code": "00020101021226890014br.gov.bcb.pix2567brcode-h.sandbox.starkinfra.com/v2/fe71dbca8bb145fa953c1a2282ee49d15204000053039865802BR5908Bullring6015Ciudad de Mexic62070503***",
"expires_at": "2026-01-12T15:31:28.000Z"
}
},
"to": {
"asset": "STABLE_SATS",
"gross_amount": "92.80822735283428",
"net_amount": "92.02980267077578",
"address": "[email protected]"
},
"pricing": {
"fx_rate": "0.18561645470566857",
"fees": {
"onramp_fee": "1.5",
"onramp_fee_currency": "brl",
"network_fee": "2.6937266999999996",
"network_fee_asset": "STABLE_SATS"
}
}
}