I am new for Magento and want to create REST API of instant purchase functionality for mobile application using Magento version 2.2.6. I have configured instant purchase option for site and it's working fine.
To create API for instant purchase, I have googled but unfortunately did not find api url for instant purchase. I have already worked for magento API like add to card, list products...etc but unable to create for instant purchase. So could someone suggest me if possible, how to do this?