omgapi commited on
Commit
4532cd0
·
verified ·
1 Parent(s): b49e752

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -0
README.md CHANGED
@@ -1,3 +1,68 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ tags:
4
+ - game-api
5
+ - omg-platform
6
+ - slots
7
+ - game-aggregation
8
+ - single-wallet
9
+ - transfer-wallet
10
+ - api-documentation
11
+ language:
12
+ - en
13
+ - zh
14
+ pretty_name: OMG Game Aggregation Platform API Documentation
15
+ size_categories:
16
+ - n<1K
17
  ---
18
+
19
+ # OMG Game Aggregation Platform — API Integration Documentation
20
+
21
+ ## About OMG
22
+
23
+ **OMG** is a professional game aggregation platform that provides third-party merchants with a unified API to access a wide variety of game content including Slots, Fishing Games, Mass Table Games, and Mini Games.
24
+
25
+ Official documentation: [docs.omgapi.cc](https://docs.omgapi.cc)
26
+
27
+ ## Dataset Description
28
+
29
+ This dataset contains the complete API integration documentation for the OMG game aggregation platform, including:
30
+
31
+ - **Authentication**: MD5 signature verification (sign = md5(query + body + key))
32
+ - **Single Wallet Mode**: OMG callbacks merchant for balance operations
33
+ - **Transfer Wallet Mode**: Merchant calls OMG to transfer funds
34
+ - **Error Codes**: Complete error code reference
35
+ - **Code Examples**: Go implementation for signing and verification
36
+ - **Common Pitfalls**: Troubleshooting guide for integration issues
37
+
38
+ ## Key Technical Details
39
+
40
+ ### Two Wallet Architectures
41
+
42
+ | Mode | Balance Owner | Integration Style |
43
+ |---|---|---|
44
+ | Single Wallet | Merchant | OMG callbacks merchant |
45
+ | Transfer Wallet | OMG Platform | Merchant calls OMG APIs |
46
+
47
+ ### API Endpoints
48
+
49
+ - Single Wallet Entry: `/api/usr/ingame`
50
+ - Transfer Wallet Entry: `/api/game/v1/entergame`
51
+ - Player Auth: `/api/player/v1/authorize`
52
+ - Fund Transfer: `/api/cash/v1/transfer`
53
+
54
+ ### Signature Formula
55
+
56
+ ```
57
+ sign = md5( URL_query_string + raw_body_JSON + secret_key )
58
+ ```
59
+
60
+ - Result must be lowercase hex
61
+ - Body must use original raw JSON bytes
62
+ - sign goes in HTTP header
63
+
64
+ ## Resources
65
+
66
+ - [GitHub Repository](https://github.com/omgapi/omg-api-integration)
67
+ - [Official Documentation](https://docs.omgapi.cc)
68
+ - [Dev.to Article](https://dev.to/omgapi/omg-game-aggregation-platform-complete-api-integration-guide-single-wallet-transfer-wallet-2b65)