feat: Implement get paddle info API endpoint

This commit is contained in:
Faruk AYDIN
2024-02-22 20:22:05 +01:00
parent d21e1f75b5
commit 6fdc4bf900
4 changed files with 60 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 paddleInfo = Billing.paddleInfo;
renderObject(response, paddleInfo);
};