Loading…
⚡
apifm
Frontend PaaS & AI Dev Platform
SDK
Homepage
Open Source
Help center
Cases
Contact
Backend management
Pay for the blind box to be paid
Pay for the blind box to be paid
SDK
apifm
Development reference
Table of contents on this page
Pay with balance
Pay online
# Pay with balance ```javascript WXAPI.blindBoxFriendsPay({ token: '000' }) ``` + token current user login credentials + id blind box ID ```json {"code":0,"msg":"success"} ``` # Pay online [**"Detailed explanation of nextAction parameter usage"**](https://www.yuque.com/apifm/doc/aetmlb) To call any online payment interface, pass the nextAction parameter: ```json {type:22, boxId: 10} ``` + Change boxId to blind box id.