const allMethods = checkout.paymentMethods.value
const method = allMethods.find((method) => method.method === "3x");
if (!method) {
console.error("Payment method not found");
return;
}
if(method.simulable) {
method.simulateLoan({
amount: 360,
currency_code: "EUR"
}).then((installmentPlan) => {
});
}