- 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
Create New Denomination For Currency
POST
https://api.lootlocker.io/admin/game/{game_id}/currency/{currency_id}/denominations
economy
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.lootlocker.io/admin/game//currency/01GQHF38EWBC2H70MF3JBRHQ7J/denominations' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "some denomination",
"value": 10
}'
Response Response Example
{
"created_at": "2023-10-10T16:22:32Z",
"id": "01HCD6BAQEP60E9GNXG2TS1P4Q",
"currency": "01GQHF38EWBC2H70MF3JBRHQ7J",
"name": "some denomination",
"value": 10
}
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
name
stringÂ
required
value
integerÂ
required
Examples
Responses
🟢200Success
application/json
Body
created_at
stringÂ
required
id
stringÂ
required
currency
stringÂ
required
name
stringÂ
required
value
integerÂ
required
Modified at 2024-06-19 13:58:30