Hi All,

I need a logical help in this.

I am working on a usecase in which there are 2 account types official and residential.

For official payment limit is 1500 and residential 1000.

– the payment portal has limitations around the value that can be used for the Payment Amount. If the value exceeds the acceptable amount, the payment amount will need to be split into multiple payments by diving the total by however many payments are necessary to ensure that each payment is within the exceptable value.

so if payment amount for residential is 1200 then its beyond the acceptable hence it will be splitted into 1000 and 200.

can anyone help, how it can be done?

Amount can even be 2500 for residential then BOT will first make payment of 1000 then again comeback and make another 1000 and then 500.

Payment amount will be the input taken from the User