I am currently trying to integrate a hosted session checkout in Wix using Mastercard. I am fairly new to this. How do I add this code to Wix? Is it possible? Wix only supports Javascript and I am currently stuck. Thank you.
curl https://ap - gateway.mastercard.com/api/nvp/version/57 \
-d “apiOperation=CREATE_CHECKOUT_SESSION” \
-d “apiPassword=$PWD” \
-d “apiUsername=merchant.<your_merchant_id>” \
-d “merchant=<your_merchant_id>” \
-d “interaction.operation=AUTHORIZE” \
-d “order.id=<unique_order_id>” \
-d “order.amount=100.00” \
-d “order.currency=USD”