Buyout a subscription
Subscriptions
Buyout Subscription
Customer purchases the device, ending the subscription.
POST
Buyout a subscription
Overview
Process a buyout to convert a subscription into a purchase. The customer pays a buyout price and keeps the device permanently. This ends the subscription and transfers ownership of the asset.When to Offer Buyouts
| Scenario | Buyout Makes Sense |
|---|---|
| Near end of contract | Customer wants to keep device |
| Cost fully recovered | Asset is paid off, buyout is pure profit |
| Customer preference | Customer prefers ownership |
| Old inventory | Simplify operations by selling older devices |
Buyout Pricing
Before processing a buyout, calculate the price using Calculate Buyout. Buyout prices typically consider:- Remaining contract value: Unpaid months × monthly rate
- Residual value: Expected asset value at contract end
- Cost recovery status: How much you’ve already collected
Request Fields
| Field | Required | Description |
|---|---|---|
buyoutPrice | Yes | The buyout amount to charge |
effectiveDate | No | When ownership transfers (default: today) |
reason | No | Reason for buyout |
Example Request
What Happens
When you process a buyout:- Subscription status changes to
ended_buyout - Asset ownership transferred to customer
- Asset status changed to
soldorunavailable - Buyout details recorded on subscription
- Future payments cancelled
- Final invoice generated for buyout amount
Response Structure
Buyout Workflow
Example: End-to-End Buyout
Buyout vs Early Return
| Aspect | Buyout | Early Return |
|---|---|---|
| Device | Customer keeps | Device returned |
| Payment | Buyout price | Early return fee |
| Asset | Removed from inventory | Returns to inventory |
| Best for | Customer wants ownership | Customer done with device |
Error Handling
| Error Code | Cause | Solution |
|---|---|---|
SUBSCRIPTION_NOT_ACTIVE | Subscription is not active | Can only buyout active subscriptions |
INVALID_BUYOUT_PRICE | Buyout price must be positive | Provide valid price |
Related Endpoints
- Calculate Buyout - Get recommended buyout price
- Get Subscription - Check subscription details
- Early Return - Alternative: return device early
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Path Parameters
The subscription ID
Body
application/json