By splitting these two roles into two contracts we can decouple the payments and reuse the payment gateway for many different types of resource. The flow will resemble the 402 payment flow used on Lightning Network but with redirects between clients and smart contracts; 