- Game API
- Authentication
- Guest SessionPOST
- White Label SessionPOST
- Steam SessionPOST
- Epic Games SessionPOST
- Apple Sign In SessionPOST
- Apple Game Center SessionPOST
- Google SessionPOST
- Nintendo Switch SessionPOST
- Xbox SessionPOST
- Meta/Oculus SessionPOST
- PSN Player VerificationPOST
- Steam/PSN SessionPOST
- End SessionDELETE
- Steam Player VerificationPOST
- Unified Player Accounts
- White Label Login
- Players
- Files
- Player Storage
- Get Info From Session
- List Multiple Players Info
- Lookup Player Names by IDS
- Get Players Active Name
- Set Player Name
- Migrate DLCs
- Get Migrated DLCs
- Set Player Profile Private
- Set Player Profile Public
- Get Other Players Loadout for Default Character
- Get Players Loadout for Default Character
- Delete Player
- Submit XP
- Get Other Player Info
- Get Player Info
- Get Multiple Other Players XP And Level
- Notifications
- Commerce
- Entitlements
- Leaderboards
- Characters & Heroes
- Characters
- List Equippable Contexts to Default Character
- List Equippable Contexts to Character By ID
- Update Character
- List Character Types
- List Characters
- Create Character
- Get Loadout For All Player Characters
- Get Loadout For Player Characters By Platform ID
- Equip Asset To Character
- Unequip Asset To Character
- Equip Asset To Default Character
- Unequip Asset To Default Character
- Heroes
- Characters
- Assets
- Asset Instances
- Triggers
- Progressions
- Messages
- Friends
- Feedback
- Metadata
- User Generated Content (UGC)
- Game
- Collectables
- Missions
Purchase - In Game Only
POST
https://api.lootlocker.com/game/purchase
economy
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/purchase' \
--header 'x-session-token: ' \
--header 'x-session-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"wallet_id": "01J85H3QQ81BYKS0AG7VE881CS",
"items": [
{
"catalog_listing_id": "01J7S0CED5K0THCB1ENN9XKQWZ",
"quantity": 1
}
]
}'
Response Response Example
{}
Request
Header Params
x-session-token
stringÂ
required
Example:
{{session_token}}
Body Params application/json
wallet_id
stringÂ
required
items
array [object {2}]Â
required
catalog_listing_id
stringÂ
optional
quantity
integer <uint64>
optional
>= 1
Examples
Responses
🟢200Success
application/json
Body
object {0}
Modified at 2024-09-24 14:16:46