TEST documentation. Requests go to http://neobank-preprod-gateway/partner-api/v2.

Webhooks

Event delivery to your webhook

HOOKeventDelivery

Jeton sends this request to the webhook URL set in the merchant portal.

Every delivery is an Event envelope, signed as the Standard Webhooks specification (https://www.standardwebhooks.com/) defines, so any of its libraries verifies it. Verify the signature before trusting the body:

key      = base64decode(secret without its "whsec_" prefix)
expected = "v1," + base64(HMAC-SHA256(key, "{webhook-id}.{webhook-timestamp}.{rawBody}"))

Compare in constant time against each space-separated entry of webhook-signature, and reject if |now - webhook-timestamp| > 300 s. While you rotate the secret, verify with the new one and fall back to the old one. webhook-id is the event id: a retried delivery carries the same one.

Every event goes to the v2 webhook's one address. The address and the secret are read at each attempt, so a change in the portal reaches deliveries still pending.

Respond 2xx within 10 s to acknowledge. Anything else — another status, no answer, an address that does not resolve or resolves to a private one — is retried 12 times over about three and a half days (immediately, then 3 s, 5 s, 15 s, 30 s, 1 m, 5 m, 15 m, 30 m, 1 h, 6 h, 24 h, 48 h), after which the delivery is exhausted and your webhook settings in the portal show the webhook failing until a later delivery succeeds. The event stays readable in GET /events.

Delivery semantics

  • At-least-once, unordered. Retries can reorder events. Deduplicate on id; for a given data.id, ignore any snapshot whose data.updatedAt is older than the last one you processed — the same field GET returns — or simply GET the resource when in doubt.
  • data is the full resource exactly as GET returned it at the moment of the event.
  • Only outcomes are delivered (listed in the introduction): one notification per result. GET /events also records the intermediate statuses, creation (*.pending) included, for UI and reconciliation.
  • Merchants are independent — another merchant's failing or slow endpoint never delays yours.

Parameters

  • webhook-idstringheaderrequired
    The event id. A retried delivery carries the same one.

    Example: evt_019985c24a6e7c3b9f102d5e8a1b3c4d

    pattern ^evt_[0-9a-f]{32}$

  • webhook-timestampinteger (int64)headerrequired
    Unix seconds when the delivery was signed.
  • webhook-signaturestringheaderrequired
    v1, followed by the base64 signature; more than one space-separated entry is possible.

    Example: v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE=

Request body application/jsonrequired

A resource reached a status. type is {resource}.{status} and names what data is — a payout.* event carries a Payout — as the Standard Webhooks specification has it: switch on type.

One of

PaymentEvent

  • idstringrequired
    Stable across retries — deduplicate on this.

    Example: evt_019985c24a6e7c3b9f102d5e8a1b3c4d

    pattern ^evt_[0-9a-f]{32}$

  • typestring

    pattern ^payment\.

  • versionstringrequired
    Envelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.

    Allowed values: 1

  • createdAtstring (date-time)required
    RFC 3339, UTC, with millisecond precision.

    Example: 2026-09-18T10:15:30.123Z

  • dataPayment
    settledAmount, description and metadata are not reported yet. fee and completedAt appear once the payment is completed; payments completed before they were recorded do not carry them. updatedAt is the last change — a new status, or the customer opening the checkout — and never moves backwards.
  • deliveryobject
    How the event's delivery to your webhook stands. Present in GET /events responses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off reads pending until you switch it back on. failing is retrying after a failed attempt; exhausted ran out of retries.

PayoutEvent

  • idstringrequired
    Stable across retries — deduplicate on this.

    Example: evt_019985c24a6e7c3b9f102d5e8a1b3c4d

    pattern ^evt_[0-9a-f]{32}$

  • typestring

    pattern ^payout\.

  • versionstringrequired
    Envelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.

    Allowed values: 1

  • createdAtstring (date-time)required
    RFC 3339, UTC, with millisecond precision.

    Example: 2026-09-18T10:15:30.123Z

  • dataPayout
  • deliveryobject
    How the event's delivery to your webhook stands. Present in GET /events responses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off reads pending until you switch it back on. failing is retrying after a failed attempt; exhausted ran out of retries.

TransferEvent

  • idstringrequired
    Stable across retries — deduplicate on this.

    Example: evt_019985c24a6e7c3b9f102d5e8a1b3c4d

    pattern ^evt_[0-9a-f]{32}$

  • typestring

    pattern ^transfer\.

  • versionstringrequired
    Envelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.

    Allowed values: 1

  • createdAtstring (date-time)required
    RFC 3339, UTC, with millisecond precision.

    Example: 2026-09-18T10:15:30.123Z

  • dataTransfer
  • deliveryobject
    How the event's delivery to your webhook stands. Present in GET /events responses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off reads pending until you switch it back on. failing is retrying after a failed attempt; exhausted ran out of retries.

FxExchangeEvent

  • idstringrequired
    Stable across retries — deduplicate on this.

    Example: evt_019985c24a6e7c3b9f102d5e8a1b3c4d

    pattern ^evt_[0-9a-f]{32}$

  • typestring

    pattern ^fx_exchange\.

  • versionstringrequired
    Envelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.

    Allowed values: 1

  • createdAtstring (date-time)required
    RFC 3339, UTC, with millisecond precision.

    Example: 2026-09-18T10:15:30.123Z

  • dataFxExchange
  • deliveryobject
    How the event's delivery to your webhook stands. Present in GET /events responses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off reads pending until you switch it back on. failing is retrying after a failed attempt; exhausted ran out of retries.

Responses

Acknowledged.