Get an exchange rate

Returns today's conversion rate for a currency pair. The id path parameter is the
6-character pair (source + target, e.g. usdclp). The rate is resolved for the
current date and the caller's company country; if none exists yet, Cardda fetches
and stores one from the external provider.

Any id whose length is not exactly 6 returns 400 Bad Request with an empty body.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 6 and 6

The currency pair as a single 6-character string: the 3-letter source currency
followed by the 3-letter target currency (ISO 4217), e.g. usdclp for USD to CLP.
Must be exactly 6 characters; any other length returns 400 Bad Request.

Headers
uuid
required

UUID of the company on whose behalf the request is made. Required for every Finance endpoint.
See The company-id header for details on how to obtain
a value for this header and the error responses to expect when it is missing or invalid.

Responses

400

The pair id is not exactly 6 characters.

401

Unauthorized - missing or invalid authentication token.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json