How to use the @mollie/api-client.MethodInclude.issuers function in @mollie/api-client

To help you get started, we’ve selected a few @mollie/api-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mollie / mollie-api-node / examples / methods / get-with-issuers.ts View on Github external
(async () => {
  try {
    const method: Method = await mollieClient.methods.get('ideal', {
      include: MethodInclude.issuers,
    });

    console.log(method);
  } catch (error) {
    console.warn(error);
  }
})();
github mollie / mollie-api-node / examples / methods / list-with-issuers.ts View on Github external
(async () => {
  try {
    const methods: List = await mollieClient.methods.all({
      include: MethodInclude.issuers,
    });

    console.log(methods);
  } catch (error) {
    console.warn(error);
  }
})();
github mollie / mollie-api-node / examples / methods / list-for-amount-and-currency.ts View on Github external
(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);
  }
})();