CurrencyExchangeRate
Create new Currency Exchange Rate
Changed onDefine a new exchange rate to be used when custom metered usage is reported to your marketplace by a Developer in a currency that isn't supported by your marketplace. This enables you to invoice your customers in your marketplace currency, even though a Developer's external price list for metered usage charges (like Amazon Web Services) might be in a different currency.
post/channel/v1/exchangeRates
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"baseCurrency": "USD",
"counterCurrency": "CAD",
"rate": 0.5
}Response
OK
Example response
{
"baseCurrency": {
"href": "...",
"id": "..."
},
"counterCurrency": {
"href": "...",
"id": "..."
},
"rate": 0.5,
"validFrom": 1507077229000,
"active": true,
"authenticationType": "USER_LOGIN",
"oauthKey": "...",
"userId": 12345,
"currencyExchangeRateUuid": "..."
}Changes
- info
endpoint added
- info