In this topic:

Properties of the Conversion Rates Provider

With Currex API, you can add new properties to your provider, retrieve the existing ones, and update the needed properties.

Retrieving provider properties

GET http://example-currency.gotransverse.com/currex/2/rate-sets/providers/{provider_type}/properties

Note: For Currex API, the following provider types are available: OANDA, CUSTOM, and FILE.

Adding provider properties

To add new provider properties, use the following endpoint and a sample request body.

POST http://example-currency.gotransverse.com/currex/2/rate-sets/providers/{provider_type}/properties

Request

[
 {
  "key": "sample_key ",
  "value": "100",
  "label": "Sample Label",
  "data-type": "NUMBER",
  "format": "INT32"
 }
]

Updating provider properties

To update desired provider properties, in the payload, indicate what properties should be changed and use the following endpoint.

POST http://example-currency.gotransverse.com/currex/2/rate-sets/providers/{provider_type}/properties

Top