> ## Documentation Index
> Fetch the complete documentation index at: https://exchanger-api.iexexchanger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Receive an outbound webhook

> Verify HMAC v2 with the endpoint secret and the exact JSON bytes. Join the string webhook-v2, event ID, event type, Unix timestamp, positive attempt number, nonce and lowercase SHA-256 of the body with LF characters, without a trailing LF. Verify the event ID and type against the signed body. Handle repeated event IDs idempotently. Test events have type api.test and may include sample_of.

[Русская версия](https://exchanger-api.iexexchanger.com/api-reference/вебхуки/receive-public-api-webhook.md)

Verify the signature with the subscription secret using the [webhook verification rules](https://exchanger-api.iexexchanger.com/en/guides/reliability/webhooks.md).

### Related methods

* [Rotate webhook signing secret](https://exchanger-api.iexexchanger.com/en/api-reference/webhooks/post-private-webhooks-by-webhook-rotate-secret.md)
* [Show webhook event](https://exchanger-api.iexexchanger.com/en/api-reference/webhooks/get-private-webhooks-events-by-event.md)

```http Incoming request
POST /<receiver-path> HTTP/1.1
Host: receiver.example
Content-Type: application/json
X-Webhook-Signature-Version: v2
X-Webhook-Event-Id: <event_id>
X-Webhook-Event-Type: <event_type>
X-Webhook-Timestamp: <unix_timestamp>
X-Webhook-Attempt: <attempt>
X-Webhook-Nonce: <nonce>
X-Webhook-Signature: <signature>

{
    "id": "356b5b2e-ba7b-45c6-9be2-b00e21253723",
    "type": "order.status_changed",
    "created_at": "2026-11-21T18:45:00.000000Z",
    "request_id": "quickstart-order-payment",
    "correlation_id": "quickstart-order-payment",
    "payload_version": "v2",
    "data": {
        "resource": {
            "type": "order",
            "id": "01a1ff69-1d03-7c35-aa9e-784a66d64f88"
        },
        "from_status": 2,
        "to_status": 3
    }
}
```


## OpenAPI

````yaml /openapi/openapi.yaml webhook delivery
openapi: 3.1.0
info:
  title: iEXExchanger Public API
  version: 4.0.0
  description: >
    Use this API to read client and exchange data, create orders, receive

    webhooks, and manage partner payouts. Start with GET /ping to check

    availability and GET /private/scopes to inspect the API scope catalog.


    Private operations require both a Sanctum token in Authorization: Bearer

    <token> and HMAC v2. Send X-Api-Signature-Version with the value v2 together

    with X-Api-Timestamp, X-Api-Nonce and X-Api-Signature. Partner payout
    creation

    also requires an Idempotency-Key. When a private operation lists accepted

    token permissions in x-required-scopes, any one of these scopes is
    sufficient.


    Nonempty HMAC-signed bodies must use application/json or application/*+json.

    Multipart is supported by the upload, order field file and receipt
    operations

    listed below. Send exactly one file part named file. The default JSON body
    limit is 1 MiB. A body

    over the installation's limit returns HTTP 413.

    URL-encoded signed bodies and ambiguous content types return
    invalid_signature.


    JSON responses use one envelope: state=0 means success; state=1 means an

    error. Read error.code for a stable machine-readable reason. List endpoints

    support page pagination, and some support cursor pagination for large lists.

    Reuse an Idempotency-Key when retrying a write request with the same body.

    A replay of webhook management using a saved result from a retired protocol

    returns HTTP 409 with protocol_retired in error.details.reason. A request

    selecting an unsupported webhook payload version returns HTTP 422.


    The English contract is in openapi.yaml and the Russian translation is in

    openapi.ru.yaml. Paths, field names, enum values and error codes are

    identical in both files. The example bodies use the same sandbox data in

    both languages. The server localizes message text according to the request
    locale.

    HTTP 401 indicates missing or invalid authentication or signature. HTTP 403
    indicates an access restriction. HTTP 429 indicates rate or quota limits.
    HTTP 503 indicates the API or site is unavailable.
servers:
  - url: /api/v3
security:
  - sanctumBearer: []
    apiTimestamp: []
    apiNonce: []
    apiSignature: []
tags:
  - name: System
    description: Availability checks.
  - name: Client
    description: The authenticated client's profile and orders.
  - name: Orders
    description: Order lists, status, actions and payment confirmation.
  - name: Exchange
    description: Payment systems, routes, quotes and exchange orders.
  - name: Files
    description: One-time upload intents for verification files.
  - name: Verifications
    description: Identity and card verification requirements and submissions.
  - name: Sandbox
    description: Simulate an exchange order without creating it.
  - name: Reviews
    description: Read published reviews and submit a review for your order.
  - name: Partner
    description: Partner statistics, referrals, exchanges and payouts.
  - name: Platform
    description: Contract versions, JSON schemas and API usage.
  - name: Webhooks
    description: Register destinations and inspect events and delivery attempts.
  - name: Security
    description: Token permissions and request security details.
paths: {}
components:
  securitySchemes:
    sanctumBearer:
      type: http
      scheme: bearer
      bearerFormat: Sanctum
      description: 'Sanctum token in `Authorization: Bearer <token>` format.'
    apiTimestamp:
      type: apiKey
      in: header
      name: X-Api-Timestamp
      description: >-
        Positive Unix seconds or an absolute ISO 8601 timestamp with seconds and
        a numeric offset or Z. A fractional second may contain up to six digits.
    apiNonce:
      type: apiKey
      in: header
      name: X-Api-Nonce
      description: >-
        Unique nonce per token within the signing window. Use 8 to 128
        characters from A–Z, a–z, 0–9, period, underscore, colon and hyphen.
    apiSignature:
      type: apiKey
      in: header
      name: X-Api-Signature
      description: Hex HMAC-SHA256 signature, optionally prefixed with `sha256=`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.