recycle_bonus_code.md 1.3 KB

Recycle Bonus Code

Request URL

{API_URL}

Request Parameters

Field Name Type Length Required Description
itype string 21 Yes 27 = Recycle bonus code from player
authcode string 32 Yes Agent identifier, assigned by vendor
authkey string 32 Yes Agent secret key, assigned by vendor
account string 128 Yes Player login account
score int 64 Yes Amount of bonus code to recycle; must be greater than 0

Example

  • URL:

    • {API_URL}
  • HTTP Method:

    • POST
  • Form Data:

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

    itype: 27,
    authcode: test001,
    authkey: 123456,
    account: test123,
    score: 1000.00
    

Response Fields

Field Name Type Length Description
ret int 32 -1 indicates success; others indicate failure
info string 128 Result message

Response Format

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