---
title: "Update Currency Ratio"
method: POST
path: "/currencyratio"
---

# Update Currency Ratio

`POST /currencyratio`

Lets you add or update currency ratios with respect to Indian Rupee (INR).

## Request body

- object
  - `ratioInr` number, double, required — Conversion ratio with respect to INR.
  - `currencyCode` string, required — ISO currency code that you want to update. For example `EUR` for Euro, `SGD` for Singapore Dollar, `CNY` for China Yuan Renminbi, `SAR` Saudi Riyal. For more codes, Google for ISO currency codes.

## Response `200`

200

- object
  - `entity` object
    - `ratioInr` integer
    - `currencyCode` string
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown
  - `success` boolean

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
