Program attachment
Attach deposit product to program
Attach a time deposit product to a program. This endpoint generates the Program attached event.
At the program scope, deposit_configs.overrides only accepts renewal_term. Sending penalties returns 400 EIBACC0317 and sending maturity_instructions returns 400 EIBACC0318 — apply those per-account instead.
post/v1/deposits/programs/{programId}/attach
Request
- Base URLhttps://sandbox.pismolabs.io/savings-products
- URLhttps://sandbox.pismolabs.io/savings-products/v1/deposits/programs/{programId}/attach
- AuthHTTP bearer
Path parameters
programIdinteger required
Program ID
Request body
Example request
{
"product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
"deposit_configs": {
"maturity_period": {
"unit": "MONTHS",
"value": 6,
"calendar_maturity_date": "2027-06-15"
},
"payout_account": {
"label": "My payout account",
"type": "INTERNAL",
"internal_account_id": 123456,
"external_account": {
"key": "value"
}
},
"interest_capitalization_mode": "REINVEST",
"overrides": {
"renewal_term": {
"unit": "MONTHS",
"value": 6,
"renewal_calendar_maturity_date": "2027-05-22"
}
}
},
"metadata": {
"key": "value"
}
}Response
Created
Example response
{
"program_id": 123,
"product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
"deposit_configs": {
"maturity_period": {
"unit": "MONTHS",
"value": 6,
"calendar_maturity_date": "2027-06-15"
},
"interest_capitalization_mode": "PAYOUT",
"accrual_model": "DEPOSIT_BASIS",
"balance_type": "VALUE_DATED_BALANCE",
"overrides": {
"maturity_instructions": {
"principal": "ROLLOVER",
"interest": "PAY",
"reason": "Customer preference at onboarding"
},
"renewal_term": {
"unit": "MONTHS",
"value": 6,
"renewal_calendar_maturity_date": "2027-05-22"
},
"penalties": {
"reason": "Q4 2026 VIP retention package",
"withdrawal_fee": {
"value": 1.5
}
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.