arky-sdk 0.3.104 → 0.3.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -939,7 +939,7 @@ var createEshopApi = (apiConfig) => {
939
939
  market: apiConfig.market,
940
940
  ...params
941
941
  };
942
- return apiConfig.httpClient.post(`/v1/payments/quote`, payload, options);
942
+ return apiConfig.httpClient.post(`/v1/orders/quote`, payload, options);
943
943
  },
944
944
  async checkout(params, options) {
945
945
  const payload = {
@@ -1532,6 +1532,8 @@ function createPaymentForCheckout(subtotalMinor, marketId, currency, paymentMeth
1532
1532
  shipping: 0,
1533
1533
  discount,
1534
1534
  total,
1535
+ paid: 0,
1536
+ refunds: [],
1535
1537
  type: paymentMethod,
1536
1538
  ...taxAmount > 0 && {
1537
1539
  tax: {