Orchestrating Machine-to-Machine Payments via On-Chain Logic