User balance notify

A list of all publicly available methods for interacting with the API.

POST

User balance notify

/user/balance-notify
Deprecated

This method still works, but API v3 has a newer one.

Use the v3 method instead

Save balance low notification settings. Accepts the threshold in the user's own currency and stores it in USD.

This method requires authorization!
You can use your own API key, which can be obtained at control panel.
This method - requires permissions -balance.update
When creating an API token in your control panel, you can choose certain permissions (for example: prevent the token from placing orders).
You can also find a list of permissions in our documentation.

Query method

POSThttps://api.stableproxy.com/v2/user/balance-notify

Query parameters

IdentifierRegulationsExample
enabledrequiredbooleanfalse
amountrequirednumeric51246

Code examples

1const baseUrl = "https://api.stableproxy.com/v2";
2const response = await fetch(baseUrl + "/user/balance-notify", {
3 method: "POST",
4 headers: {
5 "Authorization": "API-Token [YOUR TOKEN]",
6 "Content-Type": "application/json"
7 },
8 body: JSON.stringify({
9 "enabled": "false",
10 "amount": 51246
11 })
12});
13const data = await response.json();