PawaPay callback receiver
Register this URL in the PawaPay dashboard under Settings → Callback URLs, in the Deposits field:
POST /api/pawapay/callback
Configuration
- set PAWAPAY_JWT_TOKEN
- set BREVO_API_KEY
- set BREVO_LIST_ID_BETWELD (Betweld ProfitPulse VIP)
- set BREVO_LIST_ID_ESTROBET (Estrobet VIP)
All configured. Callbacks for every registered brand will be recorded.
A brand is attributed from the deposit metadata, which each payment site sets from its own BRAND.id. Adding a site means adding it to src/lib/brands.ts and setting its list id here.