Skip to main content
Run your acceptance checks against the version of Exchanger API your integration will use. You can perform read checks against the production URL. Exercise order creation, receipt uploads, retries, and notifications with separate keys and synthetic data on a test exchange.

1. Connect to the exchange

Public GET /api/v3/ping checks whether the API responds. Signed GET /api/v3/private/ping checks the API key and signature. Follow the quickstart to make both requests and inspect the HTTP responses. Sign diagnostic calls with the key your integration will use. Check the key’s permissions against your planned operations. For 429, distinguish rate_limit_exceeded from quota_exceeded. For a rate limit, honor Retry-After when present. For quota exhaustion, check error.details.resets_at or X-Api-Quota-Reset. Account for both quota periods when you schedule polling. Handle rate limits and quotas.

2. Verify contract versions

The /api/v3 prefix identifies the HTTP route version. The response shape, signature, route snapshot, and webhooks are versioned separately. Check these contracts after an exchange update using public operations that require no token. API responses include X-Api-Version, X-Api-Envelope-Version, and X-Api-Webhook-Payload-Version. Find operation definitions in the OpenAPI reference. Check which versions your exchange exposes against the actual installation.

3. Exercise writes and failures on a test exchange

  • Send POST /api/v3/private/exchange/orders/preflight. Confirm that you can use its result to explain missing fields before the customer creates an order.
  • If the built-in sandbox is enabled and your key has public-api:sandbox:run, call POST /api/v3/private/sandbox/exchange/orders/simulate. Check result.simulation.preflight and will_create_order: false. Look up the api.sandbox.simulated event by event_id.
  • For an end-to-end run, use a separate test exchange or an isolated iEXExchanger sandbox. POST /api/v3/private/exchange/orders creates an order on the installation that receives the request. Test creation, confirmation, retrieval of payment instructions, and repeat writes on the test installation.
  • Interrupt a test request after sending it and recover the result using the saved operation key. Confirm that retrying leaves you with one order. Set a retry limit, timeout, and delay.
  • Create a webhook subscription. Verify the signature, retry a delivery with the same event ID, and read the current resource state through the API. Simulate a missed notification and confirm that reconciliation restores your state.

4. Set up diagnostics

Record the time, HTTP method and path template, status, error.code, X-Request-Id, and X-Correlation-Id. Add the ID of the created order or received event and its processing outcome. Share these details with the exchange operator when reporting an issue. Keep tokens, HMAC secrets, and personal data out of logs. After switching, run the public and signed ping against the production URL. Recheck scopes and quotas. Use the production key only with the production exchange.