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.
Path parameters
Interest plan ID generated during the plan's creation. Must be an alphanumeric UUID with the alphabetical characters in lowercase.
Query parameters
Optional date to retrieve a specific version of the interest plan. If not provided, returns the latest version. Format = YYYY-MM-DD.
Headers
Account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a "** 401 Unauthorized**" error.
Response
OK
Example response
{
"interest_plan_id": "07d84f79-3027-47bd-b628-65528ccc8fb2",
"org_id": "TN-34778262-f4f0-464d-b4c6-a14exxxxxxxx",
"description": "Challenge expired",
"currency_code": "840",
"benchmark": "FED",
"fixed_interet_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,
"threshold_amount": 1000
}
]
},
"accrual_basis": "ACTUAL/365",
"interest_type": "SIMPLE",
"capitalization_frequency": "DAILY",
"accrual_frequency": "DAILY",
"interest_base_model": "CLOSING-BALANCE"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.