Create an OAuth client for the application-credential endpoints.
const oauth = createSquareOAuthClient({ clientId: process.env.SQUARE_APP_ID!, clientSecret: process.env.SQUARE_APP_SECRET!, environment: 'production',}); Copy
const oauth = createSquareOAuthClient({ clientId: process.env.SQUARE_APP_ID!, clientSecret: process.env.SQUARE_APP_SECRET!, environment: 'production',});
Create an OAuth client for the application-credential endpoints.