Is it possible to use Wix payment API in a different application?

Hello,

We are planning to have an Wix ecommerce site that will accept payments from the users.
We also have a custom appplication(outside of Wix ecosystem) that many of our users are already using.
We intend to use Wix payment API to process the payments from our custom application as well. This will be in addition to accepting the payments through Wix site.
Is there a way to achieve this?

Regards,
Giriraj

You can expose an API on your site so that you can access your site’s functionality from external apps. See this example:

Expose and Access Site APIs
Use MyApi and MyApiClient to expose and access external APIs.

Thank you very much for that example. I will look into that.
Would you know if there is a UI template (or something similar) for Wix payments that can be embedded in our external app to process the payment?

Regards,
Giriraj