Hello @rjs391
We don't have any code for this currently.This is something you have to handle form your end.

Regards,
SmartAPI Team