KR.getPaymentMethods()
Description
This method lists the payment methods available and associated with the store. The merchant knows the payment methods available to them in real time.
This method returns a promise.
Example of integration
const result = await KR.getPaymentMethods();
console.log(result);
// result
{
"paymentMethods": ["PAYPAL", "CARDS", "APPLE_PAY"],
"cardBrands": ["VISA", "MASTERCARD"]
}