> For the complete documentation index, see [llms.txt](https://hinkal-team.gitbook.io/hinkal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hinkal-team.gitbook.io/hinkal/hinkal-api/api-reference/get-private-send-order.md).

# Get Private Send Order

## Get the status of a private send order

> Read-only — requires an active session. Pass \`sessionId\` and \`nonce\` as query parameters\
> and include \`x-hinkal-request-signature: secp256k1\_sign(SHA256(binding + "\n" + queryString))\`\
> in the headers. The route pattern is parameterized, so \`binding\` is the literal string\
> \`"GET /private-send/:orderId"\` — with the \`:orderId\` placeholder unresolved, not the\
> actual \`orderId\` value from the URL.<br>

```json
{"openapi":"3.0.3","info":{"title":"Hinkal API","version":"1.0.0"},"tags":[{"name":"Get Private Send Order"}],"servers":[{"url":"https://api.hinkal.io","description":"Production"}],"paths":{"/private-send/{orderId}":{"get":{"operationId":"getPrivateSendOrder","summary":"Get the status of a private send order","description":"Read-only — requires an active session. Pass `sessionId` and `nonce` as query parameters\nand include `x-hinkal-request-signature: secp256k1_sign(SHA256(binding + \"\\n\" + queryString))`\nin the headers. The route pattern is parameterized, so `binding` is the literal string\n`\"GET /private-send/:orderId\"` — with the `:orderId` placeholder unresolved, not the\nactual `orderId` value from the URL.\n","tags":["Get Private Send Order"],"parameters":[{"$ref":"#/components/parameters/XHinkalRequestSignature"},{"name":"orderId","in":"path","required":true,"schema":{"type":"string"}},{"name":"sessionId","in":"query","required":true,"description":"Session identifier UUID from POST /create-session","schema":{"type":"string","format":"uuid"}},{"name":"nonce","in":"query","required":true,"description":"Per-request UUID. Echoed back in the response.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Order status","headers":{},"content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]},"status":{"type":"string","enum":["processing","scheduled","failed"]},"scheduledTransactions":{"type":"array","nullable":true,"description":"Per-recipient withdrawal statuses, present when the order is scheduled","items":{"type":"object","properties":{"status":{"type":"string","enum":["pending","processing","waiting_for_relayer","sent_on_chain","completed","failed","deposit_failed"]},"scheduledTime":{"type":"string"},"txHash":{"type":"string","nullable":true}},"required":["status","scheduledTime","txHash"]}}},"required":["success","status"]}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"description":"Order not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailedResponse"}}}},"500":{"$ref":"#/components/responses/ServerError"}}}}},"components":{"parameters":{"XHinkalRequestSignature":{"name":"x-hinkal-request-signature","in":"header","required":true,"schema":{"type":"string"},"description":"Hex-encoded compact secp256k1 signature: `secp256k1_sign(SHA256(binding + \"\\n\" + payload))`, where `binding` is `\"<METHOD> <routePath>\"` (this route's own method and path, e.g. `\"POST /refresh-cache\"` or `\"GET /balance\"`) and `payload` is `JSON.stringify(body)` for POST requests or the raw query string for GET requests. Binding the route into the signed digest stops a signature captured for one endpoint from being replayed against another. See [Authentication](/enclave-api/authentication) for the full signing scheme."}},"responses":{"BadRequest":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailedResponse"}}}},"Unauthorized":{"description":"Invalid signature or reused nonce","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailedResponse"}}}},"ServerError":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailedResponse"}}}}},"schemas":{"FailedResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"}},"required":["success","error"]}}}}
```
