{"_id":"@acancescu/payu","_rev":"8-9c6011821934f41b5ba1760384fcc742","name":"@acancescu/payu","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.7":{"name":"@acancescu/payu","version":"1.0.7","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.0.7","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"ae20c04a2979e0b1360dbd6ed2f4fdec30db6311","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.0.7.tgz","fileCount":46,"integrity":"sha512-YRnDCIKE31DVT4V789U7vdaexCHOW9/w6mW7SDKnBPxsq5Vofdl2RsgJHDjU86IoXS7uF+eQYtC+uoH+DHNVkg==","signatures":[{"sig":"MEQCIGUVr7G7/tVH44iwfupMpc2akEbVQ5Hh8h0ErKxQ5HRAAiB1dmSy/iMEw94F31OjkaPluvTkhiV6dbw5qSF3qCsIpA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20000},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.0.7.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"npm run build","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/85b815be0e99cacbc7605cd0a3d8fd4f/acancescu-payu-1.0.7.tgz","_integrity":"sha512-YRnDCIKE31DVT4V789U7vdaexCHOW9/w6mW7SDKnBPxsq5Vofdl2RsgJHDjU86IoXS7uF+eQYtC+uoH+DHNVkg==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^17.0.24"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.0.7_1741088866239_0.5721006430877944","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@acancescu/payu","version":"1.0.8","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.0.8","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"da207c35796db074af91dceb57071f8dc6c4bce4","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.0.8.tgz","fileCount":46,"integrity":"sha512-n5WZYLnqXNb4bwYyMVRf0FomuS0sqHR5QDOK1OzN5W/WmFkqzw4fWnCb6eBDa+d1+LdJWgHRzIPeU68/LkSx8w==","signatures":[{"sig":"MEYCIQDFomKlCAZaPKh8QWmlZN0pxFq/vTeYAul4mdO6idMMngIhAO7UB950BJfhQUc38kXnSw6sljrHdzEFAype9WqgyUB8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19988},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.0.8.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"tsc","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/045aefc0397f04af2f154859e1aac9fe/acancescu-payu-1.0.8.tgz","_integrity":"sha512-n5WZYLnqXNb4bwYyMVRf0FomuS0sqHR5QDOK1OzN5W/WmFkqzw4fWnCb6eBDa+d1+LdJWgHRzIPeU68/LkSx8w==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^17.0.24"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.0.8_1741089289039_0.5131220073847376","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@acancescu/payu","version":"1.0.9","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.0.9","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"61a3faf288a648982655d2797f2e060db68ebc24","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.0.9.tgz","fileCount":46,"integrity":"sha512-pKQIFJcAMa48gdkBl9iaqaRh2Hzx/C8/gdrkNWcFt2xz4cktB+iF1wG/AQKOGIXaRN+h4McJDavn25gcNXDnHA==","signatures":[{"sig":"MEUCIGZeP1ZKXBMPwIMUPj5kgWxYPy1CkG8tzlLUHeV2AQcMAiEA0BBXhh2u0kYFYHMlW2X2t6aUtR4LImPB85vQYwXDCZQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19955},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.0.9.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"tsc","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/46ab7dbeea19f12a3f73a2c4f5c4b762/acancescu-payu-1.0.9.tgz","_integrity":"sha512-pKQIFJcAMa48gdkBl9iaqaRh2Hzx/C8/gdrkNWcFt2xz4cktB+iF1wG/AQKOGIXaRN+h4McJDavn25gcNXDnHA==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^17.0.24"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.0.9_1741089479712_0.42132412254663154","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@acancescu/payu","version":"1.0.10","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.0.10","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"25274e53c3b26649789e05ca4a9e5f1d95a24ae6","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.0.10.tgz","fileCount":39,"integrity":"sha512-HAg6ST56WSFLvFpIpW0vYYiLjVKxIYPtTam6Siju1wC5fodNDF3wsQ789OxyARV+eHspbKK2AuOZbi/K/Q8b0Q==","signatures":[{"sig":"MEQCIFACFYUMsEqtqzPkAX8csE+KMZa8WMKVqWTdSI5SJhwXAiB4SPqfrQK2Y+j7WXcSBol/e9vrXx9rErrD+DBgb6qtqg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17837},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.0.10.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"tsc","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/b17cfbf3e01ef30a0d074da67308459a/acancescu-payu-1.0.10.tgz","_integrity":"sha512-HAg6ST56WSFLvFpIpW0vYYiLjVKxIYPtTam6Siju1wC5fodNDF3wsQ789OxyARV+eHspbKK2AuOZbi/K/Q8b0Q==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^17.0.24"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.0.10_1741090657326_0.9906418552891123","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@acancescu/payu","version":"1.0.11","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.0.11","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"8b473b1dd0d53dbb5acc1bfbb196e4e325ea6d9c","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.0.11.tgz","fileCount":39,"integrity":"sha512-bFZiqHHzgMeUk50eSQPGkwZdjSJycZdd9x4ZR0HcvS5cLnS7+VnUJaq1rkuXnbDzGbjORXjo2ly07/jtwYV+Kw==","signatures":[{"sig":"MEUCIQDuO5Y1Sp4KpOXN9stx7ik9ShaHi2aDWXjdqC4ag+fBFwIgIypTXt4nH/BsiExqxVKkyoHfyBm6ZkGKT+IA7HTcCOo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18357},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.0.11.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"tsc","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/546d1a6ffbf124f5c701dae26463b7c5/acancescu-payu-1.0.11.tgz","_integrity":"sha512-bFZiqHHzgMeUk50eSQPGkwZdjSJycZdd9x4ZR0HcvS5cLnS7+VnUJaq1rkuXnbDzGbjORXjo2ly07/jtwYV+Kw==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^22.13.9"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.0.11_1741095099518_0.0902036205395842","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@acancescu/payu","version":"1.1.0","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.1.0","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"0372dfa61226ddaf731f81ec38069c177557349e","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.1.0.tgz","fileCount":39,"integrity":"sha512-YJWMYSER57B3jg5isZRq27EkUDzaGVVJBTGDJCxh1Xzt/jqguAkS3jsj2wC5BRCHQ+wIBP/5LqjdN3D4UUHUhw==","signatures":[{"sig":"MEUCIGDNHpnbVrxm77Dbl87ukE6mh7y5XoVqo2B8DRMF8EDjAiEA3Ykd4vO/2O37qYIxXklPwD25p/+S4sgG3jTG30YiZRA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17737},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.1.0.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"tsc","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/4a89184a5537a51220d5cdb7f5a5e04e/acancescu-payu-1.1.0.tgz","_integrity":"sha512-YJWMYSER57B3jg5isZRq27EkUDzaGVVJBTGDJCxh1Xzt/jqguAkS3jsj2wC5BRCHQ+wIBP/5LqjdN3D4UUHUhw==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^22.13.9"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.1.0_1741095617359_0.599718359642935","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@acancescu/payu","version":"1.1.1","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.1.1","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"eaf36998c6eebabc30af1e27076c07407667c4b3","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.1.1.tgz","fileCount":39,"integrity":"sha512-EverhIRvmE3HAYQQ70Obnt29nOiNLDx1mTs1Jyxcbp/pMR17h+38Z5fWetDWRLcuzYai8LuerdQ0EzR3AJ6sYw==","signatures":[{"sig":"MEUCIHY/9IkURGMsML9voG13TRlwEGLeALdeaA5soceMDMV2AiEAx3KiQthuUFiErcR9mE8UjaS2wqLkiKxQzxs6FTKuz+A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17557},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.1.1.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"tsc","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/bade7c48dea7b80356ca509486f0ad33/acancescu-payu-1.1.1.tgz","_integrity":"sha512-EverhIRvmE3HAYQQ70Obnt29nOiNLDx1mTs1Jyxcbp/pMR17h+38Z5fWetDWRLcuzYai8LuerdQ0EzR3AJ6sYw==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^22.13.9"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.1.1_1741099229823_0.567221432313312","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@acancescu/payu","version":"1.1.2","keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","_id":"@acancescu/payu@1.1.2","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"homepage":"https://github.com/alexandrucancescu/payu#readme","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"dist":{"shasum":"effbe654bcd07b27cf26c99e288d61ce0694eac9","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.1.2.tgz","fileCount":39,"integrity":"sha512-z8mXYRgK6E36pT7J07dwiuJCxZHBAvsJ+EeRIDjdsT6w7NR7I1kDvOhmou5JrE8EnE9+Ckl3o+K2kinPl/RWMg==","signatures":[{"sig":"MEYCIQCTxzzlv3BynjH+e/irsE/ixQ/0/T5TtnIZdHCYuuQ/qwIhAM6xMhh+ohPy7LlS/dBIomByg2xrzdVWSW9zpHzltqgv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17647},"main":"dist/index.js","type":"module","_from":"file:acancescu-payu-1.1.2.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc","watch":"tsc --watch","prepublish":"tsc","build:check":"tsc --noEmit"},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/edfe990917d8662e7c94c57b3220459a/acancescu-payu-1.1.2.tgz","_integrity":"sha512-z8mXYRgK6E36pT7J07dwiuJCxZHBAvsJ+EeRIDjdsT6w7NR7I1kDvOhmou5JrE8EnE9+Ckl3o+K2kinPl/RWMg==","repository":{"url":"git+https://github.com/alexandrucancescu/payu.git","type":"git"},"_npmVersion":"10.9.2","description":"PayU client for NodeJS","directories":{},"_nodeVersion":"23.6.0","dependencies":{"ky":"^1.7.5","dayjs":"^1.11.13"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","typescript":"^4.6.3","@types/node":"^22.13.9"},"_npmOperationalInternal":{"tmp":"tmp/payu_1.1.2_1741100092463_0.283373457192704","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@acancescu/payu","version":"1.1.3","description":"PayU client for NodeJS","main":"dist/index.js","types":"dist/index.d.ts","type":"module","repository":{"type":"git","url":"git+https://github.com/alexandrucancescu/payu.git"},"keywords":["payu","typescript","node"],"author":{"name":"Kasun Vithanage"},"license":"MIT","bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"homepage":"https://github.com/alexandrucancescu/payu#readme","devDependencies":{"@types/node":"^22.13.9","prettier":"^3.5.3","typescript":"^4.6.3"},"dependencies":{"dayjs":"^1.11.13","ky":"^1.7.5"},"scripts":{"prepublish":"tsc","build":"tsc","build:check":"tsc --noEmit","watch":"tsc --watch"},"_id":"@acancescu/payu@1.1.3","_integrity":"sha512-cOpyKNh1WKdf4x+QhJ13uvCDZXW/4k41g3E2psi+okrPAIYvdsOm+OGlxDU2MmXBRVCWZJ/rVD8pJ6YwA3RfVA==","_resolved":"/private/var/folders/db/ffy2p3tx7klgztlq52ns8ql80000gn/T/fb8b3f23c90490c30fdf5adb1d60d177/acancescu-payu-1.1.3.tgz","_from":"file:acancescu-payu-1.1.3.tgz","_nodeVersion":"23.6.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-cOpyKNh1WKdf4x+QhJ13uvCDZXW/4k41g3E2psi+okrPAIYvdsOm+OGlxDU2MmXBRVCWZJ/rVD8pJ6YwA3RfVA==","shasum":"0ba456ed6f4cb80830e744e50e4ed2166d026283","tarball":"https://registry.npmjs.org/@acancescu/payu/-/payu-1.1.3.tgz","fileCount":45,"unpackedSize":20868,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAst+5CMvpvxtwrgd6FvuYoFEiMx0Pq+p86QrGLRlo8PAiBWlRWpFCyv7EMK3xRlpuHRX/vSFNPHpdooT7oioWfLvA=="}]},"_npmUser":{"name":"alexandrucancescu","email":"anduhd@gmail.com"},"directories":{},"maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/payu_1.1.3_1741123762386_0.4802243199064309"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-04T11:47:46.147Z","modified":"2025-03-04T21:29:22.798Z","1.0.7":"2025-03-04T11:47:46.407Z","1.0.8":"2025-03-04T11:54:49.191Z","1.0.9":"2025-03-04T11:57:59.894Z","1.0.10":"2025-03-04T12:17:37.555Z","1.0.11":"2025-03-04T13:31:39.721Z","1.1.0":"2025-03-04T13:40:17.650Z","1.1.1":"2025-03-04T14:40:30.013Z","1.1.2":"2025-03-04T14:54:52.642Z","1.1.3":"2025-03-04T21:29:22.575Z"},"bugs":{"url":"https://github.com/alexandrucancescu/payu/issues"},"author":{"name":"Kasun Vithanage"},"license":"MIT","homepage":"https://github.com/alexandrucancescu/payu#readme","keywords":["payu","typescript","node"],"repository":{"type":"git","url":"git+https://github.com/alexandrucancescu/payu.git"},"description":"PayU client for NodeJS","maintainers":[{"name":"alexandrucancescu","email":"anduhd@gmail.com"}],"readme":"# PayU for NodeJS\n\nA type safe PayU client for NodeJS written in Typescript\n\nThis is a fork of [@ingameltd/payu](https://github.com/ingameltd/payu) using\nES modules and [ky](https://github.com/sindresorhus/ky) for HTTP requests instead of axios.\n\n## Installation\n\n```bash\nnpm install --save @ingameltd/payu\n```\n\n## Usage\n\n### Importing\n\n```typescript\nimport { PayU, Order, Buyer, Product, Currency } from \"@ingameltd/payu\";\n```\n\n### Initialization\n\n- **clientId** : Client ID from PayU\n- **clientSecret** : client secret from panel\n- **merchantPosId** : pos id from panel\n- **secondKey** : second key from panel\n\n```typescript\nconst payU = new PayU(clientId, clientSecret, merchantPosId, secondKey, {\n  sandbox: false,\n});\n```\n\n### Create an order\n\n```typescript\nconst result = await payU.createOrder({\n  notifyUrl: \"https://my.shop.notify.com/notify\",\n  customerIp: \"127.0.0.1\",\n  continueUrl: \"https://myshop.com/order?id=abc\",\n  description: \"My order\",\n  currencyCode: Currency.PLN,\n  totalAmount: 2000,\n  buyer: {\n    email: \"buyer@email.com\",\n  },\n  products: [\n    { name: \"mobile phone #1\", quantity: 1, unitPrice: 1000 },\n    { name: \"mobile phone #2\", quantity: 1, unitPrice: 1000 },\n  ],\n});\n```\n\n### Capture order\n\nIf your shop does not approve payments automatically, you need to capture them and confirm.\n\n```typescript\nconst result = await payU.captureOrder(\"payU order Id from notification\");\n```\n\n### Cancel order\n\nTo cancel an order before completed call this method.\n\n```typescript\nconst result = await payU.cancelOrder(\"payU order Id from notification\");\n```\n\n### Refund order\n\nTo refund an order after completed call this method.\n\n```typescript\nconst result = await payU.refundOrder(\"payU order Id from notification\", \"reason\");\n```\n\n### Verify notification\n\nTo verify notification are valid cryptogrpically this method can be used.\n\n```typescript\nconst headers = req.headers;\n\nconst isValid = payU.verifyNotification(\n  headers[\"OpenPayu-Signature\"],\n  JSON.stringify(req.body)\n);\n\nconsole.log(isValid);\n```\n\n### Validate IPs\n\nTo validate IPs are correct, use following method. It will automatically adjust to match\nyour environment(production or sandbox)\n\n```typescript\nconst isIpValid = payU.isIpValid(\"127.0.0.1\");\n```\n","readmeFilename":"README.md"}