There are two things that you could be talking about. The first are payment channels, which is a statement channel solution that is good if you have many small payments between two parties.
You can find information on payment channels here:
https://github.com/ton-blockchain/payment-channels
https://github.com/toncenter/tonweb/tree/master/src/contract/payments
If you're just trying to send TON from one wallet to another, you could just write a python or node script.
https://ton.org/docs/#/payment-processing/deposits-single-wallet
https://society.ton.org/how-ton-wallets-work-and-how-to-access-them-from-javascript