Loading…

TG BOT payment star

```javascript WXAPI.tgBotPayStar({ token: '0000' }) ``` + token current user login credentials + shopId store id + money The number of stars to pay, must be an integer, 1 represents 1 star + remark payment notes + payName The payment name displayed on the payment pop-up page + nextAction After the payment is successful, the next operation that needs to be performed does not need to be passed. ["Detailed explanation of nextAction parameter usage"](https://www.yuque.com/apifm/doc/aetmlb) ```json { "code": 0, "msg": "success", "data": { "outTradeId": "ZF2610302035143667", "createInvoiceLink": "https://t.me/$Jssn7WF9IFdIAwAA0F_YZ1_G0M4" } } ``` + outTradeId payment order number + createInvoiceLink pulls up the payment URL address