Client SDK API
async Carmentis.web.openApprovalPopup()
Example
await Carmentis.web.openApprovalPopup({
id: ...,
operatorURL: ...,
onSuccessCallback: () => {
...
}
})
Carmentis.web.closeApprovalPopup()
async Carmentis.wallet.request()
Example
let answer = await Carmentis.wallet.request({
qrElementId : "qr", // ID of HTML element where QR code is placed
type : "eventApproval",
organizationId: ORGANIZATION_ID,
data: {
id: id,
},
allowReconnection: true,
operatorURL: operatorURL
});