Info Value
Updated on 18 September 2018
Response format JSON
HTTP Methods POST
Response object Item purchase
API Version 1.0

Currency/Item/Purchase

Purchase an item for a user.

Parameters

Parameter Type Description
item_id integer The ID of the item
user_id integer The ID of the user
price_id integer The ID of the price charged
quantity
(optional)
integer The number of the item purchased

Response

Element Type Description
success boolean Whether the purchase was successful

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Currency/Item/Purchase&item_id=##&user_id=##&price_id=##

Sample response

{
	"success" : true
}