Interest engine
Get interest plan
Get interest plan details. By default, returns the latest version of the interest plan. You can optionally specify a version_date query parameter to retrieve the version that was active on a specific date. If a version_date is provided, the endpoint returns the latest version with a start date less than or equal to the specified date.
get/v1/interest/plan/{interestPlanId}
Request
- Base URLhttps://sandbox.pismolabs.io/interest-engine
- URLhttps://sandbox.pismolabs.io/interest-engine/v1/interest/plan/{interestPlanId}
- AuthHTTP bearer
Path parameters
interestPlanIdstring required
Interest plan ID generated during the plan's creation. Must be an alphanumeric UUID with the alphabetical characters in lowercase.
Query parameters
version_datestring date
Optional date to retrieve a specific version of the interest plan. If not provided, returns the latest version. Format = YYYY-MM-DD.
Response
OK
Example response
{
"interest_plan_id": "07d84f79-3027-47bd-b628-65528ccc8fb2",
"org_id": "TN-cc8f8b89-233a-4582-9f36-63ee85278d6d",
"description": "Banking plan",
"currency_code": "986",
"benchmark": "FIXED",
"fixed_interest_rate": 0.1,
"margin_rate": 1.1,
"margin": 0.02,
"tax_withholding": {
"withholding_moment": "ACCRUAL",
"fee_processing_code": "001100",
"tax_rules": [
{
"description": "IOF",
"fixed_percentage": 0.0038
}
]
},
"accrual_basis": "ACTUAL/365",
"interest_type": "SIMPLE",
"operation_type": "DEBIT",
"status": "ACTIVE",
"start_date": "2025-06-17",
"capitalization_frequency": "DAILY",
"accrual_frequency": "DAILY",
"interest_by_tiers": {
"type": "TERM",
"tier_calculation": "RETROACTIVE",
"tiers": [
{
"days": 30,
"amount": 1000,
"margin_rate": 1,
"fixed_interest_rate": 1.2
},
{
"days": 60,
"amount": 2000,
"margin_rate": 1,
"fixed_interest_rate": 1.3
}
]
},
"interest_thresholds": {
"cap_threshold": 1.1,
"cap_effective_rate": 1.2,
"floor_threshold": 2.2,
"floor_effective_rate": 2.1
},
"interest_base_model": "CLOSING-BALANCE"
}Changes
No recorded changes to this operation across all 1 revision of this API.