TAP native test
Webhook testing
PostUrl = server webhook (source of truth). RedirectUrl = browser result page after 3DS (/result.html by default).
Configured URLs
From appsettings.json → Tap:PostUrl / Tap:RedirectUrl.
How to receive a real TAP webhook
- Open webhook.site and copy your unique URL, or run
ngrok http 5055and usehttps://….ngrok-free.app/api/webhook. - Set that URL in
appsettings.jsonasTap:PostUrl. - Restart the app, pay with the card, complete 3DS.
- Browser goes to
/result.html?tap_id=…. Check webhook.site / ngrok / console for the POST.
POST /api/webhook (simulate)
Local dry-run only. Real TAP posts will hit whatever you put in PostUrl.
GET /api/charges/{chargeId} (optional)
Manual TAP lookup — not used by the done page.