Create a currency conversion

Create currency conversion

POST https://ris.rightsline.com/v4/currency/conversion

This endpoint allows you to create a currency conversion.

Headers

NameTypeDescription

x-api-key

string

Your company's API key.

Authentication

string

Authentication token.

Request Body

NameTypeDescription

companyCurrency

string

The base company currency.

transactionCurrency

string

The new currency.

rate

number

The conversion rate between the companyCurrency and the transactionCurrency.

effectiveDate

string

The date the conversion takes effect.

{
    "id": "45d01ae0-a14e-41ff-17fe-4e51e39babb1",
    "companyCurrency": "USD",
    "transactionCurrency": "AUD",
    "rate": 1.000000000,
    "effectiveDate": "2020-09-01T00:00:00.000Z"
}

Sample Request

{
    "companyCurrency": "USD",
    "transactionCurrency": "AUD",
    "rate": 1.000000000,
    "effectiveDate": "2020-09-01T00:00:00.000Z"
}

Last updated