There's no contract length for using Shopify Payments. You can disable it or move to other payment processors anytime you want.