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.jsonTap:PostUrl / Tap:RedirectUrl.

How to receive a real TAP webhook

  1. Open webhook.site and copy your unique URL, or run ngrok http 5055 and use https://….ngrok-free.app/api/webhook.
  2. Set that URL in appsettings.json as Tap:PostUrl.
  3. Restart the app, pay with the card, complete 3DS.
  4. 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.