The programmable version of the Gather applet allows you to take numeric information from the user via their keypads and configure the Gather parameters (such as gather prompt, max digits, timeout etc.) dynamically from your application URL. The gathered digits then can be sent to your endpoint using Passthru applet. For configuring Gather dynamically using your application URL, refer here.

Programmable Gather