Fetches an access pass based on the ID or the route
import { whopApi } from "@/lib/whop-api"; const result = await whopApi.getAccessPass({ // The ID or route of the access pass to fetch. accessPassId: "prod_XXXXXXXX" /* Required! */, });
Was this page helpful?