Skip to content

Commit

Permalink
url changes for apis
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1pleScr1pt committed Oct 8, 2024
1 parent 0caaffb commit e4a396a
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions blocks/applyloanform/loanformapiurls.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
const accessTokenURL = "https://mobileapi.pchf.in/api/mobile/access-token";
const generateOTPURL = "https://mobileapi.pchf.in/api/website/generate-otp";
// V1 API URL
// const accessTokenURL = "https://mobileapi.pchf.in/api/mobile/access-token";

// V2 API URL
const accessTokenURL = "https://campaignapi.piramalfinance.com/api/account/access-token";

// V1 API URL
// const generateOTPURL= "https://mobileapi.pchf.in/api/website/generate-otp";

// V2 API URL
const generateOTPURL = "https://campaignapi.piramalfinance.com/api/website/generate-otp";

// V1 API URL
// const resendOTPUrl = "https://mobileapi.pchf.in/api/website/resend-otp";

// V2 API URL
const resendOTPUrl = "https://campaignapi.piramalfinance.com/api/website/resend-otp";

// V1 API URL
// const verifyOTPURL = "https://mobileapi.pchf.in/api/website/verify-otp";

// V2 API URL
const verifyOTPURL = "https://campaignapi.piramalfinance.com/api/website/verify-otp";

// V1 API URL
const otpTokenURL = "https://apisit.piramal.com/oauth/v1/cc/accesstoken";
const smsURL = "https://apisit.piramal.com/communication/v2/karix/sms-query?ver=1.0&key=HbUcyrewWm27hdKRZyj2zA%3D%3D&encrypt=0&send=PIRCHF&dest=8007359739&text=Please%20use%20this%20one-time%20password%20for%20Piramal%20User%20Account%20Verification%3A%209106.%20DO%20NOT%20SHARE%20THIS%20WITH%20ANYONE%20and%20it%20is%20valid%20for%205%20minutes%20only";
const leadAPIURL = "https://mobileapi.pchf.in/api/website/insert-lead-data";
const verifyOTPURL = "https://mobileapi.pchf.in/api/website/verify-otp";
const resendOTPUrl = "https://mobileapi.pchf.in/api/website/resend-otp";
const getWhatAPIAuthURL = "https://piramal.allincall.in/campaign/external/get-auth-token/";
const getWhatAPIURL = "https://piramal.allincall.in/campaign/external/send-event-based-triggered-whatsapp-campaign/";

export { accessTokenURL, generateOTPURL, otpTokenURL, smsURL, leadAPIURL, verifyOTPURL, resendOTPUrl, getWhatAPIAuthURL, getWhatAPIURL };

0 comments on commit e4a396a

Please sign in to comment.