Skip to content

upsertExchangeRateOverride

WRITE

Upsert exchange rate override.

POST /api/v1/accounting/upsertExchangeRateOverride
curl -X POST '<your-host>/api/v1/accounting/upsertExchangeRateOverride' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "currencyCode": "string",
    "rate": 0
  }'
Response
{
  "id": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "currencyCode": {
      "type": "string"
    },
    "rate": {
      "type": "number"
    }
  },
  "required": [
    "currencyCode",
    "rate"
  ]
}