Skip to content

Return the current billing period with subscription metadata #8257

Description

@talissoncosta

The usage page can show how much of a plan has been used, but not when the allowance resets. The billing period is never returned, so there is nothing to put on screen.

Return the current period's start and end with the subscription metadata the page already fetches. Null where there is no billing term, which the page already handles.

Depends on #6099, which adds the calculation.

Done when the page can show which period someone is in, when it resets, and how long is left.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiIssue related to the REST API

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions