Skip to main content
POST
Create currency rate

Authorizations

Authorization
string
header
required

An API token from Sign in, sent as Authorization: Bearer <token>. Tokens last 30 days.

Path Parameters

currency_id
integer
required

The currency ID

Example:

1

Body

application/json
name
string
required

Rate effective date (YYYY-MM-DD format). Must be a valid date.

Example:

"2024-01-15"

rate
number
required

Exchange rate (minimum 0). Must be at least 0.

Example:

1.25

company_id
integer | null

Company ID (optional, null for global rates). The id of an existing record in the companies table.

Example:

1

Response

Created