Skip to Content
VantraAPI Docs
Callbacks

Callbacks and webhooks

Receive payment outcomes on your server.

Your merchant callback is a webhook: Vantra sends an HTTPS POST to an endpoint you register in the portal. This is separate from the bank-to-gateway callback and the cardholder's browser return URL.

  1. Step 1

    Register an enabled TEST payment webhook before changing payment status.

  2. Step 2

    Simulate a payment outcome in the portal.

  3. Step 3

    Vantra signs the event and POSTs it to your server.

  4. Step 4

    Your server verifies, durably records the event, and returns 2xx.

Use the signed event format documented here for gateway payment transitions. An older unsigned worker also exists in the codebase; do not accept unsigned requests as a fallback for this integration.