Create an OAuth client for the app-credential endpoints.
const oauth = createCloverOAuthClient({ clientId: process.env.CLOVER_APP_ID!, clientSecret: process.env.CLOVER_APP_SECRET!, environment: 'production',}); Copy
const oauth = createCloverOAuthClient({ clientId: process.env.CLOVER_APP_ID!, clientSecret: process.env.CLOVER_APP_SECRET!, environment: 'production',});
Create an OAuth client for the app-credential endpoints.