Use GraphQL endpoint to purchase CI minutes (CustomersDot portal)
Problem
With the implementation of #5584, we will have a new GraphQL endpoint to add new products such as CI minutes and storage to a subscription.
The scope of this issue is to update the purchase of CI minutes frontend workflow in CustomersDot portal to consume this new endpoint.
Proposal
CI minutes can be purchased from subscription card in CustomersDot portal:
Screen_Recording_2023-02-10_at_10.15.19_AM
The API invocation in this workflow (https://customersdot-host/subscriptions/new?plan_id=ci-minutes-plan&subscription_id=subscription-name&transaction=ci_minutes) needs to be updated to use the new GraphQL API. Please refer to the payload details in this section.
To Do: Specific frontend implementation details pending.
Result
GraphQL endpoint is used when purchasing CI minutes from gitlab.com.