sendInvoice

Request

{
    "chat_id": 346446332,
    "title": "name",
    "description": "hello",
    "payload": "@list_99bot",
    "provider_token": "632593626:TEST:i56982357197",
    "start_parameter": "statr",
    "currency": "USD",
    "prices": [
        {
            "amount": 10,
            "label": "tax"
        }
    ]
}

Response

36 lines

{
    "ok": true,
    "result": {
        "message_id": 90670,
        "from": {
            "id": 335148169,
            "is_bot": true,
            "first_name": "💡بوت إعلانات 💡",
            "username": "list_99bot"
        },
        "chat": {
            "id": 346446332,
            "first_name": "|• أَزْمُـرَايْ",
            "last_name": "•|",
            "type": "private"
        },
        "date": "1565414616 (2019 Aug 10 13:23:36 +0800)",
        "invoice": {
            "title": "name",
            "description": "hello",
            "start_parameter": "statr",
            "currency": "USD",
            "total_amount": 10
        },
        "reply_markup": {
            "inline_keyboard": [
                [
                    {
                        "text": "Pay $0.10",
                        "pay": true
                    }
                ]
            ]
        }
    }
}

Share

Submit by @list_99bot

⬅️ Back to Recently Submissions