Sent when a user purchases something inside the game. Specifies the change in the user’s balance.
Return to indicate successful processing.
Return in case of an error in the provided information (e.g., a required parameter missing, failed authorization, etc.).
Return to indicate temporary errors with your servers.
{- "notification_type": "string",
- "settings": {
- "project_id": 0,
- "merchant_id": 0
}, - "operation_type": "string",
- "id_operation": 0,
- "user": {
- "id": "string",
- "name": "string",
- "email": "string"
}, - "virtual_currency_balance": {
- "old_value": "string",
- "new_value": "string",
- "diff": "string"
}, - "items_operation_type": "string",
- "items": [
- {
- "sku": "string",
- "amount": 0
}
]
}
{- "error": {
- "code": "INVALID_USER",
- "message": "Invalid user"
}
}