Create balance [Beta]
Register a balance for an interest-bearing account using a previously configured interest plan to determine applicable interest rates.
This endpoint generates an Interest balance succeeded event when the balance is created successfully. This endpoint generates an Interest balance failed event when balance operation fails.
The event payload includes: program_id, balance_id, account_id, interest_plan_id, balance, start_cycle_date, value_date, maturity_date, and trigger_reason. The optional field external_account_id is included in the event only when present in the request. The division fields division_id and division_code are included in the event only when a non-default division is provided. They are omitted when division_id is DEFAULT_DIVISION or the value is null.
The optional field external_account_id is only returned in the response when present in the request.
The optional field trigger_reason indicates why the balance registration is being triggered. When omitted or null, it defaults to CYCLE_CLOSING. RETROACTIVE_CYCLE_CLOSING is only valid when value_date is before the current date. Otherwise, the request is rejected with a 400 error.
balance_id must be a valid UUID. Alphabetical characters are accepted in either case on input, but are converted to lowercase in the response.
Request
- Base URLhttps://sandbox.pismolabs.io/interest-engine
- URLhttps://sandbox.pismolabs.io/interest-engine/v1/interest/balance
- AuthHTTP bearer
Headers
Content type
Authorization
Request body
Example request
{
"balance_id": "3f1c2b7a-9d4e-4a6b-8c21-5e7f9a0b1c2d",
"division_id": "123",
"division_code": "DIV-001",
"account_id": "4040",
"external_account_id": "4141",
"interest_plan_id": "df3f3e3e-62d3-4323-902e-6ae6cc210f49",
"balance": 23.95,
"start_cycle_date": "2025-07-17",
"value_date": "2025-07-17",
"maturity_date": "2026-05-27",
"trigger_reason": "CYCLE_CLOSING"
}Response
OK
Example response
{
"program_id": "0105",
"balance_id": "3f1c2b7a-9d4e-4a6b-8c21-5e7f9a0b1c2d",
"external_account_id": "4141"
}Changes
No recorded changes to this operation across all 1 revision of this API.