Options
Every option you can pass to the nuvion() server plugin.
import { nuvion } from "@umohpyro/better-auth-nuvion";
nuvion({
apiKey: process.env.NUVION_API_KEY!,
webhookSecret: process.env.NUVION_WEBHOOK_SECRET!,
baseUrl: "https://api.nuvion.dev",
webhookToleranceMs: 5 * 60_000,
counterparty: { email: "payments@your-platform.example" },
});Prop
Type
counterparty
The defaults are placeholders that Nuvion accepts in the sandbox. Set real contact details before you go live. See Counterparties.
Environment variables
The plugin reads no environment variables itself. Pass them in as shown above. The conventional names are NUVION_API_KEY and NUVION_WEBHOOK_SECRET.