Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-reference/account-wallet/get-flex-payment-history.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ openapi: /openapi/private/main_api_v4.yaml POST /api/v4/main-account/smart-flex/
---

<Note>
The endpoint automatically filters to show ONLY DAILY_EARNING operations (type 4)
The endpoint automatically filters to show ONLY DAILY_EARNING operations (type 4).
</Note>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Query unexecuted(active) conditional orders"
title: "Query unexecuted (active) conditional orders"
description: "List active conditional orders not yet triggered on collateral markets via the V4 API."
openapi: "/openapi/private/http-trade-v4.yaml POST /api/v4/orders/conditional"
---
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Query unexecuted(active) OCO orders"
title: "Query unexecuted (active) OCO orders"
description: "List active OCO orders not yet fully executed on collateral markets via the V4 API."
openapi: "/openapi/private/http-trade-v4.yaml POST /api/v4/orders/oco"
---
2 changes: 1 addition & 1 deletion api-reference/spot-trading/query-unexecuted-orders.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Query unexecuted(active) orders"
title: "Query unexecuted (active) orders"
description: "List all open spot orders not yet executed via the WhiteBIT V4 API."
openapi: "/openapi/private/http-trade-v4.yaml POST /api/v4/orders"
---
1 change: 0 additions & 1 deletion guides/client-order-id.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
<Card title="Advanced Examples">
- • bot1-grid-btc-h4-001
- • arb-eth-ftm-cross-002
- • Dashes (-)
- • hedge-btc-perp-003
</Card>
</CardGroup>
Expand Down Expand Up @@ -176,7 +175,7 @@

**1. Query Active Orders**

Use the [Query Active Orders endpoint](/api-reference/spot-trading/query-unexecuted-orders) (`/api/v4/orders`) to get all unexecuted orders:

Check warning on line 178 in guides/client-order-id.mdx

View check run for this annotation

Mintlify / Mintlify Validation (whitebit) - vale-spellcheck

guides/client-order-id.mdx#L178

Did you really mean 'unexecuted'?

```javascript
// Request
Expand Down
2 changes: 1 addition & 1 deletion platform/oauth/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ When the access token expires, the application can use a refresh token to obtain
</Steps>
## Use Cases

#### Trading Bots & Algorithmic Trading
### Trading Bots & Algorithmic Trading
Enable automated trading strategies without storing WhiteBIT credentials in third-party systems. Trading bots can place, modify, and cancel orders while only having the specific permissions they need.

### Portfolio Trackers & Analytics
Expand Down
1 change: 0 additions & 1 deletion platform/oauth/usage/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"crypto/rand"
"encoding/base64"
"encoding/json"
"fmt"

Check warning on line 25 in platform/oauth/usage/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (whitebit) - vale-spellcheck

platform/oauth/usage/overview.mdx#L25

Did you really mean 'fmt'?
"io"

Check warning on line 26 in platform/oauth/usage/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (whitebit) - vale-spellcheck

platform/oauth/usage/overview.mdx#L26

Did you really mean 'io'?
"log"
"net/http"
"net/url"
Expand Down Expand Up @@ -797,7 +797,6 @@
int expiresIn;
}
}
}
```

```php PHP
Expand Down
10 changes: 5 additions & 5 deletions platform/webhook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Passing one of these checks enables the webhook.

### For processing web-hook requests

All web hook requests are performing using POST method and with application/json content type. Consumer server should respond with 200 HTTP status code. If consumer was unable to handle web-hook, the request will be retry every 10 minutes but not more than 5 times.
All webhook requests are performed using the POST method with application/json content type. The consumer server should respond with a 200 HTTP status code. If the consumer is unable to handle the webhook, the request will be retried every 10 minutes but not more than 5 times.

#### Body data

All web-hook requests are performing with
All webhook requests are sent with the following body:

```json
{
Expand All @@ -86,11 +86,11 @@ All web-hook requests are performing with

#### Request headers

Also, all request contains additional data in headers:
Also, all requests contain additional data in headers:

1. `'Content-type': 'application/json'`
2. `'X-TXC-APIKEY': api_key` - the WhiteBIT webhook API key
3. `'X-TXC-PAYLOAD': payload'` - where payload is base64-encoded body data
3. `'X-TXC-PAYLOAD': payload` - where payload is base64-encoded body data
4. `'X-TXC-SIGNATURE': signature` - where signature is `hex(HMAC_SHA512(payload), key=api_secret))`

On the consumer side, process the security headers to verify the request originated from WhiteBIT.
Expand Down Expand Up @@ -143,7 +143,7 @@ Performed when deposit was accepted. Request example:
}
```

Performed when deposit was update. Request example:
Performed when deposit was updated. Request example:

```json
{
Expand Down