We provide a TS client that makes it super easy to use our API. We highly recommend you use this client.
lib/whop-sdk.ts
.
This file reads your ENV keys, which can be found on your app developer page on the Whop dashboard.
lib/whop-sdk.ts
.
Here is an example