omgapi's picture
Update README.md
68c341b verified
|
Raw
History Blame Contribute Delete
2.21 kB
---
license: mit
tags:
- game-api
- omg-platform
- slots
- game-aggregation
- single-wallet
- transfer-wallet
- api-documentation
language:
- en
- zh
pretty_name: OMG Game Aggregation Platform API Documentation
size_categories:
- n<1K
---
# OMG Game Aggregation Platform — API Integration Documentation
## About OMG
**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.
Official documentation: [docs.omgapi.cc](https://docs.omgapi.cc)
## Dataset Description
This dataset contains the complete API integration documentation for the OMG game aggregation platform, including:
- **Authentication**: MD5 signature verification (sign = md5(query + body + key))
- **Single Wallet Mode**: OMG callbacks merchant for balance operations
- **Transfer Wallet Mode**: Merchant calls OMG to transfer funds
- **Error Codes**: Complete error code reference
- **Code Examples**: Go implementation for signing and verification
- **Common Pitfalls**: Troubleshooting guide for integration issues
## Key Technical Details
### Two Wallet Architectures
| Mode | Balance Owner | Integration Style |
|---|---|---|
| Single Wallet | Merchant | OMG callbacks merchant |
| Transfer Wallet | OMG Platform | Merchant calls OMG APIs |
### API Endpoints
- Single Wallet Entry: `/api/usr/ingame`
- Transfer Wallet Entry: `/api/game/v1/entergame`
- Player Auth: `/api/player/v1/authorize`
- Fund Transfer: `/api/cash/v1/transfer`
### Signature Formula
```
sign = md5( URL_query_string + raw_body_JSON + secret_key )
```
- Result must be lowercase hex
- Body must use original raw JSON bytes
- sign goes in HTTP header
## Resources
- [GitHub Repository](https://github.com/omgapi/omg-api-integration)
- [Official Documentation](https://docs.omgapi.cc)
- [Dev.to Article](https://dev.to/omgapi/omg-game-aggregation-platform-complete-api-integration-guide-single-wallet-transfer-wallet-2b65)
## Contact
For business inquiries and integration support:
- **Telegram**: [@omgapi666](https://t.me/omgapi666)
- **Official Docs**: [docs.omgapi.cc](https://docs.omgapi.cc)