Back to all

JavaScript SDK

Hi,
Please provide proper documentation, how implement to javascript Sdk.

const scGateway = new scDK({
gateway:gatewayName,
smallcaseAuthId: authToken,
config: {
amo: true
}
})

scGateway.triggerTransaction({
transactionId: 'transactionId'
})
.then(res => res)
.catch(err => err.message);
});

I using this code but no any response.