# List of interfaces for instant ticketing

Interface NameEnglish nameRequest Path
1. Enter the invoice information into the user WeChatinvoicebizgetusertitleurl/card/invoice/biz/getusertitleurl
2、 Get User Growth · Get a merchant's exclusive Growth Linkinvoicebizgetselecttitleurl/card/invoice/biz/getselecttitleurl
3、 Get the user's header · Scan the user''s invoice header QR codeinvoicescantitle/card/invoice/scantitle

# 4, get the user's head (method 3): through the jsapi interface, H5 get the user's head information that has been saved in WeChat

The interface is not exposed, so it is not exposed on the wx object.

For interfaces that are not publicly available, you can call them in the following way:

  1. Wx.config when passing in the parameter beta: true
  2. Wx.invoke (name, args, callback), where name is the interface name, args is a parameter object, and callback is a callback function

In this case, that is

wx.invoke('chooseInvoiceTitle', {// 这里要传入参数

}, function (res) {// 这里处理调用结果

})

Request parameters:

** **

Return results:

wx.ready(function () {
wx.invoke(' chooseInvoiceTitle ', {
"scene":"1"
}, function(res) {
//这里是回调函数
});
});

The choose_invoice_title_info object is structured as follows:

{ 
"type":"0",
"title":"腾讯科技(深圳)有限公司",
"taxNumber":"123466789987646131",
"companyAddress":"深圳市南山区某某路腾讯大厦",
"telephone":"123456789",
"bankName":"某某银行",
"bankAccount":"621111111111290"
}

# 5. Rise in receiving user submissions

# Interface Description

After user submissions rise, merchants receive user submission events.

For event push, please refer to:

Coupon events pushed

# Request parameters

Data format: xml

Example