The Purchase controller is designed to manage and provide access to user purchase information within the marketplace. It includes several key endpoints:
- Get User's Purchases: Provides the /marketplace/purchaseendpoint to retrieve a list of the user's purchases, allowing for easy transaction tracking.
- Get Purchase Details by Product Code: Offers the /marketplace/purchase/{productCode}endpoint to obtain detailed information about purchases associated with a specific product code.
- Get Partner Redirect URL: Includes the /marketplace/purchase/{productCode}/redirectendpoint to access the partner redirect URL for completing a user's purchase of a product.
These endpoints collectively enhance the user's ability to manage and view their purchase history effectively.
