Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(async () => {
try {
const method: Method = await mollieClient.methods.get('ideal', {
include: MethodInclude.issuers,
});
console.log(method);
} catch (error) {
console.warn(error);
}
})();
(async () => {
try {
const methods: List = await mollieClient.methods.all({
include: MethodInclude.issuers,
});
console.log(methods);
} catch (error) {
console.warn(error);
}
})();
(async () => {
try {
const filteredMethods: List = await mollieClient.methods.all({
include: MethodInclude.issuers,
amount: {
value: '10.00',
currency: 'SEK',
},
});
console.log(filteredMethods);
} catch (error) {
console.warn(error);
}
})();