paystack-python icon indicating copy to clipboard operation
paystack-python copied to clipboard

Feature Suggestion: Subscription --> Generate a link for updating the card on a subscription

Open sharhan-alhassan opened this issue 1 year ago • 1 comments


name: Subscription -- Generate a link for updating the card on a subscription about: Suggest an idea for this project title: 'Feature: Resource to Generate a link for updating the card on a subscription' labels: new feature ✨ assignees: ''


🙁 Is your feature request related to a problem? Please describe.

  • Paystack API currently has an endpoint to auto-generate a Link to be used to update subscription
  • You can update the subscription card details or choose to cancel the subscription from there
  • Resource implementation under "Generate a link for updating the card on a subscription"
  • This endpoint implementation is not captured in this paystack-python as of version 2.1.2 url="https://api.paystack.co/subscription/{code}/manage/link"

🤩 Describe the solution you'd like

  • Implement the resource that takes in the "subscription_code" as a path parameter
  • Response returns a Link to be used for updating the subscription

😑 Describe alternatives you've considered

  • Manually make requests to the source endpoint at url="https://api.paystack.co/subscription/{code}/manage/link"

Acceptance Criteria ✅ The following items should be accomplished to consider this feature complete

  • [x] Make a PR to solve this issue. PR opened #96
  • [x] Document the problem, process and resolution
  • [x] Write test cases for the problem

**Additional context (screenshots, explainer videos etc) ** None

sharhan-alhassan avatar Jul 25 '24 01:07 sharhan-alhassan

cc @andela-sjames

sharhan-alhassan avatar Jul 25 '24 01:07 sharhan-alhassan

This issue is resolved and closed

sharhan-alhassan avatar Jul 18 '25 16:07 sharhan-alhassan