added dashboard payments endpoint

This commit was merged in pull request #77.
This commit is contained in:
victorAnumudu
2025-09-01 15:28:47 +01:00
parent aae69ffd3b
commit be6dab1ec9
6 changed files with 139 additions and 65 deletions
+1
View File
@@ -1,6 +1,7 @@
const queryKeys = {
user_details: ['user_details'],
product_url: ['product_url'],
dash_payments: ['dash_payments'],
products: ['product-data'],
myproduct_provision: ['myproduct_provision'],
product_page: ['product_page'],
+8
View File
@@ -114,6 +114,14 @@ export const productsURL = (reqData) => {
return postAuxEnd(`/panel/account/products/url`, postData, false)
}
// FUNCTION TO GET DASHBOARD PRODUCT URL DATA SECTION
export const getDashPayments = (reqData) => {
let postData = {
...reqData,
}
return postAuxEnd(`/panel/account/payments`, postData, false)
}
// FUNCTION TO GET DASHBOARD PRODUCT DATA SECTION
export const productsData = (reqData) => {
let postData = {