Renewal or upgrade user's package
The id of the package.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLAuth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEYRepresents a request to upgrade a package. This class extends the CalculateTotalPricePackageRequestDto to include additional properties specific to package upgrades
The ID of the package to calculate the total price for.
The ID of the app integration payment gateway to use for the calculation.
The coupon code to apply for the price calculation, if any.
The id of the app integration associated with the package upgrade. This property is optional and can be null if not applicable.
The ID of the wallet to refund if the proration amount exceeds the upgrade price. The refund will be processed to this wallet during the package upgrade.
The cancel link to redirect the user if the checkout process is canceled. If not provided, we will use the default cancel link configured in the system.
The return link to redirect the user after the checkout process is completed. If not provided, we will use the default return link configured in the system.
The request was successful.
This provides interfaces for API responses with data.
This is the flag to indicate whether the API call is successful or not.
This is the HTTP status code. This is used to determine the status code to be returned to the client.
This is the message to be displayed to the user.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
Last updated