Skip to main content

LunarPay API

This is the API, that allows the Lunar NPM package to work, and allows SaaS companies to integrate their products better with lunar pay. Once you setup payments using the method explained in the saas and the hosted pages guide, you can use the API to check the status of the subsription of the customer if you with to.

Step 1:

Integrate with either hosted pages, or saas method explained in the method before this.

Step 2:

Once you do that, you can access the API at using the link:

The following two methods are available:


The next payment returns a date and the subscription returns an object. More features will be coming to our API soon.