patch
https://sandbox.pismolabs.io/apex/v1/interest-plans/
Update an interest plan identified by an external interest plan ID. The update creates a version of the interest plan that takes effect on start_date, which must be today (UTC) or later. The fields sent replace the ones of the version in effect today, and the fields not sent keep their values. The response is the new version.
You can update only description, fixed_interest_rate, margin_rate, margin, interest_by_tiers and interest_thresholds, and must send at least one of them with start_date. Passing any other field, including interest_plan_id, external_interest_plan_id or currency_code, returns 400.
Notes:
fixed_interest_ratecan change only on an interest plan without abenchmark, andmargin_rateandmarginonly on one with abenchmark.interest_by_tierskeeps itstypeandtier_calculation, and changes only the tiers sent, matched bydaysoramount.- If a version with this
start_datealready exists, the request fails with409. This includes retrying a request that already succeeded: use Get interest plan withversion_dateto read the version created. - An interest plan whose first version starts in the future can't be updated before that date, and the request fails with
404.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…