Integration Guide for Web Recharge API
Web Gift Code
Index
1. Overview..............................................................................................................................................4
1.1. Document purpose.......................................................................................................................4
1.2. Basic Abstract Flow.......................................................................................................................4
2. API description.....................................................................................................................................4
3. Supporter.............................................................................................................................................5
Version Date Description Author
4/2020 Creator Danny Pham
Integration Guide for Web Recharge API
1. Overview
1.1. Document purpose
This document describes required to provide a method to use gift code on the web.
1.2. Basic Abstract Flow
2. API description
Description
Url You provide
Method POST
Integration Guide for Web Recharge API
Request
Parameters Name Type Description
accountid Bigint VTC account ID
serverid Int/String Game Server ID
roleid bigInt Role ID
key String Key code string
sign String MD5(secure_secret + accountid.ToString()
+serverid.ToString()+roleid.ToString()
+key.ToString())
Response:
JSON Name Type Description
error_code Int >=0 Success
<0 Fail
error_desc String Error description
Example
{"error_code": 1, "error_desc":"success"}
OR
{"error_code": -1, "error_desc":"fail"}
secure_secret= "3a7b2deafadf38d03468d43186a1a340"
3. Supporter
VTC Mobile will spend 01 engineer to support to partner technical team during integration.