Logo
Sign Up
Sign In Down-arrow

Login

Password

Remember me

Forgot password?

Home
How it Works
Signup
Pricing
FAQ
Blog

API Documentation

1) Overview

Normally, AndroidLicenser.com will automatically generate an activation code for each purchase made through the Android Market, Google Checkout, or Paypal (if the developer has provided Google Checkout and/or Paypal merchant credentials). Activation codes can also be generated manually through the AndroidLicenser web dashboard.

In some cases, the developer needs to programmatically generate an activation code. For example, if the developer sells their apps through their own proprietary payment processing system, and needs to generate and send an activation code to the user upon purchase of an application, the API may be used.

2) Creating an activation code

Licenses can be generated by making a HTTP POST to the following URL:

http://www.androidlicenser.com/api/activation_code

Parameter Description
api_secret
(required)
The API secret given to each user account. This value can be found on the user's main page.
application_key
(required)
The application key of the application that you would like to generate the activation code for. This value can be found on the application's dashboard page.
email_activation_code
(optional)
If the value of this parameter is set to 1, an email will be sent to the user containing the activation code that was generated. If this parameter is set to 1, the activation_code[email] parameter MUST be set as well.
activation_code[name]
(optional)
Sets name of the customer associated with this activation code.
activation_code[address1]
(optional)
Sets 1st line of the street address of the customer associated with this activation code.
activation_code[address2]
(optional)
Sets 2nd line of the street address of the customer associated with this activation code.
activation_code[city]
(optional)
Sets city of the customer associated with this activation code.
activation_code[region]
(optional)
Sets region/state of the customer associated with this activation code.
activation_code[postal_code]
(optional)
Sets postal code of the customer associated with this activation code.
activation_code[country_code]
(optional)
Sets country of the customer associated with this activation code.
activation_code[email]
(optional)
Sets email address of the customer associated with this activation code.
activation_code[phone]
(optional)
Sets phone number of the customer associated with this activation code.

3) Deleting an activation code

Licenses can be deleted by making a HTTP POST to the following URL:

http://www.androidlicenser.com/api/activation_code/delete

Parameter Description
api_secret
(required)
The API secret given to each user account. This value can be found on the user's main page.
application_key
(required)
The application key of the application that you would like to generate the activation code for. This value can be found on the application's dashboard page.
id
(required)
The id of the activation code that you would like deleted. The id can be found in the response XML when the activation code is created. Please note that this is different from the order_number

Text_padding_leftOutline

1. Overview
2. Creating an activation code
3. Deleting an activation code

Blog  |  Privacy Policy  |  Terms of Service  |  FAQ  |  API  |  Find Activation Code  |  Contact