| Name | Type | Required | Description |
|---|---|---|---|
| key | string | ✔ | This is the "Asset Server Key" that you provided in your app's Steam Economy Settings on the partner site. |
| appid | uint32 | ✔ | 32bit App ID of the application associated with the purchase. This will be your game's App ID. |
| steamid | uint64 | ✔ | 64bit Steam ID of the user who made the purchase. |
| language | string | ✔ | ISO639-1 language code plus ISO 3166-1 alpha 2 country code of the language to return strings in. Some examples include: en_US, de_DE, zh_CN, and ko_KR. Default: en_US |
| orderid | uint64 | ✔ | Unique 64-bit ID for order. This is the same order ID that was given to us in the ISteamMicroTxn/InitTxn call. |
resultsuccess - True if the method was successful. If the asset server is returning false, it should set error to a string that explains why.error - A string describing why this call failed. This message will be recorded in the error log, which is available under the Economy tab on the Steamworks site.assets - An array of the line items purchased.itemtypeid - Game ID number of item. This is the itemid value that was given to us in the ISteamMicroTxn/InitTxn call.allow_refund - This must be true unless the purchased item has been consumed, modified, or transferred.in_inventory - True if the purchasing user still owns the item.bundle - If the item the user purchased is actually a bundle containing more items, set this to true and then also include the items that came out of the bundle as the next entries in the assets array.current_state - A human-readable string of the current state of the item. This string is shown to the user and should be localized if possible. The more specific the better, especially when allow_refund is false. Could be something like "Used to craft another item on March 25th, 2015" or "In your inventory."item_name - The name of the item. This string is shown to the user and should be localized if possible.amount - The quantity of this item that was purchased. All items must have the same id (not applicable if your game does not support our Steam Economy APIs). If multiple items were purchased, but have different id values, then include multiple entries in the assets array instead of using this amount field.id - The assetid or the currencyid of the item that was given to the user.contextid - The contextid that the item was placed in.currency - True if id refers to a currencyid.class - An array of game-defined asset class identifiers. This should be the same class that GetAssetClass/v0001 would return.
|