Payment API

9 0 1

Is there a front end payment API similar to Squares Square Pay Payment Form? I'd like to use the nonce system is possible rather than sending raw credit card data back to my server at all. Is this doable with shopify's custom apps? I'm building a custom app on Node and want to try to take cull control of the checkout experience (currently I am sending them to complete checkout on shopify link).