The subscriptions controller is designed to handle externally managed payments processes related to user subscriptions within the marketplace. It includes several key endpoints:
- Create User and User Access Token: Provides the
/api/oauth/userendpoint to create new user if ClientToken provider, or just identity if userToken provided for processing user subscription payments. - Create Subscription: Provides the
/api/purchase/subscription/oneClickendpoint for processing user subscription payments using a valid user access Token. - Cancel Subscription: Offers the
/api/subscription/{subscriptionId}endpoint for canceling a user’s subscription using a valid user access Token.
These endpoints collectively enhance the management of external subscription payments and user control over their payment processes.
