feat: Implement get payment plans API endpoint

This commit is contained in:
Faruk AYDIN
2024-02-21 18:06:56 +01:00
parent 84a0b37fcc
commit d21e1f75b5
5 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { renderObject } from '../../../../helpers/renderer.js';
import Billing from '../../../../helpers/billing/index.ee.js';
export default async (request, response) => {
const paymentPlans = Billing.paddlePlans;
renderObject(response, paymentPlans);
};