Get populated document template for savings account
GET/savings/{savingsAccountId}/templates/{templateId}
Allows you to get the raw HTML, as a string, of any document template associated with this savings deposit product with all placeholders populated with data for this account.
You can get the ID for templates available for a loan product by calling the Savings Products API. The ID is retuned as encoded key in the templates array. Supported templates for this operation will be of the type ACCOUNT or ACCOUNT_WITH_TRANSACTIONS.
As ACCOUNT_WITH_TRANSACTIONS templates include placeholders for Transaction History you must supply a start and end date for your request. Note that any transcations between 00:00:00 on the start date and 23:59:59 of the end date will be considered when populating the template.
Request
Responses
- 200
ok