v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBAccount attachment
Attach deposit to account
Attach a time deposit product to an account. This endpoint generates the Account attached event.
post/v1/deposits/accounts/{accountId}/attach
Path parameters
accountIdinteger required
Account ID
Headers
AuthorizationTokenstring required
Account token. Token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a 401 Unauthorized error.
Request body
Example request
{
"product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
"effective_date": "2025-12-01",
"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": {
"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"
}
}
},
"metadata": {
"key": "value"
}
}Response
Created
Example response
{
"account_id": 123456,
"product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
"effective_date": "2025-12-01",
"deposit_configs": {
"maturity_period": {
"unit": "MONTHS",
"value": 6,
"calendar_maturity_date": "2027-06-15"
},
"interest_capitalization_mode": "REINVEST",
"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"
}
}
}
}