Getting started
Authentication
Resources
- Access Passes
- Attachments
- Authentication
- Chats
- Direct Messages
- Experiences
- Forums
- Notifications
- Payments
- Users
Payments
Get Company Ledger Account
Fetch a company
import { whopApi } from "@/lib/whop-api";
const result = await whopApi.getCompanyLedgerAccount({
// ID of the company, either the tag (biz_xxx) or the page route (whop-dev)
companyId: "biz_XXXXXXXX" /* Required! */,
});
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.