Get a list of temporary promos for a specific account
Path parameters
-
account_id
string Required Account ID
GET
/accounts/{account_id}/temp_promos
curl \
-X GET https://sandbox-api.canopyservicing.com/accounts/31mNprzLd2bKl6koVna68ARM/temp_promos \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"results": [
{
"temp_promo_id": "31mNprzLd2bKl6koVna68ARM",
"temp_promo_inclusive_start": "2016-11-27T13:19:56+00:00",
"temp_promo_exclusive_end": "2016-11-27T13:19:56+00:00",
"interest_rate_percent": 6.2,
"interest_rate_percent_prev": 8.2,
"late_fee_cents": 90000,
"late_fee_cents_prev": 50000
}
]
}
Response examples (200)
{
"results": [
{
"temp_promo_id": "31mNprzLd2bKl6koVna68ARM",
"temp_promo_inclusive_start": "2016-11-27T13:19:56+00:00",
"temp_promo_exclusive_end": "2016-11-27T13:19:56+00:00",
"interest_rate_percent": 6.2,
"interest_rate_percent_prev": 8.2,
"late_fee_cents": 90000,
"late_fee_cents_prev": 50000
}
]
}