Event Type: send_gift
send_gift
[* Object SendGift]: Send Gift Informationreceiving_account_id
[* String]: Gift Receiver Account IDgifts
[* Array Merchandise]: Gift Listmerchandise_id
[* String]: Merchandise IDcategory_1
[* String]: The primary classification of Merchandisecategory_2
[String]: Secondary classification of Merchandisecategory_3
[String]: Three-level classification of Merchandisename
[String]: Merchandise Namecount
[Integer]: Merchandise Countunit_price
[Object Amount]: Merchandise Unit Pricecurrency
[* String]: Local Currency Type, 3-letter code according to ISO 4217amount_local
[* Double]: Amount ( Local Currency )amount_usd
[Double]: Amount ( USD ), The USD amount is converted from the original amount by the exchange rate, (required when not access to China Server)amount_cny
[Double]: Amount ( CNY ), The CNY amount is converted from the original amount by the exchange rate, (required when accessing a China Server)
total_price_amount
[* Object Amount]: Gift Amountcurrency
[* String]: Local Currency Type, 3-letter code according to ISO 4217amount_local
[* Double]: Amount ( Local Currency )amount_usd
[Double]: Amount ( USD ), The USD amount is converted from the original amount by the exchange rate, (required when not access to China Server)amount_cny
[Double]: Amount ( CNY ), The CNY amount is converted from the original amount by the exchange rate, (required when accessing a China Server)
scene_object_id
[* String]: Scene Object ID, live room ID or Session ID, etc.scene
[* String]: Scene, enumeration- live_room
- voice_room
- chat_room
- chat
- other
{
"send_gift": {
"receiving_account_id": "5763543",
"gifts": [
{
"merchandise_id": "NFH837824432",
"category_1": "3c",
"category_2": "phone",
"category_3": "android",
"name": "huawei phone",
"count": 1,
"amount": {
"currency": "USD",
"amount_local": 1000,
"amount_usd": 1000,
"amount_cny": 6800
}
}
],
"total_price_amount": {
"currency": "USD",
"amount_local": 1000,
"amount_usd": 1000,
"amount_cny": 6800
},
"scene_object_id": "NDUH9364",
"scene": "live_room"
}
}