A user profile page should contain all functionality relating to payment. So it should allow the user to:
a. Log out (which means log out button on the top toolbar can be removed)
b. Check payment information, which should show the card that is saved via stripe (last 4 digits of the card and type like Visa, Mastercard, etc is the data we get from Stripe).
c. Check past orders, this should show the date and product that was purchased (kind of like past orders on amazon)
i. For these past orders there should be an option to request refund, or report an issue.
d. Check how much money is left over.
i. Since part of our pricing model is pay-as-you-go we need some visualization of how much money is leftover
ii. Should contain the option to top-up payment (this will take them to a 3rd party Stripe page)
Once you click the top up payment button, it should prompt you for an amount of money
Once you submit that amount of money, then it will navigate to Stripe page
iii. Should be some estimate of number of “questions” left alongside the amount of money left.
iv. Visual element in the chat page when the amount of money gets to zero, and a warning element when it nears 0.