UNPKG

@atlas-kitchen/adyen-web

Version:
3 lines (2 loc) 389 B
import{httpPost as t}from"../http.js";import{API_VERSION as e,API_ERROR_CODE as o}from"./constants.js";function a(a,n){const s=`${e}/sessions/${n.id}/paymentDetails?clientKey=${n.clientKey}`,i={sessionData:n.data,...a};return t({loadingContext:n.loadingContext,path:s,errorLevel:"fatal",errorCode:o.submitPaymentDetails},i)}export{a as default}; //# sourceMappingURL=submit-details.js.map