What is your automated payment method?

We are currently looking to implement an automated payment process for our customers.
I am using “custtrans::settlement” but it is not working.

How can I do this?
Thanks for your help.