Skip to content
Install NESVRA on your home screen for quick access to your eSIMs. Get the app
NESVRA

Webhooks

Real-time events, signed and retried.

Subscribe to the events your integration needs. Every delivery is signed, timestamped and retried with backoff until your endpoint responds with a 2xx status.

Event types

EventWhen it is sent
order.createdAn order has been created
order.paidPayment has been verified by the payment provider
order.refundedA refund has been processed
esim.provisionedThe supplier has issued the eSIM profile
esim.provisioning_failedProvisioning failed after reconciliation
esim.installedThe supplier confirmed installation (where supported)
esim.activatedThe eSIM connected and validity started
esim.usage.thresholdUsage crossed a configured percentage
esim.expiredValidity ended
topup.completedA top-up was applied
voucher.redeemedA voucher was redeemed
settlement.createdA settlement statement is available

Verifying signatures

Each request carries Nesvra-Signature with a timestamp and an HMAC-SHA256 signature of timestamp.body using your endpoint secret. Reject requests older than five minutes and compare signatures in constant time.

$payload = file_get_contents('php://input');
[$t, $sig] = parse_signature($_SERVER['HTTP_NESVRA_SIGNATURE']);
if (abs(time() - $t) > 300) { http_response_code(400); exit; }
$expected = hash_hmac('sha256', $t . '.' . $payload, $secret);
if (!hash_equals($expected, $sig)) { http_response_code(401); exit; }

Retry schedule

  1. 01

    Immediately

    First attempt.

  2. 02

    1 minute

    Second attempt.

  3. 03

    10 minutes, 1 hour

    Further attempts.

  4. 04

    Up to 24 hours

    Final attempts, then marked failed and available for replay.