This repository was archived by the owner on Jun 23, 2019. It is now read-only.
More simple initialization. You can initialize by pass the API key string to fastpay() function.
fastpay("YOUR_API_KEY", function (err, res, body) {
if (!err && res.statusCode === 200) {
console.log(body);
}
});Also, passing the option object works for backward compatibility as follows.
fastpay({
apiKey: "YOUR_API_KEY"
}, function (err, res, body) {
if (!err && res.statusCode === 200) {
console.log(body);
}
});