1. Connect to the exchange
PublicGET /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, callPOST /api/v3/private/sandbox/exchange/orders/simulate. Checkresult.simulation.preflightandwill_create_order: false. Look up theapi.sandbox.simulatedevent byevent_id. - For an end-to-end run, use a separate test exchange or an isolated iEXExchanger sandbox.
POST /api/v3/private/exchange/orderscreates 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.
Prompt for a launch review
Prompt for a launch review