(()=>{var e={};e.id=460,e.ids=[460],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},96589:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>v,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>u,workUnitAsyncStorage:()=>d});var s={};r.r(s),r.d(s,{POST:()=>p});var a=r(42706),i=r(28203),o=r(45994),n=r(39187);async function p(e){try{let{reference:t}=await e.json(),r=await fetch(`https://api.paystack.co/transaction/verify/${t}`,{headers:{Authorization:"Bearer sk_test_5ff80e5e96d7e34cafa5515f7b445446c11098e1","Content-Type":"application/json"}}),s=await r.json();if(!s.status||"success"!==s.data.status)throw Error("Payment verification failed");return n.NextResponse.json({verified:!0})}catch(e){return console.error("Paystack verification error:",e),n.NextResponse.json({error:"Payment verification failed"},{status:500})}}let c=new a.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/verify-paystack/route",pathname:"/api/verify-paystack",filename:"route",bundlePath:"app/api/verify-paystack/route"},resolvedPagePath:"C:\\Users\\od41\\Documents\\code\\paid\\loveisabc\\src\\app\\api\\verify-paystack\\route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:u,workUnitAsyncStorage:d,serverHooks:f}=c;function v(){return(0,o.patchFetch)({workAsyncStorage:u,workUnitAsyncStorage:d})}},96487:()=>{},78335:()=>{}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[994,452],()=>r(96589));module.exports=s})();