Data Type: SendGift
Parameter | Type | Description | Required/Optional | Notes |
---|---|---|---|---|
receiving_account_id | String | Gift Receiver Account ID | required | |
gifts | Array | Gift List | required | |
Merchandise | Gift Information | required | ||
total_price_amount | Amount | Gift Amount | required | |
scene_object_id | String | Scene Object ID | required | live room ID or Session ID etc. |
scene | String | Scene | required | enumeration: live_room voice_room chat_room chat other |
{
"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"
}