SendGift

Data Type: SendGift

ParameterTypeDescriptionRequired/OptionalNotes
receiving_account_idStringGift Receiver Account IDrequired
giftsArrayGift Listrequired
MerchandiseGift Informationrequired
total_price_amountAmountGift Amountrequired
scene_object_idStringScene Object IDrequiredlive room ID or Session ID etc.
sceneStringScenerequiredenumeration:
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"
}