Creates item purchase using virtual currency.
object or null [ 1 .. 200 ] properties Your custom parameters represented as a valid JSON set of key-value pairs. | |||||
|
Successful quick virtual purchase.
The item was not found. Make sure the project_id
and the item_sku
are correct.
Not enough virtual currency.
{- "custom_parameters": {
- "array_param": [
- {
- "property": {
- "int-property": 112,
- "string-property": "xsolla"
}
}, - {
- "property": {
- "int-property": 112,
- "string-property": "email@example.com"
}
}
], - "object_param": {
- "key": "value"
}, - "bool_param": true,
- "int_param": 100,
- "null_param": null
}
}
{- "order_id": 641
}