# Recharge ## Request URL >{API_URL} ## Request Parameters | Field Name | Type | Length | Required | Description | |------------|--------|--------|----------|-----------------------------------------------------------------------------| | itype | string | 4 | Yes | 2 = Transfer operation (Recharge/Withdraw) | | authcode | string | 32 | Yes | Agent identifier, assigned by the provider | | authkey | string | 32 | Yes | Agent secret key, assigned by the provider | | account | string | 32 | Yes | Player account | | score | double | 8 | Yes | Transfer amount: **negative = recharge**, **positive = withdraw**. Value is the actual score | ## Example - **URL**: - {API_URL} - **HTTP Method**: - `POST` - **Form Data**: > Content-Type: `application/x-www-form-urlencoded` ``` itype: 2, authcode: test001, authkey: 123456, account: 0166306192, score: -7.77 ``` ## Response Fields | Field Name | Type | Length | Description | |------------|--------|--------|----------------------------------------| | ret | int | 4 | -1 indicates success; others indicate failure | | info | string | 128 | Response message | ## Response Format ``` { "ret": -1, "info": "ok", } ```