====== Exchange API ====== === Description === To work with exchange API the requests must be sent to the address http://api.waspace.net:81/. Requests are accepted only from IP, which belong to the specified range in the settings of the exchange. In other cases the operation is similar to using basic API. === Structure === * [[en:api:exchangeapi:requestcodes]] * [[en:api:exchangeapi:sendtransfer]] * [[en:api:exchangeapi:gettransfer]] * [[en:api:exchangeapi:confirmgettransfer]] * [[en:api:exchangeapi:checkuser]] * [[en:api:exchangeapi:getbalance]] === Attributes === ^ Attribute ^ Type ^ Min length(of symbols)/value ^ Max length(of symbols)/value ^ Description ^ | ID | integer | 1 | 999 | The unique exchange identifier | | Account ID | integer | 1 | 999999 | Account ID, on which exchange was registered | | Name | string | 1 | 250 | Exchange name | | API key | string | 30 | 40 | API key of exchange | | SiteURL | string | 5 | 500 | Site on which exchange is situated | | Balance | real | 0 | 9999999999 | The balance of exchange in credits | | Transfer percent | real | 0 | 100 | Percentage of credits that are debited from the balance of exchange for each transfer the balance of exchange. | | Range start | integer | 16843009 | 4294967295 | The initial value of the IP range, from which the exchange will send requests | | Range end | integer | 16843009 | 4294967295 | The final value of the IP range, from which the exchange will send requests |