Root release update | March 2022

What's new this month? 🚀

  • Support for additional banks

    • Added support for Sasfin
    • Added support for Al Baraka
  • Additional fields on payment data source

    The payments data source for data exports has been extended to include the fields customer_ref, external_ref and raw_response.

  • Idempotency layer added to policy issue endpoint

    The API supports idempotency for safely retrying requests without accidentally executing the same request twice resulting in duplicates. This is especially useful in cases where API requests are disrupted in transit and you do not receive a response. For example if an API request to issue a policy gets disrupted due to a network connection or timeout error, you can retry the request using the same idempotency_key parameter to guarantee that no more than one policy gets issued. Currently only implemented for the policy-issuing endpoint.

  • Workbench CLI tool - improved user experience for rp render

    We improved the behaviour off the workbench CLI tool for the command rp render --merge as follows.

    • If any required files or folders do not exist when the command is executed, they will be created by the tool.
    • Merge vars are written to the file sandbox > merge-vars.json in the correct format, and now include the application and payment method objects.
    • If the -p <policy_id> option is used, data from the specified sandbox policy is written into the file in the correct format.
    • The tool will inject merge vars into the policy document templates only if the --merge option is provided.
    • The tool will only use the merge vars that are available to the specific document type. This guide explains which objects are available to which documents.
    • When cloning a product module, the .gitignore reference to sandbox output files is now more specific. This means that when pushing to GitHub, the file sandbox > merge-vars.json will be included in the upload. This facilitates collaboration between users when creating document templates. Note: This change will only affect newly cloned product modules. You can implement this manually in existing product modules by replacing sandbox with sandbox/output/* in your .gitignore file.
  • Workbench CLI tool - improved user experience for unit test code files (rp test)

    When you use rp push, rp pull or rp test, and you do not have any local unit test code files, the tool creates the correct folder structure code > unit-tests, and a unit test code file with boilerplate code will be added.
    Previously, the tool would offer to add a template code file for you if you did not have any code files. Now, you can instead request that the template code be added with a new option, rp test --template.


If you have any suggestions or feedback, please share with your account manager or submit it via the Root product roadmap so that we can take it into account.

Let's build this awesome new future of insurance together 💪