Install package
pnpm add @actioncodes/sdk
Initialize the ActionCodesClient with your auth token.
import { ActionCodesClient } from '@actioncodes/sdk'; const client = new ActionCodesClient({ authToken: process.env.ACTION_CODES_TOKEN });
Now you are ready to do magic with Action Codes!
// Get code from user and resolve it to verify and see details! await client.resolve(code);