diff --git a/README.md b/README.md index b840ea1..2b65a02 100644 --- a/README.md +++ b/README.md @@ -199,6 +199,8 @@ const paystack = new Paystack("secret_key"); * enable * get * list + * getLink + * sendLink * transfer_control * balance * resendOTP diff --git a/resources/subscription.js b/resources/subscription.js index 71f15d5..79eab4a 100644 --- a/resources/subscription.js +++ b/resources/subscription.js @@ -47,5 +47,21 @@ module.exports = { get: { method: "get", route: `${route}/{id}` + }, + + /* + Generate Update Subscription Link + */ + getLink: { + method: "get", + route: `${route}/{code}/manage/link` + }, + + /* + Send Update Subscription Link + */ + sendLink: { + method: "post", + route: `${route}/{code}/manage/email` } };