In this example we will review how to add an interest rate cap type.
We will add a Bank of Finland PIRC interest rate cap.
The interest rate cap is applied instantly.
The 4eye confirmation for the the interest rate cap fixings is not required.
To add a new interest rate cap type, make the following API call.
https://currency-api.sandbox.tuumplatform.com/api/v1/interest-rate-caps/types
Below is an example request body of the API call for adding a new interest rate cap types.
{
"interestRateCapCode": "Bank of Finland PIRC",
"rateCapApplicationRule": "INSTANT",
"fourEyeRequired": false
}
curl --location 'https://currency-api.sandbox.tuumplatform.com/api/v1/interest-rate-caps/types' \
--header 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDktMjVUMTQ6MTc6MjkiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2OTU2NTE0NDl9.Zo39uMKkrlxqsjRTwhEGwz2NukSnBigNTztbtYYPb3k' \
--header 'x-channel-code: SYSTEM' \
--header 'Content-Type: application/json' \
--data '{
"interestRateCapCode": "Bank of Finland PIRC",
"rateCapApplicationRule": "INSTANT",
"fourEyeRequired": false
}'
As a result, a Bank of Finland PIRC interest rate cap type with an instant application rule is added to the Tuum system.
"interestRateCapCode": "Bank of Finland PIRC"
"rateCapApplicationRule": "INSTANT"
"fourEyeRequired": false