{"_id":"node-recurly","_rev":"16-1bcae7cac975731f53277aa7ebec14c6","name":"node-recurly","description":"Library for accessing the api for the Recurly recurring billing service.","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.2":{"name":"node-recurly","description":"Library for accessing the api for the Recurly recurring billing service.","keywords":["recurly","e-commerce","recurring billing"],"version":"0.0.2","homepage":"https://github.com/robrighter/node-recurly","author":{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},"contributors":[{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"}],"repository":{"type":"git","url":"git://github.com/robrighter/node-recurly.git"},"bugs":{"url":"https://github.com/robrighter/node-recurly/issues"},"directories":{"lib":"./lib"},"main":"./lib/recurly.js","dependencies":{"xml2js":">= 0.1.5"},"engines":{"node":"0.4"},"_id":"node-recurly@0.0.2","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"9c3e02a5affce5fffaffffa15bccd75bcb97910f","tarball":"https://registry.npmjs.org/node-recurly/-/node-recurly-0.0.2.tgz","integrity":"sha512-dhVjS+IQuHSPQu5+YmuhNsrVMbbrxQEa4BXq7Sb8YjWdWRKGPh3cAxtNdi3E4oqffn9zZEs26fsski6KfGY6dw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJOKt1NUs7K1IBUaK4jmkURD/mE/pocr9joziILo9V7wIgUtwlb7db0POY+fnzHtXFKdLVD/aKLET038/2A8Gmi64="}]}},"0.0.3":{"name":"node-recurly","description":"Library for accessing the api for the Recurly recurring billing service.","keywords":["recurly","e-commerce","recurring billing"],"version":"0.0.3","homepage":"https://github.com/robrighter/node-recurly","author":{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},"contributors":[{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"}],"repository":{"type":"git","url":"git://github.com/robrighter/node-recurly.git"},"bugs":{"url":"https://github.com/robrighter/node-recurly/issues"},"directories":{"lib":"./lib"},"main":"./lib/recurly.js","dependencies":{"xml2js":">= 0.1.5"},"engines":{"node":"0.4"},"_id":"node-recurly@0.0.3","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"39daaaa282c7cbfd751cf039f1aadd0d456923d1","tarball":"https://registry.npmjs.org/node-recurly/-/node-recurly-0.0.3.tgz","integrity":"sha512-ROjAnev+Hc4SPPZwmS5V/nP2pkVUq/Kz/v7lXOnhs8HycN6voQ2oI9+WLV0n7BvFVpZe7L31EQz/QJavkOhACA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxczjiVibAbhojK+l3/ERVAEVZOqhBUBgu/Q/++Fz15QIhAKzp9J4HnVb0MJQrOM5W7ntLCgsaKOdYboFkuHMQX/Pl"}]}},"0.0.6":{"name":"node-recurly","description":"Library for accessing the api for the Recurly recurring billing service.","keywords":["recurly","e-commerce","recurring billing"],"version":"0.0.6","homepage":"https://github.com/robrighter/node-recurly","author":{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},"contributors":[{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"}],"repository":{"type":"git","url":"git://github.com/robrighter/node-recurly.git"},"bugs":{"url":"https://github.com/robrighter/node-recurly/issues"},"directories":{"lib":"./lib"},"main":"./lib/recurly.js","dependencies":{"xml2js":">= 0.1.5"},"engines":{"node":"0.4"},"_id":"node-recurly@0.0.6","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"cde9f655e0211d971b82fd946ee80c97de39bedf","tarball":"https://registry.npmjs.org/node-recurly/-/node-recurly-0.0.6.tgz","integrity":"sha512-ORrS3rGoaGBfyrljW1AA118xsbHz932oLLfRxXHYPryTzc10GfaDPdOP1w7MLA0J+eX9Z89Zlq3PwI09OJi4xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpGq8TdaP9d+IjZTpptDEVHUeAsp0oI2VVEXq0wsiY9AiEAlx7N9gOIY+7FzQuzNyquIPc3wmwkkIfRPJcu6j8X9VE="}]}},"0.0.7":{"name":"node-recurly","description":"Library for accessing the api for the Recurly recurring billing service.","keywords":["recurly","e-commerce","recurring billing"],"version":"0.0.7","homepage":"https://github.com/robrighter/node-recurly","author":{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},"contributors":[{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"}],"repository":{"type":"git","url":"git://github.com/robrighter/node-recurly.git"},"bugs":{"url":"https://github.com/robrighter/node-recurly/issues"},"directories":{"lib":"./lib"},"main":"./lib/recurly.js","dependencies":{"xml2js":">= 0.1.5"},"engines":{"node":"0.4"},"_id":"node-recurly@0.0.7","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"166b16a3830c381fa52de0cbf6f39cc92f9b8996","tarball":"https://registry.npmjs.org/node-recurly/-/node-recurly-0.0.7.tgz","integrity":"sha512-Mg3CgRQxU5vLSHJD6NodknfyEr+xo+444kf4B/kxcGGOmsH1+jlsSe3zwhJfZAchmVVaVvxcQCnKI7TEtTjurQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTadXs2RM2mssRDmrJ+cOLHID85f8+tdwK8rlzVG3JogIgLI9cCSF0ITO3/JfULqIsgzN5tG6lqtRywp0aydPt9fE="}]}},"0.0.8":{"name":"node-recurly","description":"Library for accessing the api for the Recurly recurring billing service.","keywords":["recurly","e-commerce","recurring billing"],"version":"0.0.8","homepage":"https://github.com/robrighter/node-recurly","author":{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},"contributors":[{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"}],"repository":{"type":"git","url":"git://github.com/robrighter/node-recurly.git"},"bugs":{"url":"https://github.com/robrighter/node-recurly/issues"},"directories":{"lib":"./lib"},"main":"./lib/recurly.js","dependencies":{"xml2js":">= 0.1.5"},"engines":{"node":"0.4"},"_id":"node-recurly@0.0.8","_engineSupported":true,"_npmVersion":"0.3.16","_nodeVersion":"v0.4.1","files":[""],"_defaultsLoaded":true,"dist":{"shasum":"a56dca814d5fe4446566f16a4d19adea907e27b7","tarball":"https://registry.npmjs.org/node-recurly/-/node-recurly-0.0.8.tgz","integrity":"sha512-qRoJiQjJkd3ky5CpVOaX2Y5sIgaAkY7sFMTzOhJi5zIBYEJQdjcylPd3KUx3Z0Hd1xZw3vsxxbZAoLyFF9mCYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIdFZf23e22WqIo9/7Jy5psZf3QUbX814qPAowOF+p6gIhAL1YWgw6DbwRC+u0EeHUJWyOXRCfDpsYQj1kPoMS/hHb"}]}},"2.1.0":{"name":"node-recurly","description":"Library for accessing the api for the Recurly recurring billing service.","keywords":["recurly","e-commerce","recurring billing"],"version":"2.1.0","homepage":"https://github.com/robrighter/node-recurly","author":{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},"contributors":[{"name":"Iván Guardado","email":"dev.ivangc@gmail.com","url":"http://github.com/IvanGuardado"},{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},{"name":"Dmitriy Shekhovtsov","email":"valorkin@gmail.com","url":"https://github.com/valorkin"}],"bugs":{"url":"https://github.com/robrighter/node-recurly/issues"},"directories":{"lib":"./lib"},"main":"./lib/recurly.js","dependencies":{"xml2js":">= 0.4.0","js2xml":"valorkin/js2xml"},"engines":{"node":">= 0.4"},"_id":"node-recurly@2.1.0","dist":{"shasum":"43231d7efb044a8b731f3a24eac40c304cffce7d","tarball":"https://registry.npmjs.org/node-recurly/-/node-recurly-2.1.0.tgz","integrity":"sha512-p9j59xGZ4KSi66FOIqfHvRFi6UxIDW+NfavCNVjLSg4JnqjePu9wfuYUiQvMJyIirpv7DmLnBs7N34/viFH2HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQ+LFC8vEtbDTLd8g424Q3SuNRuYyX8KJK7Orvvd6RDAiEAkxTPDbM2qewYWg2sGasx1jJrefCkPa/PQFa7wi9kLz0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"robrighter","email":"robrighter@gmail.com"},"maintainers":[{"name":"robrighter","email":"robrighter@gmail.com"}]}},"maintainers":[{"name":"robrighter","email":"robrighter@gmail.com"}],"time":{"modified":"2022-06-21T18:40:59.610Z","created":"2011-03-30T20:10:54.074Z","0.0.2":"2011-03-30T20:10:54.220Z","0.0.3":"2011-03-31T03:18:43.142Z","0.0.6":"2011-04-01T21:36:39.965Z","0.0.7":"2011-04-01T21:46:44.315Z","0.0.8":"2011-04-07T21:42:53.088Z","2.1.0":"2014-01-26T00:58:40.930Z"},"author":{"name":"Rob Righter","email":"robrighter@gmail.com","url":"http://github.com/robrighter"},"repository":{"type":"git","url":"git://github.com/robrighter/node-recurly.git"},"readme":"Node-Recurly\n===============\n\nnode-recurly is a node.js library for using the recurly recurring billing service. This library is intended to follow very closely the recurly documentation found at:\nhttp://docs.recurly.com/\n\nInstallation\n===============\n\n\tnpm install node-recurly\n\nadd a config file to your project that has contents similar to:\n\n\t\tmodule.exports = {\n\t\t\tAPI_KEY: 'secret',\n\t\t\tSUBDOMAIN:    '[your_account]',\n\t\t\tENVIRONMENT:  'sandbox',\n\t\t\tDEBUG: false\n\t\t};\n\n\nUsage\n===============\n\n\t\tvar Recurly = require('node-recurly');\n\t\tvar recurly = new Recurly(require('./config'));\n\nAfter that, just call the methods below:\n\n\nAccounts\n===============\nhttp://docs.recurly.com/api/accounts\n\n\n\n\trecurly.accounts.list(callback, filter)\n\n\trecurly.accounts.create(details, callback)\n\n\trecurly.accounts.update(accountcode, details, callback) \n\n\trecurly.accounts.get(accountcode, callback) \n\n\trecurly.accounts.close(accountcode, callback) \n\n\trecurly.accounts.reopen(accountcode, callback)\n\n\nBilling Information\n===============\nhttp://docs.recurly.com/api/billing-info\n\n\trecurly.billingInfo.update(accountcode, details, callback) \n\n\n\trecurly.billingInfo.get(accountcode, callback) \n\n\n\trecurly.billingInfo.remove(accountcode, callback) \n\n\n\nAdjustments\n===============\nhttp://docs.recurly.com/api/adjustments\n\n\trecurly.adjustments.get(accountcode, callback)\n  \n\trecurly.adjustments.create(accountcode, details, callback)\n\n\trecurly.adjustments.remove(uuid, callback)\n\n\nCoupons\n===============\nhttp://docs.recurly.com/api/coupons\n\n\trecurly.coupons.list(callback, filter)\n\t\n\trecurly.coupons.get(couponcode, callback)\n\n\trecurly.coupons.create(details, callback)\n\n\trecurly.coupons.deactivate(couponcode, callback)\n\nCoupon Redemtion\n=================\nhttp://docs.recurly.com/api/coupons/coupon-redemption\n  \n\trecurly.couponRedemption.redeem(couponcode, details, callback)\n\n\trecurly.couponRedemption.get(accountcode, callback)\n\n\trecurly.couponRedemption.remove(accountcode, callback)\n\n\trecurly.couponRedemption.getByInvoice(invoicenumber, callback)\n\n\n\nInvoices\n===============\nhttp://docs.recurly.com/api/invoices\n\n\trecurly.invoices.list(callback, filter)\n\t\n\trecurly.invoices.listByAccount(accountcode, callback, filter)\n\n\trecurly.invoices.get(invoicenumber, callback)\n  \n\trecurly.invoices.create(accountcode, details, callback)\n\n\trecurly.invoices.markSuccessful(invoicenumber, callback)\n\n\trecurly.invoices.markFailed(invoicenumber, callback)\n\n\nSubscriptions\n===============\nhttp://docs.recurly.com/api/subscriptions\n\n\trecurly.subscriptions.list(callback, filter) \n\t\n\trecurly.subscriptions.listByAccount(accountcode, callback) \n\n\trecurly.subscriptions.get(uuid, callback) \n\n\trecurly.subscriptions.create(details, callback) \n  \n\trecurly.subscriptions.update(uuid, details, callback) \n  \n\trecurly.subscriptions.cancel(uuid, callback) \n  \n\trecurly.subscriptions.reactivate(uuid, callback) \n  \n\trecurly.subscriptions.terminate(uuid, refundType, callback) \n\n \trecurly.subscriptions.postpone(uuid, nextRenewalDate, callback) \n\n\nSubscription Plans\n==================\nhttp://docs.recurly.com/api/plans\n\n\trecurly.plans.list(callback, filter) \n\n\trecurly.plans.get(plancode, callback) \n\t\n\trecurly.plans.create(details, callback)\n  \n\trecurly.plans.update(plancode, details, callback)\n  \n\trecurly.plans.remove(plancode, callback)\n\nPlan Add-ons\n==================\nhttp://docs.recurly.com/api/plans/add-ons\n\n\trecurly.planAddons.list(plancode, callback, filter) \n\n\trecurly.planAddons.get(plancode, addoncode, callback) \n  \n\trecurly.planAddons.create(plancode, details, callback)\n  \n\trecurly.planAddons.update(plancode, addoncode, details, callback)\n  \n\trecurly.planAddons.remove(plancode, addoncode, callback)\n\n\nTransactions\n===============\nhttp://docs.recurly.com/api/transactions\n\n\trecurly.transactions.list(callback, filter) \n\n\n\trecurly.transactions.listByAccount(accountcode, callback, filter) \n\n\n\trecurly.transactions.get(id, callback) \n\n\n\trecurly.transactions.create(details, callback) \n\n\n\trecurly.transactions.refund(id, callback, amount) \n","readmeFilename":"README.md"}