Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Job Launcher] Billing system - Create Endpoint to List Payment Methods #2773

Closed
flopez7 opened this issue Nov 11, 2024 · 0 comments
Closed
Assignees

Comments

@flopez7
Copy link
Contributor

flopez7 commented Nov 11, 2024

Description
Create an endpoint to list all payment methods associated with the user by obtaining the userId from auth token and retrieving the user’s payment methods from Stripe.

Motivation
Allow users to view their stored payment methods conveniently.

Implementation details

  • Get userId from token and retrieve customerId from the user record.
  • Fetch payment methods linked to customerId from Stripe and return them.
@flopez7 flopez7 self-assigned this Nov 11, 2024
@flopez7 flopez7 moved this to Todo in Core-tech - 2024 Nov 11, 2024
@flopez7 flopez7 moved this from Todo to In Progress in Core-tech - 2024 Nov 13, 2024
@flopez7 flopez7 added this to the Abuse system M1 milestone Nov 13, 2024
@portuu3 portuu3 changed the title [Job Launcher] Abuse - Create Endpoint to List Payment Methods [Job Launcher] Billing system - Create Endpoint to List Payment Methods Nov 14, 2024
@flopez7 flopez7 moved this from In Progress to In Review in Core-tech - 2024 Nov 20, 2024
@portuu3 portuu3 closed this as completed Nov 28, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Core-tech - 2024 Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants