Pricing — Reference
Auth: Authorization: Bearer $PARTNER_TOKEN (Dashboard/JWT) on all routes.
GET /v1/pricing/simulate · GET /v1/pricing/markup · PUT /v1/pricing/markup
curl -G "$BASE_URL/v1/pricing/simulate" \
-H "Authorization: Bearer $PARTNER_TOKEN" \
--data-urlencode "source_amount=150000" \
--data-urlencode "source_currency=AED" \
--data-urlencode "dest_currency=INR" \
--data-urlencode "exchange_rate=22.5" \
--data-urlencode "counterparty_id=$PARTICIPANT_ID"
curl -X PUT "$BASE_URL/v1/pricing/markup" \
-H "Authorization: Bearer $PARTNER_TOKEN" -H "Content-Type: application/json" \
-d '{ "kind": "BPS", "value": 20 }'
PUT /markup body: kind (BPS|FLAT), value, currency (if FLAT), optional min_fee, max_fee.
GET /v1/pricing/corridors · GET /v1/pricing/counterparties
GET / PUT / DELETE /v1/pricing/counterparties/:id/markup
curl -X PUT "$BASE_URL/v1/pricing/counterparties/$PARTICIPANT_ID/markup" \
-H "Authorization: Bearer $PARTNER_TOKEN" -H "Content-Type: application/json" \
-d '{ "kind": "BPS", "value": 10 }'
curl -X DELETE "$BASE_URL/v1/pricing/counterparties/$PARTICIPANT_ID/markup" \
-H "Authorization: Bearer $PARTNER_TOKEN"
DELETE → 204. All math is integer/bps — no floats.