Skip to Content
Indexify
Trading

Order management

POST
/api/orders.php

Provides order details, partial order handling, retry, sell-all, and retry chain lookups. All actions require authentication and an order_id in the request body. retry and sell_all work on every chain; on an EVM (hoodchain) order they execute cross-chain Relay legs and accept an optional pin for PIN-protected wallets.

Authorization

ApiKeyAuth
headerX-API-KEY<token>

API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.

Query Parameters

action?string

The order action to perform. Defaults to details.

Default"details"
Value in"details""status""partial_details""acknowledge""retry""sell_all""retry_chain"

Request Body

application/json
  1. body
order_id*string

Unique order identifier.

Response Body

Successful response. Shape depends on action.

application/json
  1. response
order?
transactions?array<>
transaction_count?integer
Example Request
curl -X POST 'https://api.indexify.finance/api/orders.php' \  -H 'Content-Type: application/json' \  -d '{  "order_id": "string"}'
Example Response
{  "order": {    "order_id": "string",    "status": "PENDING",    "type": "fromUSDC",    "created_at": "string",    "partial_completion_action": "string"  },  "transactions": [    {      "order_id": "string",      "success": true,      "txn_hash": "string"    }  ],  "transaction_count": 0}