Skip to main content
POST
/
v2
/
ramp
/
{subaccountId}
/
banking
/
onramp
/
quote
Get Onramp Quote
curl --request POST \
  --url https://api.bullring.finance/v2/ramp/{subaccountId}/banking/onramp/quote \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "from": {
    "amount": 500,
    "currency": "BRL"
  },
  "to": {
    "asset": "STABLE_SATS",
    "chain": "lightning"
  }
}
'
{
  "type": "onramp",
  "from": {
    "amount": "500",
    "currency": "BRL"
  },
  "to": {
    "asset": "STABLE_SATS",
    "gross_amount": "92.80822735283428",
    "net_amount": "92.02980267077578"
  },
  "pricing": {
    "fx_rate": "0.18561645470566857",
    "fees": {
      "onramp_fee": "1.5",
      "onramp_fee_currency": "brl",
      "network_fee": "2.6937266999999996",
      "network_fee_asset": "STABLE_SATS"
    }
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

subaccountId
string
required

Body

application/json
from
object
to
object

Response

200 - application/json

Successful quote

type
string
from
object
to
object
pricing
object