InstallationInstallationnpmpnpmyarnbunnpm install @justmiracle/checkitoutCreate an instancelib/checkitout.tsimport { Checkitout } from "@justmiracle/checkitout"; export const checkitout = new Checkitout({ token: "token_af********8z" });Usagecheckout-action.tsimport { checkitout } from "@/lib/checkitout"; // Create a checkout const checkout = await checkitout.create({ ... }); // Get checkout URL const url = checkiout.getCheckoutUrl(checkout.data.id); // Find one checkout by ID const foundCheckout = await checkitout.findOne(checkout.data.id);PreviousWebhook BasicNextReference