response = requests.post(
f"{BASE_URL}/quantlib/pricing/barrier-option",
headers={"X-API-Key": API_KEY},
json={
"spot": 100,
"strike": 105,
"barrier": 110,
"barrier_type": "up_and_out",
"rate": 0.05,
"volatility": 0.2,
"time": 0.25,
"option_type": "call"
}
)