해외카드 결제 시 USD(달러) 직접 승인 연동 방법 문의

,

. ($550), .

(KRW) , 부 API(https://api.exchangerate-api.com/v4/latest/USD) .

const price = 550;
const res = await fetch('https://api.exchangerate-api.com/v4/latest/USD');
const data = await res.json();
const currentRate = data.rates.KRW;

const finalPriceKRW = Math.floor(price * currentRage);
const paymentMethodWidget = paymentWidget.renderPaymentMethods(
        "#payment-method",
        { value: finalPriceKRW }, 
        { variantKey: "qomics_en" }
      );

, $550$555.26. ($1$1.01.)

'' ()면 USD, JPY , , 접 USD($550), $550..?
image.png
a7f2a2a5-8f2d-4aa0-a61c-7def1f7a2eea.png
Was this page helpful?