Wechat card coupon development for advice!

current situation:
We are abbreviated as A, and the other party is referred to as B
. Mini Program a was developed under the official account of A, and then Wechat card coupons were created in the official account of B
. How can we call the wx.addCard interface in Mini Program a to make the card coupons added successfully?
after reading the document, I found that Mini Program a needs to be associated with the official account of B, and is it correct to obtain the appId and appsecret of B for signature signature?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37127-2b8b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37127-2b8b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?