1. Reference

## Description This document mainly describes the data communication protocol and specification between eSports API center server and eSports access provider server. On this basis, the software of both parties can exchange and shares data with high performance, high reliability, and high security. ## Access method - Gateway address: See gateway address in interface provisioning notification - Communication key: The communication key is placed in the **Authorization** in the header of the http request。 - Communication mode: Submit using Http Post (Content-Type = application/x-www-form-urlencoded) - Encoding: Globally enforce UTF-8 encoding - API testing URL: [https://doc.avia-gaming.vip/demo](https://doc.avia-gaming.vip/demo) --- ## Error uniform return format ```language { "success":0, "msg":"Error description", "info":{ "Error":"Error Code(Please refer to Appendix 4 for error codes)" } } ``` --- ## Changelog | Update time | Update person | Update content | |-|-|- | 2020-4-15 | Peter | Add single order query interface (Order) ||| Query Transfer Results Interface (TransferInfo) to increase the current balance parameter of the member (CurrentBalance) | 2020-4-16 | Peter | Add Member Report Query Interface (UserReport) ||| Add Member Order Report (UserOrder) to query member statistics in any time interval. | 2020-4-23 | jarvis | Add INR currency | 2020-5-23 | Peter | Add Error Code “PROCCESSING”,for details, please refer to 2.4.2, Transfer Order Query。 | 2020-6-15 | Peter | The balance query interface increases the return value of Currency (member currency), the game score (Credit) is the same as the balance field value, which is the member's balance field (according to the member currency), and the order interface increases Currency (bet currency) Field | 2020-6-16 | Peter | Multi-currency strategy adjustment, member register (2.2) added Currency field, please refer to section 2.2 for details. |2020-8-14|jarvis| Add Thousand Indonesian Rupiah And Thousand Vietnamese Dong |2020-8-14|jarvis| Add Game Code |2020-9-7|jarvis | Add LOL3\PVP5\Doata1 Code |2020-09-21|jarvis |Add Appendix 6: User Grouping |2020-09-23|jarvis|Add user group adjustment interface document |2020-10-26|jarvis|Add OrderList Single IsLive Field |2020-10-27|jarvis| Currency Insert COIN Type