// billdeskpg/utils/apiresponsemodule.js
function processResponse(verifiedAndDecrypted) {
  try {
    return JSON.parse(verifiedAndDecrypted);
  } catch (e) {
    throw new Error("Failed to parse provider response: " + e.message);
  }
}
module.exports = { processResponse };
