redeemcode_use.md 1.3 KB

Claim Redeem Code

Request URL

{API_URL}

Request Parameters

Field Name Type Length Description
itype string 21 Yes 31 = Claim Redeem Code
authcode string 32 Yes gent identifier, assigned by the provider
authkey string 32 Yes Agent secret key, assigned by the provider
useracc string 128 Yes user account
redeemcode string 16 Yes redeem code

Example

  • URL:

    • {API_URL}
  • HTTP Method:

    • POST
  • Form Data:

    Content-Type: application/x-www-form-urlencoded

    itype           :31
    authcode        :test666
    authkey         :KepYRwz4mOP3THAcfiQb
    useracc         :67595454852
    redeemcode      :07UTEL
    
    

Response Fields

Field Name Type Length Description
ret int 32 -1 indicates success; other than -1 indicates failure

Response Format

{
	"ret": -1,
    "info": "ok"	
}