v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBInterest engine
Create interest plan version
Create a new version of an existing interest plan. This endpoint allows you to update specific fields while preserving others from the previous version.
Key features:
- Creates a new version with the specified start_date.
- Updates only the provided fields—any field not specified inherits the value from the previous version.
- Validates that the new start_date is after the start_date of the previous version.
- Maintains immutable fields like interest_type and tier_calculation.
- Preserves existing tiers when updating interest_by_tiers—only specified tiers are updated.
This endpoint generates an Interest plan created event.
patch/v1/interest/plan/{interestPlanId}
Path parameters
interestPlanIdstring required
Interest plan ID generated during the plan's creation. Must be an alphanumeric UUID with the alphabetical characters in lowercase.
Headers
Authorizationstring required
Account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a "** 401 Unauthorized**" error.
content-typestring required
Content type
Request body
Example request
{
"start_date": "2025-06-17",
"description": "BANKING PLAN v2",
"margin": 0.05,
"margin_rate": 1.2
}Response
OK
Example response
{
"interest_plan_id": "07d84f79-3027-47bd-b628-65528ccc8fb2",
"version": "2025-06-17"
}