Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add display_name and price to subscription and non_subscription #613

Merged
merged 1 commit into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions openapi-spec/api-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,10 @@ components:
items:
type: object
properties:
display_name:
type: string
description: The display name of the product as configured in the RevenueCat dashboard.
example: "Lifetime Access"
id:
type: string
example: cadba0c81b
Expand All @@ -995,6 +999,16 @@ components:
type: boolean
description: Whether or not the purchase was made in sandbox mode.
example: false
price:
type: object
description: The price of the transaction in the currency the product was purchased in.
properties:
amount:
type: number
example: 9.99
currency:
type: string
example: USD
purchase_date:
type: string
example: "2019-04-05T21:52:45Z"
Expand Down Expand Up @@ -1063,6 +1077,10 @@ components:
type: string
example: "2019-08-14T21:07:40Z"
description: Date when the subscription expires/expired (in ISO 8601 format).
display_name:
type: string
description: The display name of the product as configured in the RevenueCat dashboard.
example: "Monthly Subscription"
grace_period_expires_date:
type: string
example: "2019-08-14T21:07:40Z"
Expand Down Expand Up @@ -1091,6 +1109,16 @@ components:
- `trial`: The product is in a free trial period
- `intro`: The product is in an introductory pricing period
example: NORMAL
price:
type: object
description: The price of the transaction in the currency the product was purchased in. Can be 0 for free trials.
properties:
amount:
type: number
example: 9.99
currency:
type: string
example: USD
purchase_date:
type: string
description: Date when the last subscription period started (in ISO 8601 format).
Expand Down
Loading