import { AuthClient } from '@paywall/sdk';
const client = new AuthClient({
apiKey: process.env.PAYWALL_KEY,
environment: 'production'
});
{
"status": "active",
"integrations": [
"payment_gateway",
"webhook_events"
],
"latency_ms": 12
}
async function verifyToken(token) {
const res = await fetch('/api/v1/verify', {
method: 'POST',
headers: { 'Authorization': `Bearer ${token}` }
});
return res.json();
}
PAYWALL_NODE_SECURE
INTEGRATION_V2_ACTIVE