[/list] [/list] [/list] [b]Example Response:[/b] [code=json] { "response": { "result": "OK", "params": { "count": 4, "orders": [ { "orderid": "1233", "transid": "1234567890123456788", "steamid": "76561197972751825", "status": "PartialRefund", "currency": "USD", "time": "2024-01-23T18:30:00Z", "country": "US", "usstate": "WA", "timecreated": "2024-01-23T18:15:00Z", "items": [ { "itemid": 100, "qty": 1, "amount": 99, "vat": 9, "itemstatus": "Refunded" }, { "itemid": 101, "qty": 1, "amount": 1299, "vat": 116, "itemstatus": "Succeeded" } ] }, { "orderid": "1234", "transid": "1234567890123456789", "steamid": "76561197972751825", "status": "Failed", "currency": "USD", "time": "2024-01-23T18:40:30Z", "country": "US", "usstate": "WA", "timecreated": "2024-01-23T18:39:00Z", "items": [ { "itemid": 100, "qty": 1, "amount": 99, "vat": 9, "itemstatus": "Failed" } ] }, { "orderid": "1235", "transid": "1234567890123456790", "steamid": "76561197972751825", "status": "Succeeded", "currency": "USD", "time": "2024-01-23T18:40:40Z", "country": "US", "usstate": "WA", "timecreated": "2024-01-23T18:39:30Z", "items": [ { "itemid": 101, "qty": 1, "amount": 1299, "vat": 116, "itemstatus": "Succeeded" } ] }, { "orderid": "1236", "transid": "1234567890123456791", "steamid": "76561197972751825", "status": "Chargedback", "currency": "USD", "time": "2024-01-23T19:55:00Z", "country": "US", "usstate": "WA", "timecreated": "2024-01-23T18:40:00Z", "items": [ { "itemid": 102, "qty": 1, "amount": 999, "vat": 89, "itemstatus": "Chargedback" } ] } ] } } } [/code] [section=GetUserAgreementInfo]GetUserAgreementInfo[/section] [code=http]GET https://partner.steam-api.com/ISteamMicroTxn/GetUserAgreementInfo/v2/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr] [td][b]key[/b][/td][td]string[/td] [td]✔[/td] [td]Steamworks Web API [url=https://partner.steamgames.com/doc/webapi_overview/auth#publisher-keys]publisher key[/url] with [b]Microtransaction[/b] permissions.…
[/list] [/list] [/list] [b]Example Response:[/b] [code=xml] <response> <result>OK</result> <params> <state>WA</state> <country>US</country> <currency>USD</currency> </params> </response> [/code] [section=InitTxn]InitTxn[/section] [code=http]POST https://partner.steam-api.com/ISteamMicroTxn/InitTxn/v3/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr] [td][b]key[/b][/td][td]string[/td] [td]✔[/td] [td]Steamworks Web API [url=https://partner.steamgames.com/doc/webapi_overview/auth#publisher-keys]publisher key[/url] with [b]Microtransaction[/b] permissions.…
The Steam Controller does not have true rumble, but it does emulate an approximation using its haptics (and will therefore respond to the API calls for rumble). [subsection]LED[/subsection] The Steam Controller and the PlayStation 4 controller both have a built in LED light on the controller. The Steam Controller's light is always white, but the PlayStation 4 controller features a fully programmable colored LED. Both of these devices will respond to API calls for changing the light color, but the Steam Controller will cast the color to monochrome and simply use it to control brightness, whereas on the PlayStation 4 controller it can be used to control both the color and the brightness. Unsupported devices will ignore API calls for the LED.…
*[i]referring here to all compatible models, including but not limited to the DUALSHOCK 4 model[/i] [docimg=ds4_controller.png]ds4_controller.png[/docimg] The PlayStation 4 controller has all the same physical features available to XInput controllers, as well as: [list] [*] A central trackpad [*] An internal gyroscope [*] A programmable LED light bar [/list] [subsection=FaceButtons]Face buttons[/subsection] [b]Digital[/b] The PlayStation 4 controller features four standard face buttons labeled with a SQUARE, a CROSS, a TRIANGLE, and a CIRCLE. …
Options include: [list] [*] [b]TURN OFF CONTROLLER[/b] [*] [b]OPEN BIG PICTURE[/b] [*] [b]MINIMIZE BIG PICTURE[/b] [*] [b]QUIT BIG PICTURE[/b] [*] [b]SUSPEND HOST PC[/b] [*] [b]SHUTDOWN HOST PC[/b] [*] [b]RESTART HOST PC[/b] [/list] [subsection]Set Light Options[/subsection] [docimg=legacy_light.png]legacy_light.png[/docimg] This lets you control how the controller's LED functions (if it has one). Only PS4 Controllers support colored light options. [list] [*] [b]Default User Setting[/b] No change to how the light functions [*] [b]Default XInput Slot Number Setting[/b] Slots 1-4 are colored red, blue, green, and purple, respectively. [*] [b]Custom Setting[/b] [list] [*][b]Controller Light Color[/b] Change the color of the light [*][b]Controller Light Saturation[/b] Change the intensity of the light [/list] [/list] [subsection]Music[/subsection] [docimg=legacy_music.png]legacy_music.png[/docimg] This lets you control music playback from your Steam music player. …
[/td][/tr] [tr][td][b]nFlags[/b][/td][td]unsigned int[/td][td]Bit-masked flags combined from values defined in [apitype]ISteamController::ESteamControllerLEDFlag[/apitype].[/td][/tr] [/table] Set the controller LED color on supported controllers. [b]Notes:[/b] The VSC does not support any color but white, and will interpret the RGB values as a greyscale value affecting the brightness of the Steam button LED. …
[/td][/tr] [tr][td][b]nFlags[/b][/td][td]unsigned int[/td][td]Bit-masked flags combined from values defined in [apitype]ISteamInput::ESteamInputLEDFlag[/apitype]. 0 will default to setting a color.[/td][/tr] [/table] Set the controller LED color on supported controllers. [b]Notes:[/b] The Steam Controller (2015) does not support any color but white, and will interpret the RGB values as a greyscale value affecting the brightness of the Steam button LED. The Steam Controller (2026) does not have API-facing LED support. The DS4 responds to full color information and uses the values to set the color & brightness of the lightbar. Steam will restore the user's default color when your game exits, so you don't need to restore it yourself as you are shutting down. …