Get effective interest rate for an account during the given time period
GET
/accounts/{account_id}/interest_rates
Path parameters
-
account_id string Required
ID of the Account
Query parameters
-
effective_at_inclusive_start string(date-time) Required
Inclusive start time for this interest rate value
-
effective_at_exclusive_end string(date-time) Required
Exclusive end time for this interest rate value
GET /accounts/{account_id}/interest_rates
curl \
-X GET https://<your_environment_name>-uat-api.canopyservicing.com/accounts/can_52322/interest_rates?effective_at_inclusive_start=2020-01-01T00%3A00%3A00%2B00&effective_at_exclusive_end=2020-01-01T00%3A00%3A00%2B00 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response example (200)
[
{
"account_id": 4,
"line_item_id": "can_26",
"effective_at_inclusive_start": "2018-07-20T09:12:30+00:00",
"effective_at_exclusive_end": "2018-07-20T09:12:30+00:00",
"interest_rate": "1.23",
"interest_rate_id": "10",
"tags": {
"scra": "true"
}
}
]