- Auth
- API Keys
- Collectables
- Heroes and Characters
- Game
- Asset Candidates
- Assets
- Bones
- Players
- Leaderboards
- Files
- Feature Toggles
- Universal Player Auth
- Merging
- Rarities
- Preferences
- Platforms
- Progressions
- User
- Organisation
- Link Types
- Events/Missions
- Maps
- White Label Login
- Rewards
- Moderation Reports
- Catalogs
- Currency
- Create New CurrencyPOST
- Create New Denomination For CurrencyPOST
- Publish CurrencyPATCH
- Retract CurrencyPATCH
- Enable Game API WritesPATCH
- Disable Game API WritesPATCH
- Delete CurrencyDELETE
- Delete DenominationDELETE
- Get Currency By Game & CodeGET
- Get Dependents For CurrencyGET
- List Currencies By GameGET
- List Denominations By CurrencyGET
- Balances
- Messages
- DLC
- Player Segments
- Character Classes
- Subscriptions
- Player Operations
- Roles
- Title Config
- Items
- Entitlements
- Feedback
- Hosts
- Metadata
- Triggers
- Data Migration
- Twitch Drops
- Notifications
Retract Currency
PATCH
https://api.lootlocker.io/admin/game/{game_id}/currency/{currency_id}/retract
economy
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH 'https://api.lootlocker.io/admin/game//currency/01GQHF38EWBC2H70MF3JBRHQ7J/retract' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"id": "01GQ52TWWG8QVM8AQJVPZP8ZPK",
"game_id": 23647,
"name": "Thrones",
"code": "thr",
"published": false,
"published_at": null,
"created_at": "2023-01-19T13:17:34Z"
}
Request
Path Params
game_id
stringÂ
required
Example:
{{dev_game_id}}
currency_id
stringÂ
required
Example:
01GQHF38EWBC2H70MF3JBRHQ7J
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
object {0}
Examples
Responses
🟢200Create New Currency (Happy Path)
application/json
Body
id
stringÂ
required
game_id
integerÂ
required
name
stringÂ
required
code
stringÂ
required
published
booleanÂ
required
published_at
nullÂ
required
created_at
stringÂ
required
Modified at 2024-06-19 13:58:43