🎒Inventory
Get inventory item
GET
/v3/inventory
Headers
Name | Value |
---|---|
X-Api-Key* |
|
Authorization* |
|
Response
Remove item from inventory
POST
/v3/inventory/remove
Headers
Name | Value |
---|---|
X-Api-Key* | API Key |
Authorization* |
|
Body
Name | Type | Description |
---|---|---|
| string | Inventory ID |
Response
Inject mystery box ticket
POST
/v3/inventory/inject/mystery-box-ticket
Headers
Name | Value |
---|---|
X-API-Key* |
|
Authorization* |
|
Body
Name | Type | Description |
---|---|---|
| string | amount of ticket injected |
Response
Inject in-game items
POST
/v3/inventory/inject/in-game-item
Before injecting to inventory, make sure the item is available on database alphagames game_items
table
Headers
Name | Value |
---|---|
X-Api-Key* |
|
Authorization* |
|
Body
Name | Type | Description |
---|---|---|
| string | Stringified json of game_internal_id and qty. Example below |
Example Payload
Response
Inject alfa voucher (from reward pool)
POST
/v3/inventory/inject/voucher
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description |
---|---|---|
| string | Name of the user |
| number | Age of the user |
Response
Last updated