---
title: "POST /api/subscription/addons/calculate-proration"
method: POST
path: "/api/subscription/addons/calculate-proration"
tags: ["Subscription"]
---

# POST /api/subscription/addons/calculate-proration

`POST /api/subscription/addons/calculate-proration`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/subscription/addons/calculate-proration`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Request body

- CalculateExtrasProration
  - `values` object, required
    - `Creators` integer
    - `PublishedStories` integer
    - `Languages` integer
    - `Characters` integer

## Response `200`

OK

- CalculateExtrasProrationResultDto
  - `currentDate` string, date-time, required
  - `billingPeriod` 'Monthly' | 'Annual', required
  - `billingCycleStartDate` string, date-time, required
  - `billingCycleEndDate` string, date-time, required
  - `values` object, required
    - `Creators` number, double
    - `PublishedStories` number, double
    - `Languages` number, double
    - `Characters` number, double
  - `totalPrice` number, double, required

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
