Download OpenAPI specification:Download
RevenueCat provides a REST API for developers to perform customer and transaction related actions from their own server.
Most of this API is geared toward client usage via RevenueCat’s SDK, but there are various endpoints that can be used for refunding purchases, granting promotional entitlements, and other sensitive actions that can only be done via a Secret API key from your server.
If you’re adding subscriptions or other in-app purchases to your app for the first time or if you don’t have a backend that stores your user’s receipts, you’re probably looking to implement the RevenueCat SDK.
If you want to start migrating your existing users to RevenueCat and you have your user’s receipts stored on your own server, or you want to check subscription status of your users from your own server, the REST API is a great solution.
Authentication for the RevenueCat REST API is achieved by setting the Authorization header with a valid API key. You'll find two types of API keys in your RevenueCat dashboard: public and secret.
Certain endpoints require secret keys, which should be kept out of any publicly accessible areas such as GitHub, client-side code, and so forth. See our Authentication guide for more information.
Authorization: Bearer YOUR_REVENUECAT_API_KEY
You can create a new secret API key in your project settings page > API keys. Select + New.

Give it a name, select V2 as the version, and set your permissions. Be sure to select Generate at the top right corner.

Each endpoint in this documentation will contain a description informing you which permissions are required.
The body of the POST requests should be encoded in JSON and have the 'Content-Type' header set to 'application/json'.
Content-Type: application/json
{
"app_user_id": "user-1456",
"fetch_token": "MQABC...EFH1234="
}
Top-level API resources have support for bulk fetches via "list" API methods. For instance, you can list products, list entitlements, and list offerings. These list API methods share a common structure, taking at least these two parameters: limit and starting_after.
When a response or a field contains multiple entities of the same type, it returns a list object of the following structure:
{
"object": "list",
"items": [{}],
"next_page": "LIST_BASE_URL?starting_after=LAST_ID",
"url": "LIST_BASE_URL"
}
Where…
url is the full path base URL of the list endpoint (i.e., if you make a request to this endpoint, you will get the first page), e.g. /v2/projects/{project_id}/productsnext_page is the URL for the next page, if there is one. If there is no next page, the next_page field will not be present. Example: /v2/projects/{project_id}/products?starting_after={last_id}items is an array of the entries of the list.The starting_after query parameter of list endpoints accepts the ID of the first list item that will not be part of the list (in other words, the ID of the last item of the previous page).
At the moment we only support forward pagination.
limit optional, default is 20
A limit on the number of objects to be returned.
starting_after optional
A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with foo, your subsequent call can include starting_after=foo in order to fetch the next page of the list.
API v2 uses rate limiting to prevent abuse. Rate limits are configured per domain, and all endpoints within the same domain share the same rate limit.
| Domain | Rate Limit (requests per minute) |
|---|---|
| Customer Information | 480 |
| Charts & Metrics | 5 |
| Project Configuration | 60 |
| Virtual Currencies - Create Transaction | 480 |
Each endpoint belongs to one of these domains. The rate limit applies per API key (for app-level keys) or per developer (for developer-level keys).
We will return the following headers on all successful requests:
RevenueCat-Rate-Limit-Current-Usage: the number of executed requests for the current rate limiting period, including the current request. The rate limiting period is one minute.RevenueCat-Rate-Limit-Current-Limit: the limit in requests per minute for this endpointIf you reach the rate limit, as indicated by a 429 error code, we will also include the following header:
Retry-After: the number of seconds to wait until you can retry this request.Below is an example of the response body that will be sent when the rate limit is reached. The value of the backoff_ms field corresponds to the `Retry-After`` header but specified in milliseconds.
{
"type": "rate_limit_error",
"message": "Rate limit exceeded",
"retryable": true,
"doc_url": "https://errors.rev.cat/rate-limit-error",
"backoff_ms": 1000
}
Expandables allow you to retrieve related data along with the request without making additional requests. Fields in the REST API will allow you to request additional information as an expanded response by using the expand query parameter.
For example, a product object will have an associated app_id field. This app_id field can be expanded in the same request with the expand query parameter and will include an app object in the response.
expand query param{
"object": "product",
"id": "prod1a2b3c4d5e",
"store_identifier": "rc_1w_199",
"type": "subscription",
"subscription": {
"duration": "P1M",
"grace_period_duration": "P3D",
"trial_duration": "P1W"
},
"created_at": 1658399423658,
"app_id": "app1a2b3c4"
}
expand query param:{
"object": "product",
"id": "prod1a2b3c4d5e",
"store_identifier": "rc_1w_199",
"type": "subscription",
"subscription": {
"duration": "P1M",
"grace_period_duration": "P3D",
"trial_duration": "P1W"
},
"created_at": 1658399423658,
"app_id": "app1a2b3c4",
"app": {
"id": "app1a2b3c4",
"name": "string",
"created_at": 1658399423658,
"type": "amazon",
"project_id": "proj1a2b3c4"
}
}
As you can see from above, the app_id field remains the same, but the response contains an additional app object.
Fields that can be expanded into objects are indicated in the endpoint documentation under Query Params and will list accepted values. Also, the required permissions to be defined in the API key are listed there.
RevenueCat uses standard HTTP status codes to indicate the success or failure of an API request. Codes in the 2XX range indicate the request was successful. 4XX codes indicate an error caused by the client. 5XX codes indicate an error in RevenueCat servers.
Successful modifications return the modified entity. Errors return the following fields:
{
"type": "parameter_error",
"param": "customer_id",
"message": "id is too long",
"retryable": false,
"doc_url": "https://errors.rev.cat/parameter-error"
}
For more information on the type field and how to resolve these errors, please visit our Error Types documentation.
| Code | Name | Description |
|---|---|---|
| 200 | OK | Processed as expected |
| 201 | Created | Entity was created |
| 202 | Accepted | Request acknowledged, but cannot be processed in real time (for instance, async job) |
| 204 | No content | The request was successful and there was no content that could be returned |
| 400 | Bad Request | Client error |
| 401 | Unauthorized | Not authenticated |
| 403 | Forbidden | Authorization failed |
| 404 | Not Found | No resource was found |
| 409 | Conflict | Uniqueness constraint violation |
| 418 | I'm a teapot | RevenueCat refuses to brew coffee |
| 422 | Unprocessable entity | The request was valid and the syntax correct, but we were unable to process the contained instructions. |
| 423 | Locked | The request conflicted with another ongoing request |
| 429 | Too Many Requests | Being rate limited |
| 500 | Internal Server Error | The RevenueCat server ran into an unexpected problem – please check the RevenueCat status page for any known outages and/or report the issue to RevenueCat support |
| 502 | Bad Gateway | Invalid response from an upstream server |
| 503 | Service Unavailable | There wasn’t a server to handle the request |
| 504 | Gateway Timeout | We could not get the response in time from the upstream server |
authentication_errorAuthentication is not valid for the given API key. Double check your API key.
authorization_errorThe API key does not belong the project you specified. Double check that your API key is associated with the IDs you are passing.
invalid_requestThis error can be due to several reasons:
Content-Type: application/json is missing in the request header for POST/PUT/PATCH requestsGET …/entitlements/<entitlements_id>/actions/attach_products)parameter_errorThe parameter provided is invalid. Please refer to the message field for more information.
entitlement_id, project_id, etc): 1 to 255 charactersdisplay_name(applies to Entitlements): 1 to 1000 characterslookup_key(applies to Entitlements): 1 to 200 charactersrate_limit_errorThe request has hit the rate limit for this endpoint. Refer to the backoff_ms field to determine how many milliseconds to wait before making another request to the same endpoint.
resource_missingThe resource with the specific ID does not exist. Double check the IDs (e.g: product ID, entitlement ID, etc) you are passing into the endpoints.
resource_already_existsThe resource with the specific ID already exists. Use a different, unique value for ID and try again.
resource_locked_errorThe resource is currently being modified by a concurrent request. Refer to the backoff_ms field to determine when to try again.
server_errorRequest is not able to be processed due to an internal server error. Refer to the backoff_ms field to determine when to try again. Please report this to the RevenueCat team if you are encountering this issue.
store_errorThere was a problem with the stores (e.g: Apple App Store, Google Play Store, etc). This typically occurs when the stores are unable to process the request. Refer to the backoff_ms field to determine when to try again.
unprocessable_entity_errorRequest is not able to be processed. Please refer to the message field for more information.
entity_references_archived_entitiesThe entity you are trying to make active references other entities that are currently inactive (archived). The referenced_object_ids field contains the IDs of the inactive entities that need to be made active before the operation can succeed. Make those entities active first, then retry the request.
In comparison to our v1 REST API, we have made changes to improve the organization and accessibility of your customers’ subscriptions. The data model used in the RevenueCat REST API v2 has several advantages. Firstly, it better abstracts differences between different app stores, making it easier for you to access your data without needing to understand the specificities and idiosyncrasies of each individual store.
Additionally, the REST API v2 subscription data model provides richer information regarding your subscription data and includes new fields such as:
gives_access: Rather than having to create your own logic to determine if a customer should have access, we will provide you with that information directly.auto_renewal_status: Previously you would have to use unsubscribe_detected_at, billing_issues_detected_at, and other fields to determine the auto renewal status of the customer, now we include this information to take away the estimation work.status: Gives you a quick and easy way to gather the status of the customer’s subscription to determine what state they are currently in.store_subscription_identifier: Whereas the old data model was missing the store’s subscription identifier (aka the transaction ID directly from the stores), we have included this new field to help identify your customer’s subscription.total_revenue_in_usd: You can easily determine how much a customer has spent for this subscription in USD and utilize it for your own bookkeeping purposes. This object also contains information such as gross, commission, tax, and proceeds to help you break down the customer’s revenue.To view more details of fields we have included for the subscription object, check out the model reference.
Eventually we will also expose this sort of information in webhooks and customer event details to incorporate the new data model throughout RevenueCat.
Different stores supported by RevenueCat have different logic to define what is a new subscription vs. a change to an existing subscription. To make it easier to handle subscriptions across different stores, the data model for the RevenueCat REST API v2 is now following a consistent definition of what continues the same subscription vs. a new one:











| object required | string Value: "subscription" String representing the object's type. Objects of the same type share the same value. | ||||||||||||||||||||||||||
| id required | string [ 1 .. 255 ] characters The ID of the subscription (generated by RevenueCat) | ||||||||||||||||||||||||||
| customer_id required | string [ 1 .. 1500 ] characters The ID of the customer | ||||||||||||||||||||||||||
| original_customer_id required | string [ 1 .. 1500 ] characters The ID of the original customer. Relevant for subscriptions that were transferred from one customer to another | ||||||||||||||||||||||||||
| product_id required | string or null [ 1 .. 255 ] characters The RevenueCat ID of the product that the customer is subscribed to. Exists for all store types except for promotional. | ||||||||||||||||||||||||||
| starts_at required | integer <int64> The date when the subscription originally started in ms since epoch | ||||||||||||||||||||||||||
| current_period_starts_at required | integer <int64> The date when the subscription billing period started in ms since epoch | ||||||||||||||||||||||||||
| current_period_ends_at required | integer or null <int64> The date when the subscription billing period is expected to end in ms since epoch. Can be null if the subscription is paused until an indefinite date. | ||||||||||||||||||||||||||
| ends_at required | integer or null <int64> The date when the latest subscription billing period is expected to end in ms since epoch. It will only be different from | ||||||||||||||||||||||||||
| gives_access required | boolean Determines whether the customer should currently be provided access to the entitlements associated with the subscription | ||||||||||||||||||||||||||
| pending_payment required | boolean Determines whether there is a pending payment associated with the subscription | ||||||||||||||||||||||||||
| auto_renewal_status required | string Enum: "will_renew" "will_not_renew" "will_change_product" "will_pause" "requires_price_increase_consent" "has_already_renewed" The auto renewal status of a subscription. | ||||||||||||||||||||||||||
| status required | string Enum: "trialing" "active" "expired" "in_grace_period" "in_billing_retry" "paused" "unknown" "incomplete" The status of a subscription. Please note that additional states might be added in the future. To determine whether or not a subscription currently provides access to any associated entitlements, use the gives_access field. | ||||||||||||||||||||||||||
required | MonetaryAmount (object) Total revenue generated by a subscription in USD | ||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||
| presented_offering_id required | string or null [ 1 .. 200 ] characters The ID of the offering the customer saw when purchasing the subscription | ||||||||||||||||||||||||||
required | object (EntitlementList) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
required | Environment (string) The store environment | ||||||||||||||||||||||||||
One of string (Environment) Enum: "production" "sandbox" The store environment | |||||||||||||||||||||||||||
| store required | string Enum: "amazon" "app_store" "mac_app_store" "play_store" "promotional" "stripe" "rc_billing" Store the subscription belongs to | ||||||||||||||||||||||||||
| store_subscription_identifier required | string [ 1 .. 255 ] characters The subscription identifier as per the store (e.g, for Apple App Store, the | ||||||||||||||||||||||||||
required | Ownership (string) Ownership of the subscription | ||||||||||||||||||||||||||
One of string (Ownership) Enum: "purchased" "family_shared" Ownership of the subscription | |||||||||||||||||||||||||||
object or null Indicates pending product changes. Present if the | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| country | string or null (Country) Enum: null "AF" "AL" "DZ" "AS" "AD" "AO" "AI" "AQ" "AG" … 240 more The country that the object is associated with, in ISO alpha 2 code | ||||||||||||||||||||||||||
| management_url required | string or null The URL to manage the subscription | ||||||||||||||||||||||||||
{- "object": "subscription",
- "id": "sub1ab2c3d4e5",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "starts_at": 1658399423658,
- "current_period_starts_at": 1658399423658,
- "current_period_ends_at": 1658399423658,
- "ends_at": 1658399423658,
- "gives_access": true,
- "pending_payment": true,
- "auto_renewal_status": "will_renew",
- "status": "trialing",
- "total_revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_subscription_identifier": 12345678,
- "ownership": "purchased",
- "pending_changes": {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
}, - "country": "US",
}This endpoint requires the following permission(s): project_configuration:apps:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| app_id required | string <= 255 characters Example: app1ab2c3d4 ID of the app |
{- "object": "list",
- "items": [
- {
- "object": "public_api_key",
- "id": "apikey12345",
- "key": "goog_1ab2c3d4",
- "environment": "production",
- "app_id": "app1a2b3c4",
- "created_at": 1658399423658
}
], - "next_page": "/v2/projects/projec1a2b3c4d/apps/app1a2b3c4d/public_api_keys?starting_after=pub1a2b3c4d",
- "url": "/v2/projects/projec1a2b3c4d/apps/app1a2b3c4d/public_api_keys"
}This endpoint requires the following permission(s): project_configuration:apps:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}
], - "next_page": "/v2/projects/projec1a2b3c4d/apps?starting_after=app1a2b3c4d",
- "url": "/v2/projects/projec1a2b3c4d/apps"
}This endpoint requires the following permission(s): project_configuration:apps:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| name required | string [ 1 .. 255 ] characters The name of the app | ||||
| type required | string The platform of the app. Mac App Store is disabled by default. See Legacy Mac Apps for more details. | ||||
required | object Amazon type details. Should only be used when type is amazon. | ||||
| |||||
{- "name": "My App Store App",
- "type": "app_store",
- "app_store": {
- "bundle_id": "com.apple.Pages",
- "shared_secret": "1234567890abcdef1234567890abcdef",
- "subscription_private_key": "-----BEGIN EC PRIVATE KEY-----\nMHQCAQEEIGAkwOF0qkGO19yJlIzQVcOg+HBfvLL4KDXDtL+MMHk2oAcGBSuBBAAK\noUQDQgAEhDP7RaX4c6qOHkE1nIWMr5C90ybtr87VRGFm4VsfWqG47NPN+/dHcfwJ\nJPZGFgMcgvBc37AxQPPQjyXYjhhQDg==\n-----END EC PRIVATE KEY-----",
- "subscription_key_id": "6345942CC3",
- "subscription_key_issuer": "5a049d62-1b9b-453c-b605-1988189d8129"
}
}{- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}This endpoint requires the following permission(s): project_configuration:apps:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| app_id required | string <= 255 characters Example: app1ab2c3d4 ID of the app |
{- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}This endpoint requires the following permission(s): project_configuration:apps:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| app_id required | string <= 255 characters Example: app1ab2c3d4 ID of the app |
| name | string [ 1 .. 255 ] characters The name of the app | ||||||||||||||||||
object Amazon type details. Should only be used when type is amazon. | |||||||||||||||||||
| |||||||||||||||||||
object App Store type details. Should only be used when type is app_store. | |||||||||||||||||||
| |||||||||||||||||||
object Legacy Mac App Store type details. Should only be used when type is mac_app_store. | |||||||||||||||||||
| |||||||||||||||||||
object Play Store type details. Should only be used when type is play_store. | |||||||||||||||||||
| |||||||||||||||||||
object Stripe type details. Should only be used when type is stripe. | |||||||||||||||||||
| |||||||||||||||||||
object Web Billing type details. Should only be used when type is rc_billing. | |||||||||||||||||||
| |||||||||||||||||||
object Roku Channel Store type details. Should only be used when type is roku. | |||||||||||||||||||
| |||||||||||||||||||
object Paddle Billing type details. Should only be used when type is paddle. | |||||||||||||||||||
| |||||||||||||||||||
{- "name": "New App name",
- "app_store": {
- "bundle_id": "com.my.new-app",
- "shared_secret": "1234567890abcdef1234567890abcdef"
}
}{- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}This endpoint requires the following permission(s): project_configuration:apps:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| app_id required | string <= 255 characters Example: app1ab2c3d4 ID of the app |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:apps:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| app_id required | string <= 255 characters Example: app1ab2c3d4 ID of the app |
{- "object": "store_kit_config_file",
- "contents": { }
}This endpoint requires the following permission(s): project_configuration:audit_logs:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=log1ab2c3d4e5 Cursor for pagination. Returns audit logs after the specified audit log ID, using descending order by audit log ID. |
| start_date | string <date> Example: start_date=2024-01-01 Start date for the data range (ISO 8601 format) |
| end_date | string <date> Example: end_date=2024-12-31 End date for the data range (ISO 8601 format) |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "audit_log",
- "id": "log1ab2c3d4e5",
- "project_id": "proj1ab2c3d4",
- "action_type": "project_name_updated",
- "target_type": "project",
- "target_identifier": "proj1ab2c3d4",
- "actor_type": "user",
- "actor_identifier": "user_abc123",
- "occurred_at": 1713297600000,
- "additional_data": { }
}
], - "next_page": "/v2/projects/proj1ab2c3d4/audit_logs?starting_after=log1ab2c3d4e5",
- "url": "/v2/projects/proj1ab2c3d4/audit_logs"
}This endpoint requires the following permission(s): charts_metrics:overview:read. This endpoint belongs to the Charts & Metrics domain, which has a default rate limit of 15 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| currency | string Enum: "USD" "EUR" "GBP" "AUD" "CAD" "JPY" "BRL" "KRW" "CNY" "MXN" … 2 more Example: currency=EUR The currency to return metrics data in |
{- "object": "overview_metrics",
- "metrics": [
- {
- "object": "overview_metric",
- "id": "active_trials",
- "name": "Active Trials",
- "description": "string",
- "unit": "$",
- "period": "P0D",
- "value": 34765,
- "last_updated_at": 1658399423658,
- "last_updated_at_iso8601": "2022-10-13 09:45:00.123000+00:00"
}
]
}Returns time-series data for a specific chart.
Response Structure
The response includes:
Chart Types
Different charts may return data in slightly different formats:
Filtering and Segmentation
Use the /charts/{chart_name}/options endpoint to discover available
filters and segments for a specific chart before making requests.
Filter parameters vary by chart and can be passed as additional query parameters.
Aggregation
Use aggregate to request summary-only output for supported charts.
When aggregate is provided, values is returned as an empty array and
summary includes only the requested aggregate operations.
Incomplete data
For the most recent periods, data may be flagged as incomplete, and may not be appropriate to use for analysis.
This endpoint requires the following permission(s): charts_metrics:charts:read. This endpoint belongs to the Charts & Metrics domain, which has a default rate limit of 15 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| chart_name required | string <= 255 characters Enum: "actives" "actives_movement" "actives_new" "arr" "churn" "cohort_explorer" "conversion_to_paying" "customers_new" "ltv_per_customer" "ltv_per_paying_customer" … 11 more Example: revenue Name of the chart to retrieve. |
| realtime | boolean Default: true Whether to request real-time (v3) charts. Defaults to true. Set to false to request the v2 charts. |
| filters | string Example: filters=[{"name":"country","values":["US","UK"]}] JSON array of chart filters. Each filter is a ChartFilter object. |
| selectors | string Example: selectors={"conversion_timeframe":"7_days","revenue_type":"proceeds"} JSON object of chart selectors. |
| aggregate | Array of strings non-empty unique Items Enum: "average" "total" Example: aggregate=average,total Comma-separated aggregate operations to return in |
| currency | string Enum: "USD" "EUR" "GBP" "AUD" "CAD" "JPY" "BRL" "KRW" "CNY" "MXN" … 2 more Example: currency=EUR The currency to return metrics data in |
| resolution | string Example: resolution=0 Time resolution for the chart data. Use the chart options endpoint to discover available resolutions and their IDs. |
| start_date | string <date> Example: start_date=2024-01-01 Start date for the data range (ISO 8601 format) |
| end_date | string <date> Example: end_date=2024-12-31 End date for the data range (ISO 8601 format) |
| segment | string Example: segment=country Segment the data by this dimension. Use the chart options endpoint to discover available segments for a chart. |
{- "object": "chart_data",
- "category": "revenue",
- "display_type": "line",
- "display_name": "Revenue",
- "description": "string",
- "documentation_link": "string",
- "last_computed_at": 0,
- "start_date": 0,
- "end_date": 0,
- "yaxis_currency": "USD",
- "filtering_allowed": true,
- "segmenting_allowed": true,
- "resolution": "day",
- "values": [
- [
- 0
]
], - "summary": { },
- "yaxis": "$",
- "segments": [
- {
- "id": "string",
- "display_name": "string"
}
], - "segments_limit": 0,
- "measures": [
- { }
], - "user_selectors": {
- "property1": "string",
- "property2": "string"
}, - "unsupported_params": {
- "filters": [
- "string"
], - "segment": "string"
}
}Returns configuration options for a specific chart.
Use this endpoint to discover:
The options returned are specific to the chart and may vary based on your project's data and configuration.
Usage
Call this endpoint before requesting chart data to:
charts_metrics:charts:read. This endpoint belongs to the Charts & Metrics domain, which has a default rate limit of 15 requests per minute.| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| chart_name required | string <= 255 characters Enum: "actives" "actives_movement" "actives_new" "arr" "churn" "cohort_explorer" "conversion_to_paying" "customers_new" "ltv_per_customer" "ltv_per_paying_customer" … 11 more Example: revenue Name of the chart to retrieve. |
| realtime | boolean Default: true Whether to request real-time (v3) charts. Defaults to true. Set to false to request the v2 charts. |
{- "object": "chart_options",
- "resolutions": [
- {
- "id": "0",
- "display_name": "day"
}, - {
- "id": "1",
- "display_name": "week"
}, - {
- "id": "2",
- "display_name": "month"
}
], - "segments": [
- {
- "id": "country",
- "display_name": "Country",
- "group_display_name": "Geography"
}
], - "filters": [
- {
- "id": "country",
- "display_name": "Country",
- "group_display_name": "Geography",
- "options": [
- {
- "id": "US",
- "display_name": "United States"
}
]
}
], - "user_selectors": {
- "property1": {
- "default": "string",
- "display_name": "string",
- "options": [
- {
- "id": "string",
- "display_name": "string"
}
]
}, - "property2": {
- "default": "string",
- "display_name": "string",
- "options": [
- {
- "id": "string",
- "display_name": "string"
}
]
}
}
}This endpoint requires the following permission(s): project_configuration:collaborators:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "collaborator",
- "id": "collab1a2b3c4d5",
- "name": "John Doe",
- "email": "john.doe@example.com",
- "role": "admin",
- "accepted_at": 1658399423658,
- "has_mfa": true
}
], - "next_page": "/v2/projects/proj1ab2c3d4/collaborators?starting_after=collab1a2b3c4d5",
- "url": "/v2/projects/proj1ab2c3d4/collaborators"
}This endpoint requires the following permission(s): customer_information:customers:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
| search | string [ 1 .. 255 ] characters Example: search=example@example.com Search term. Currently, only searching by email is supported (searching for exact matches in the $email attribute). |
{- "object": "list",
- "items": [
- {
- "object": "customer",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "project_id": "proj1ab2c3d4",
- "first_seen_at": 1658399423658,
- "last_seen_at": 1658399423658,
- "last_seen_app_version": "1.0.0",
- "last_seen_country": "US",
- "last_seen_platform": "android",
- "last_seen_platform_version": "35",
- "active_entitlements": {
- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}, - "experiment": {
- "object": "experiment_enrollment",
- "id": "string",
- "name": "string",
- "variant": "a"
}, - "attributes": {
- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}
}
], - "next_page": "/v2/projects/projec1a2b3c4d/customers?starting_after=223xx1100",
- "url": "/v2/projects/projec1a2b3c4d/customers"
}This endpoint requires the following permission(s): customer_information:customers:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| id required | string [ 1 .. 1500 ] characters ^[0-9a-zA-Z_-]*$ The ID of the customer | ||||
Array of objects <= 50 characters | |||||
Array
| |||||
{- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "attributes": [
- {
- "name": "$email",
- "value": "cat@revenuecat.com"
}
]
}{- "object": "customer",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "project_id": "proj1ab2c3d4",
- "first_seen_at": 1658399423658,
- "last_seen_at": 1658399423658,
- "last_seen_app_version": "1.0.0",
- "last_seen_country": "US",
- "last_seen_platform": "android",
- "last_seen_platform_version": "35",
- "active_entitlements": {
- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}, - "experiment": {
- "object": "experiment_enrollment",
- "id": "string",
- "name": "string",
- "variant": "a"
}, - "attributes": {
- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}
}This endpoint requires the following permission(s): customer_information:customers:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "attributes" Example: expand=attributes Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "customer",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "project_id": "proj1ab2c3d4",
- "first_seen_at": 1658399423658,
- "last_seen_at": 1658399423658,
- "last_seen_app_version": "1.0.0",
- "last_seen_country": "US",
- "last_seen_platform": "android",
- "last_seen_platform_version": "35",
- "active_entitlements": {
- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}, - "experiment": {
- "object": "experiment_enrollment",
- "id": "string",
- "name": "string",
- "variant": "a"
}, - "attributes": {
- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}
}This endpoint requires the following permission(s): customer_information:customers:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
{- "object": "customer",
- "id": "b5b7bfd2-66fb-4091-af50-7c3cdccfdf24",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): customer_information:customers:read_write, customer_information:subscriptions:read_write, customer_information:purchases:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| target_customer_id required | string The ID of the customer to whom the subscriptions and one-time purchases will be transferred. |
| app_ids | Array of strings or null[ items [ 1 .. 255 ] characters ] Optional. The IDs of the apps to filter the transfer by. When specified, only purchases and subscriptions associated with these apps will be transferred. |
{- "target_customer_id": "string",
- "app_ids": [
- "appa2b3c4d5e"
]
}{- "source_customer": {
- "object": "customer",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "project_id": "proj1ab2c3d4",
- "first_seen_at": 1658399423658,
- "last_seen_at": 1658399423658,
- "last_seen_app_version": "1.0.0",
- "last_seen_country": "US",
- "last_seen_platform": "android",
- "last_seen_platform_version": "35",
- "active_entitlements": {
- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}, - "experiment": {
- "object": "experiment_enrollment",
- "id": "string",
- "name": "string",
- "variant": "a"
}, - "attributes": {
- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}
}, - "target_customer": {
- "object": "customer",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "project_id": "proj1ab2c3d4",
- "first_seen_at": 1658399423658,
- "last_seen_at": 1658399423658,
- "last_seen_app_version": "1.0.0",
- "last_seen_country": "US",
- "last_seen_platform": "android",
- "last_seen_platform_version": "35",
- "active_entitlements": {
- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}, - "experiment": {
- "object": "experiment_enrollment",
- "id": "string",
- "name": "string",
- "variant": "a"
}, - "attributes": {
- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}
}
}Grants an entitlement to a customer unless one already exists. As a side effect, a promotional subscription is created. This endpoint requires the following permission(s): customer_information:customers:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| entitlement_id required | string [ 1 .. 255 ] characters The ID of the entitlement to grant to the customer. |
| expires_at required | integer <int64> The date after which the access to the entitlement expires in ms since epoch. |
{- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}{- "object": "customer",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "project_id": "proj1ab2c3d4",
- "first_seen_at": 1658399423658,
- "last_seen_at": 1658399423658,
- "last_seen_app_version": "1.0.0",
- "last_seen_country": "US",
- "last_seen_platform": "android",
- "last_seen_platform_version": "35",
- "active_entitlements": {
- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}, - "experiment": {
- "object": "experiment_enrollment",
- "id": "string",
- "name": "string",
- "variant": "a"
}, - "attributes": {
- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}
}Revokes a granted entitlement from a customer. As a side effect, the promotional subscription associated with the granted entitlement is expired. This endpoint requires the following permission(s): customer_information:customers:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| entitlement_id required | string [ 1 .. 255 ] characters The ID of the granted entitlement to revoke from the customer. |
{- "entitlement_id": "entla1b2c3d4e5"
}{- "object": "customer",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "project_id": "proj1ab2c3d4",
- "first_seen_at": 1658399423658,
- "last_seen_at": 1658399423658,
- "last_seen_app_version": "1.0.0",
- "last_seen_country": "US",
- "last_seen_platform": "android",
- "last_seen_platform_version": "35",
- "active_entitlements": {
- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}, - "experiment": {
- "object": "experiment_enrollment",
- "id": "string",
- "name": "string",
- "variant": "a"
}, - "attributes": {
- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}
}This endpoint requires the following permission(s): project_configuration:offerings:read, customer_information:customers:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| offering_id required | string or null [ 1 .. 255 ] characters The ID of the offering to assign to the customer. Set to null to clear any existing override. |
{- "offering_id": "offrng1b2c3d4e5"
}{- "object": "error",
- "type": "parameter_error",
- "param": "customer_id",
- "message": "id is too long",
- "retryable": false,
}This endpoint requires the following permission(s): customer_information:subscriptions:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| environment | string Enum: "sandbox" "production" Example: environment=production |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "subscription",
- "id": "sub1ab2c3d4e5",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "starts_at": 1658399423658,
- "current_period_starts_at": 1658399423658,
- "current_period_ends_at": 1658399423658,
- "ends_at": 1658399423658,
- "gives_access": true,
- "pending_payment": true,
- "auto_renewal_status": "will_renew",
- "status": "trialing",
- "total_revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": null,
- "grace_period_duration": null,
- "trial_duration": null
}, - "one_time": {
- "is_consumable": null
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": null,
- "id": null,
- "name": null,
- "created_at": null,
- "type": null,
- "project_id": null,
- "amazon": { },
- "app_store": { },
- "mac_app_store": { },
- "play_store": { },
- "stripe": { },
- "rc_billing": { },
- "roku": { },
- "paddle": { }
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_subscription_identifier": 12345678,
- "ownership": "purchased",
- "pending_changes": {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
}, - "country": "US",
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/subscriptions?starting_after=sub1a2b3c4d",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/subscriptions"
}This endpoint requires the following permission(s): customer_information:purchases:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| environment | string Enum: "sandbox" "production" Example: environment=production |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "purchase",
- "id": "purch1a2b3c4d5e",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "purchased_at": 1658399423658,
- "revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "quantity": 1,
- "status": "owned",
- "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": null,
- "grace_period_duration": null,
- "trial_duration": null
}, - "one_time": {
- "is_consumable": null
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": null,
- "id": null,
- "name": null,
- "created_at": null,
- "type": null,
- "project_id": null,
- "amazon": { },
- "app_store": { },
- "mac_app_store": { },
- "play_store": { },
- "stripe": { },
- "rc_billing": { },
- "roku": { },
- "paddle": { }
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_purchase_identifier": 12345678,
- "ownership": "purchased",
- "country": "US"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/purchases?starting_after=purc1a2b3c4d5e",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/purchases"
}This endpoint requires the following permission(s): customer_information:customers:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "customer.active_entitlement",
- "entitlement_id": "entla1b2c3d4e5",
- "expires_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/active_entitlements"
}This endpoint requires the following permission(s): customer_information:customers:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "customer.alias",
- "id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "created_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/aliases?starting_after=9fjeja8fjed",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/aliases"
}This endpoint requires the following permission(s): customer_information:purchases:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| include_empty_balances | boolean Example: include_empty_balances=true |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "virtual_currency_balance",
- "currency_code": "string",
- "balance": 0,
- "description": "string",
- "name": "string"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies?starting_after=9fjeja8fjed",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies"
}This endpoint requires the following permission(s): customer_information:purchases:read_write. This endpoint belongs to the Virtual Currencies - Create Transaction domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| include_empty_balances | boolean Example: include_empty_balances=true |
| Idempotency-Key | string Example: 1234-5678-9101-1121 This is an optional idempotency key to ensure exactly once execution of the request. |
required | object The adjustments to the virtual currencies | ||
| |||
| reference | string or null The reference of the transaction | ||
{- "adjustments": {
- "property1": 0,
- "property2": 0
}, - "reference": "string"
}{- "object": "list",
- "items": [
- {
- "object": "virtual_currency_balance",
- "currency_code": "string",
- "balance": 0,
- "description": "string",
- "name": "string"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies?starting_after=9fjeja8fjed",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies"
}This endpoint requires the following permission(s): customer_information:purchases:read_write. This endpoint belongs to the Virtual Currencies - Create Transaction domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| include_empty_balances | boolean Example: include_empty_balances=true |
| Idempotency-Key | string Example: 1234-5678-9101-1121 This is an optional idempotency key to ensure exactly once execution of the request. |
required | object The adjustments to the virtual currencies | ||
| |||
| reference | string or null The reference of the transaction | ||
{- "adjustments": {
- "property1": 0,
- "property2": 0
}, - "reference": "string"
}{- "object": "list",
- "items": [
- {
- "object": "virtual_currency_balance",
- "currency_code": "string",
- "balance": 0,
- "description": "string",
- "name": "string"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies?starting_after=9fjeja8fjed",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/virtual_currencies"
}This endpoint requires the following permission(s): customer_information:customers:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}This endpoint requires the following permission(s): customer_information:customers:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
required | Array of objects [ 1 .. 50 ] items | ||||
Array ([ 1 .. 50 ] items)
| |||||
{- "attributes": [
- {
- "name": "$email",
- "value": "support@revenuecat.com"
}, - {
- "name": "$displayName",
- "value": "John Appleseed"
}, - {
- "name": "my_custom_attr",
- "value": "custom value"
}
]
}{- "object": "list",
- "items": [
- {
- "object": "customer.attribute",
- "name": "$email",
- "value": "garfield@revenuecat.com",
- "updated_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes?starting_after=myCustomAttribute",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/attributes"
}This endpoint requires the following permission(s): project_configuration:entitlements:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "product" Example: expand=product Specifies which fields in the response should be expanded.
Accepted values are: |
{- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:entitlements:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
| display_name required | string [ 1 .. 1500 ] characters The display name of the entitlement |
{- "display_name": "Premium"
}{- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:entitlements:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:entitlements:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "items.product" Example: expand=items.product Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements"
}This endpoint requires the following permission(s): project_configuration:entitlements:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| lookup_key required | string [ 1 .. 200 ] characters The identifier of the entitlement |
| display_name required | string [ 1 .. 1500 ] characters The display name of the entitlement |
{- "lookup_key": "premium",
- "display_name": "Premium access to all features"
}{- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:entitlements:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entla1b2c3d4e5/products?starting_after=prod1a2b3c4d5",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entla1b2c3d4e5/products"
}This endpoint requires the following permission(s): project_configuration:entitlements:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
{- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:entitlements:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
{- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:entitlements:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
| product_ids required | Array of strings [ 1 .. 50 ] characters [ items [ 1 .. 255 ] characters ] IDs of the products to be attached to the entitlement. |
{- "product_ids": [
- "prod1a2b3c4d5e"
]
}{- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:entitlements:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| entitlement_id required | string [ 1 .. 255 ] characters Example: entla1b2c3d4e5 ID of the entitlement |
| product_ids required | Array of strings [ 1 .. 50 ] characters [ items [ 1 .. 255 ] characters ] IDs of the products to be detached from the entitlement. |
{- "product_ids": [
- "prod1a2b3c4d5e"
]
}{- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:offerings:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 255 ] characters Example: ofrnge1a2b3c4d5 ID of the offering |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Enum: "package" "package.product" Example: expand=package Specifies which fields in the response should be expanded.
Accepted values are: |
{- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": null
}, - "app_store": {
- "bundle_id": null
}, - "mac_app_store": {
- "bundle_id": null
}, - "play_store": {
- "package_name": null
}, - "stripe": {
- "stripe_account_id": null
}, - "rc_billing": {
- "stripe_account_id": null,
- "seller_company_name": null,
- "app_name": null,
- "seller_company_support_email": null,
- "support_email": null,
- "default_currency": null
}, - "roku": {
- "roku_channel_id": null,
- "roku_channel_name": null
}, - "paddle": {
- "paddle_is_sandbox": null,
- "paddle_api_key": null
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}This endpoint requires the following permission(s): project_configuration:offerings:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 255 ] characters Example: ofrnge1a2b3c4d5 ID of the offering |
| display_name | string [ 1 .. 1500 ] characters The display name of the offering | ||
| is_current | boolean Indicates if the offering is the current offering | ||
object or null (OfferingMetadata) Custom metadata of the offering | |||
| |||
{- "display_name": "premium access to features",
- "is_current": true,
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}
}{- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": null
}, - "app_store": {
- "bundle_id": null
}, - "mac_app_store": {
- "bundle_id": null
}, - "play_store": {
- "package_name": null
}, - "stripe": {
- "stripe_account_id": null
}, - "rc_billing": {
- "stripe_account_id": null,
- "seller_company_name": null,
- "app_name": null,
- "seller_company_support_email": null,
- "support_email": null,
- "default_currency": null
}, - "roku": {
- "roku_channel_id": null,
- "roku_channel_name": null
}, - "paddle": {
- "paddle_is_sandbox": null,
- "paddle_api_key": null
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}This endpoint requires the following permission(s): project_configuration:offerings:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 255 ] characters Example: ofrnge1a2b3c4d5 ID of the offering |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:offerings:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 255 ] characters Example: ofrnge1a2b3c4d5 ID of the offering |
{- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": null
}, - "app_store": {
- "bundle_id": null
}, - "mac_app_store": {
- "bundle_id": null
}, - "play_store": {
- "package_name": null
}, - "stripe": {
- "stripe_account_id": null
}, - "rc_billing": {
- "stripe_account_id": null,
- "seller_company_name": null,
- "app_name": null,
- "seller_company_support_email": null,
- "support_email": null,
- "default_currency": null
}, - "roku": {
- "roku_channel_id": null,
- "roku_channel_name": null
}, - "paddle": {
- "paddle_is_sandbox": null,
- "paddle_api_key": null
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}This endpoint requires the following permission(s): project_configuration:offerings:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 255 ] characters Example: ofrnge1a2b3c4d5 ID of the offering |
| unarchive_referenced_entities | boolean Default: false If true, also unarchive any archived products referenced by this offering's packages. |
{- "unarchive_referenced_entities": false
}{- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": null
}, - "app_store": {
- "bundle_id": null
}, - "mac_app_store": {
- "bundle_id": null
}, - "play_store": {
- "package_name": null
}, - "stripe": {
- "stripe_account_id": null
}, - "rc_billing": {
- "stripe_account_id": null,
- "seller_company_name": null,
- "app_name": null,
- "seller_company_support_email": null,
- "support_email": null,
- "default_currency": null
}, - "roku": {
- "roku_channel_id": null,
- "roku_channel_name": null
}, - "paddle": {
- "paddle_is_sandbox": null,
- "paddle_api_key": null
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}This endpoint requires the following permission(s): project_configuration:offerings:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Enum: "items.package" "items.package.product" Example: expand=items.package Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": null,
- "object": null,
- "id": null,
- "store_identifier": null,
- "type": null,
- "subscription": null,
- "one_time": null,
- "created_at": null,
- "app_id": null,
- "app": null,
- "display_name": null
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings?starting_after=ofrngeab21da",
- "url": "/v2/projects/proj1ab2c3d4/offerings"
}This endpoint requires the following permission(s): project_configuration:offerings:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| lookup_key required | string [ 1 .. 200 ] characters The custom identifier of the offering | ||
| display_name required | string [ 1 .. 1500 ] characters The display_name of the offering | ||
object or null (OfferingMetadata) Custom metadata of the offering | |||
| |||
{- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}
}{- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": null
}, - "app_store": {
- "bundle_id": null
}, - "mac_app_store": {
- "bundle_id": null
}, - "play_store": {
- "package_name": null
}, - "stripe": {
- "stripe_account_id": null
}, - "rc_billing": {
- "stripe_account_id": null,
- "seller_company_name": null,
- "app_name": null,
- "seller_company_support_email": null,
- "support_email": null,
- "default_currency": null
}, - "roku": {
- "roku_channel_id": null,
- "roku_channel_name": null
}, - "paddle": {
- "paddle_is_sandbox": null,
- "paddle_api_key": null
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}This endpoint requires the following permission(s): project_configuration:packages:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| package_id required | string [ 1 .. 255 ] characters Example: pkge1a2b3c4d5 ID of the package |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "product" Example: expand=product Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:packages:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| package_id required | string [ 1 .. 255 ] characters Example: pkge1a2b3c4d5 ID of the package |
| display_name | string [ 1 .. 1500 ] characters The display name of the package |
| position | integer >= 1 The position of the package within the offering |
{- "display_name": "monthly with one-week trial",
- "position": 2
}{- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:packages:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| package_id required | string [ 1 .. 255 ] characters Example: pkge1a2b3c4d5 ID of the package |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:packages:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 255 ] characters Example: ofrnge1a2b3c4d5 ID of the offering |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "items.product" Example: expand=items.product Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}This endpoint requires the following permission(s): project_configuration:packages:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 255 ] characters Example: ofrnge1a2b3c4d5 ID of the offering |
| lookup_key required | string [ 1 .. 200 ] characters The lookup_key of the package |
| display_name required | string [ 1 .. 1500 ] characters The display name of the package |
| position | integer The position of the package in the offering |
{- "lookup_key": "monthly",
- "display_name": "monthly with one-week trial",
- "position": 1
}{- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:packages:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| package_id required | string [ 1 .. 255 ] characters Example: pkge1a2b3c4d5 ID of the package |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/packages/pkge1a2b3c4d5/products?starting_after=prod1a2b3c4d5",
- "url": "/v2/projects/proj1ab2c3d4/packages/pkge1a2b3c4d5/products"
}This endpoint requires the following permission(s): project_configuration:packages:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| package_id required | string [ 1 .. 255 ] characters Example: pkge1a2b3c4d5 ID of the package |
required | Array of objects (PackageProductIDAssociation) [ 1 .. 50 ] characters Product association list | ||||
Array
| |||||
{- "products": [
- {
- "product_id": "prod1a2b3c4d5e",
- "eligibility_criteria": "all"
}
]
}{- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:packages:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| package_id required | string [ 1 .. 255 ] characters Example: pkge1a2b3c4d5 ID of the package |
| product_ids required | Array of strings [ 1 .. 50 ] characters [ items [ 1 .. 255 ] characters ] IDs of the products to detach from the package |
{- "product_ids": [
- "prod1a2b3c4d5e"
]
}{- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}This endpoint requires the following permission(s): project_configuration:products:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| product_id required | string [ 1 .. 255 ] characters Example: prod1a2b3c4d5 ID of the product |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "app" Example: expand=app Specifies which fields in the response should be expanded.
Accepted values are: |
{- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}This endpoint requires the following permission(s): project_configuration:products:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| product_id required | string [ 1 .. 255 ] characters Example: prod1a2b3c4d5 ID of the product |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Specifies which fields in the response should be expanded. |
| display_name | string <= 1500 characters The display name of the product |
{- "display_name": "string"
}{- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}This endpoint requires the following permission(s): project_configuration:products:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| product_id required | string [ 1 .. 255 ] characters Example: prod1a2b3c4d5 ID of the product |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:products:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| product_id required | string [ 1 .. 255 ] characters Example: prod1a2b3c4d5 ID of the product |
{- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}This endpoint requires the following permission(s): project_configuration:products:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| product_id required | string [ 1 .. 255 ] characters Example: prod1a2b3c4d5 ID of the product |
{- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}Push a product to the App Store.
For subscription products: You must provide store information including duration and subscription group details.
For in-app purchase products (consumable, non-consumable, non-renewing subscription): No request body is required.
This endpoint requires the following permission(s): project_configuration:products:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| product_id required | string [ 1 .. 255 ] characters Example: prod1a2b3c4d5 ID of the product |
Store-specific information. Only required for subscription products. For in-app purchase products, send an empty body or omit the request body entirely.
CreateAppStoreConnectSubscriptionInput (object) or CreateAppStoreConnectInAppPurchaseInput (object) Store-specific information for creating the product in the store | |||||||
One of
| |||||||
{- "store_information": {
- "duration": "ONE_MONTH",
- "subscription_group_name": "Premium Subscriptions",
- "subscription_group_id": "sub_group_123"
}
}{- "created_product": {
- "object": "store_product",
- "id": 1234567890,
- "name": "Premium Monthly Subscription",
- "product_identifier": "com.example.premium_monthly"
}
}This endpoint requires the following permission(s): project_configuration:products:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| app_id | string Example: app_id=app1a2b3c4 This is an optional query parameter to get a list of products of a given entitlement associated with a particular app |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "items.app" Example: expand=items.app Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/products"
}project_configuration:products:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| store_identifier required | string [ 1 .. 200 ] characters The store identifier of the product.
| ||
| app_id required | string [ 1 .. 255 ] characters The ID of the app | ||
| type required | string (ProductType) Enum: "subscription" "one_time" "consumable" "non_consumable" "non_renewing_subscription" | ||
| display_name | string or null [ 1 .. 1500 ] characters The display name of the product | ||
object or null (ProductSubscriptionInput) Subscription parameters for product creation. Only supported for simulated store products. | |||
| |||
| title | string or null [ 1 .. 1500 ] characters The user-facing title of the product. This field is required for Test Store products. | ||
{- "store_identifier": "com.revenuecat.magicweather.monthly9.99",
- "app_id": "app1a2b3c4",
- "type": "subscription",
- "display_name": "Premium Monthly 2023"
}{- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}This endpoint requires the following permission(s): project_configuration:virtual_currencies:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "virtual_currency",
- "project_id": "proj1ab2c3d4",
- "code": "GLD",
- "name": "Gold",
- "created_at": 1658399423658,
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "object": "virtual_currency.product_grant",
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}
], - "next_page": "/v2/projects/proj1ab2c3d4/virtual_currencies?starting_after=GLD",
- "url": "/v2/projects/proj1ab2c3d4/virtual_currencies"
}This endpoint requires the following permission(s): project_configuration:virtual_currencies:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| code required | string [ 1 .. 10 ] characters ^[a-zA-Z0-9_]+$ The unique code for this virtual currency | ||||||||
| name required | string [ 1 .. 50 ] characters The display name of the virtual currency | ||||||||
| description | string or null [ 1 .. 1500 ] characters Description of the virtual currency | ||||||||
Array of objects or null (VirtualCurrencyProductGrantInput) Product grants that define how products grant this virtual currency | |||||||||
Array
| |||||||||
{- "code": "GLD",
- "name": "Gold",
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}{- "state": "active",
- "object": "virtual_currency",
- "project_id": "proj1ab2c3d4",
- "code": "GLD",
- "name": "Gold",
- "created_at": 1658399423658,
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "object": "virtual_currency.product_grant",
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}This endpoint requires the following permission(s): project_configuration:virtual_currencies:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| virtual_currency_code required | string [ 1 .. 10 ] characters ^[a-zA-Z0-9_]+$ The virtual currency code |
{- "state": "active",
- "object": "virtual_currency",
- "project_id": "proj1ab2c3d4",
- "code": "GLD",
- "name": "Gold",
- "created_at": 1658399423658,
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "object": "virtual_currency.product_grant",
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}This endpoint requires the following permission(s): project_configuration:virtual_currencies:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| virtual_currency_code required | string [ 1 .. 10 ] characters ^[a-zA-Z0-9_]+$ The virtual currency code |
| name | string [ 1 .. 50 ] characters The display name of the virtual currency | ||||||||
| description | string or null [ 1 .. 1500 ] characters Description of the virtual currency | ||||||||
Array of objects or null (VirtualCurrencyProductGrantInput) Product grants that define how products grant this virtual currency | |||||||||
Array
| |||||||||
{- "name": "Gold",
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}{- "state": "active",
- "object": "virtual_currency",
- "project_id": "proj1ab2c3d4",
- "code": "GLD",
- "name": "Gold",
- "created_at": 1658399423658,
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "object": "virtual_currency.product_grant",
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}This endpoint requires the following permission(s): project_configuration:virtual_currencies:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| virtual_currency_code required | string [ 1 .. 10 ] characters ^[a-zA-Z0-9_]+$ The virtual currency code |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:virtual_currencies:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| virtual_currency_code required | string [ 1 .. 10 ] characters ^[a-zA-Z0-9_]+$ The virtual currency code |
{- "state": "active",
- "object": "virtual_currency",
- "project_id": "proj1ab2c3d4",
- "code": "GLD",
- "name": "Gold",
- "created_at": 1658399423658,
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "object": "virtual_currency.product_grant",
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}This endpoint requires the following permission(s): project_configuration:virtual_currencies:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| virtual_currency_code required | string [ 1 .. 10 ] characters ^[a-zA-Z0-9_]+$ The virtual currency code |
{- "state": "active",
- "object": "virtual_currency",
- "project_id": "proj1ab2c3d4",
- "code": "GLD",
- "name": "Gold",
- "created_at": 1658399423658,
- "description": "Gold currency used in the game",
- "product_grants": [
- {
- "object": "virtual_currency.product_grant",
- "product_ids": [
- "prode1a2b3c4d5"
], - "amount": 100,
- "trial_amount": 0,
- "expire_at_cycle_end": false
}
]
}This endpoint requires the following permission(s): customer_information:purchases:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| purchase_id required | string [ 1 .. 255 ] characters Example: purc1a2b3c4d5e ID of the purchase |
{- "object": "purchase",
- "id": "purch1a2b3c4d5e",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "purchased_at": 1658399423658,
- "revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "quantity": 1,
- "status": "owned",
- "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_purchase_identifier": 12345678,
- "ownership": "purchased",
- "country": "US"
}Lists all Entitlements granted by a Purchase.
This endpoint requires the following permission(s): customer_information:purchases:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| purchase_id required | string [ 1 .. 255 ] characters Example: purc1a2b3c4d5e ID of the purchase |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements"
}Refund a Web Billing purchase and revoke access to associated granted entitlements.
This endpoint requires the following permission(s): customer_information:purchases:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| purchase_id required | string [ 1 .. 255 ] characters Example: purc1a2b3c4d5e ID of the purchase |
{- "object": "purchase",
- "id": "purch1a2b3c4d5e",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "purchased_at": 1658399423658,
- "revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "quantity": 1,
- "status": "owned",
- "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_purchase_identifier": 12345678,
- "ownership": "purchased",
- "country": "US"
}Search for a one-time purchases by any of its associated store_purchase_identifier values.
For example, this may include the transactionId of any transaction in an Apple App Store purchase, or any order ID from a Google Play Store purchase.
This endpoint requires the following permission(s): customer_information:purchases:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| store_purchase_identifier required | string [ 1 .. 255 ] characters Examples:
Store ID associated with the one-time purchase. |
{- "object": "list",
- "items": [
- {
- "object": "purchase",
- "id": "purch1a2b3c4d5e",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "purchased_at": 1658399423658,
- "revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "quantity": 1,
- "status": "owned",
- "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": null,
- "grace_period_duration": null,
- "trial_duration": null
}, - "one_time": {
- "is_consumable": null
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": null,
- "id": null,
- "name": null,
- "created_at": null,
- "type": null,
- "project_id": null,
- "amazon": { },
- "app_store": { },
- "mac_app_store": { },
- "play_store": { },
- "stripe": { },
- "rc_billing": { },
- "roku": { },
- "paddle": { }
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/purchases/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_purchase_identifier": 12345678,
- "ownership": "purchased",
- "country": "US"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/purchases?starting_after=purc1a2b3c4d5e",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/purchases"
}This endpoint requires the following permission(s): customer_information:subscriptions:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| subscription_id required | string [ 1 .. 255 ] characters Example: sub1a2b3c4d5e ID of the subscription |
{- "object": "subscription",
- "id": "sub1ab2c3d4e5",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "starts_at": 1658399423658,
- "current_period_starts_at": 1658399423658,
- "current_period_ends_at": 1658399423658,
- "ends_at": 1658399423658,
- "gives_access": true,
- "pending_payment": true,
- "auto_renewal_status": "will_renew",
- "status": "trialing",
- "total_revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_subscription_identifier": 12345678,
- "ownership": "purchased",
- "pending_changes": {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
}, - "country": "US",
}This endpoint requires the following permission(s): customer_information:subscriptions:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| subscription_id required | string [ 1 .. 255 ] characters Example: sub1a2b3c4d5e ID of the subscription |
{- "object": "list",
- "items": [
- {
- "object": "subscription_transaction",
- "id": "GPA.0000-0000-0000-00000",
- "purchased_at": 1658399423658,
- "product_store_identifier": "com.example.product",
- "expiration_date": 1658399423658,
- "effective_expiration_date": 1658399423658
}
], - "next_page": "/v2/projects/proj123/subscriptions/sub123/transactions?starting_after=GPA.0000-0000-0000-00000",
- "url": "/v2/projects/proj123/subscriptions/sub123/transactions"
}Refund a Play Store subscription's transaction. This endpoint does not cancel the subscription or revoke access to it.
This endpoint requires the following permission(s): customer_information:subscriptions:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| subscription_id required | string [ 1 .. 255 ] characters Example: sub1a2b3c4d5e ID of the subscription |
| transaction_id required | string [ 1 .. 255 ] characters Example: GPA.000-000-000-000 Identifier of the transaction in the store |
{- "object": "subscription_transaction",
- "id": "GPA.0000-0000-0000-00000",
- "purchased_at": 1658399423658,
- "product_store_identifier": "com.example.product",
- "expiration_date": 1658399423658,
- "effective_expiration_date": 1658399423658
}Lists all Entitlements granted by a Subscription.
This endpoint requires the following permission(s): customer_information:subscriptions:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| subscription_id required | string [ 1 .. 255 ] characters Example: sub1a2b3c4d5e ID of the subscription |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements?starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements"
}Cancel an active Web Billing subscription. The customer will lose access to the associated entitlements at the end of the current period.
This endpoint requires the following permission(s): customer_information:subscriptions:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| subscription_id required | string [ 1 .. 255 ] characters Example: sub1a2b3c4d5e ID of the subscription |
{- "object": "subscription",
- "id": "sub1ab2c3d4e5",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "starts_at": 1658399423658,
- "current_period_starts_at": 1658399423658,
- "current_period_ends_at": 1658399423658,
- "ends_at": 1658399423658,
- "gives_access": true,
- "pending_payment": true,
- "auto_renewal_status": "will_renew",
- "status": "trialing",
- "total_revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_subscription_identifier": 12345678,
- "ownership": "purchased",
- "pending_changes": {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
}, - "country": "US",
}Cancel a Web Billing subscription by refunding the most recent payment. The customer will immediately lose access to the associated entitlements.
This endpoint requires the following permission(s): customer_information:subscriptions:read_write. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| subscription_id required | string [ 1 .. 255 ] characters Example: sub1a2b3c4d5e ID of the subscription |
{- "object": "subscription",
- "id": "sub1ab2c3d4e5",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "starts_at": 1658399423658,
- "current_period_starts_at": 1658399423658,
- "current_period_ends_at": 1658399423658,
- "ends_at": 1658399423658,
- "gives_access": true,
- "pending_payment": true,
- "auto_renewal_status": "will_renew",
- "status": "trialing",
- "total_revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_subscription_identifier": 12345678,
- "ownership": "purchased",
- "pending_changes": {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
}, - "country": "US",
}Search for a subscription by any of its associated store_subscription_identifier values, whether from a past or current subscription period.
For example, this may include the transactionId of any transaction in an Apple App Store subscription, or any order ID from a Google Play Store subscription.
This endpoint requires the following permission(s): customer_information:subscriptions:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| store_subscription_identifier required | string [ 1 .. 255 ] characters Examples:
Store ID associated with the subscription for the current or next period. |
{- "object": "list",
- "items": [
- {
- "object": "subscription",
- "id": "sub1ab2c3d4e5",
- "customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "original_customer_id": "19b8de26-77c1-49f1-aa18-019a391603e2",
- "product_id": "prod1a2b3c4d5e",
- "starts_at": 1658399423658,
- "current_period_starts_at": 1658399423658,
- "current_period_ends_at": 1658399423658,
- "ends_at": 1658399423658,
- "gives_access": true,
- "pending_payment": true,
- "auto_renewal_status": "will_renew",
- "status": "trialing",
- "total_revenue_in_usd": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "presented_offering_id": "ofrnge1a2b3c4d5",
- "entitlements": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "entitlement",
- "project_id": "proj1ab2c3d4",
- "id": "entla1b2c3d4e5",
- "lookup_key": "premium",
- "display_name": "Premium",
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": null,
- "grace_period_duration": null,
- "trial_duration": null
}, - "one_time": {
- "is_consumable": null
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": null,
- "id": null,
- "name": null,
- "created_at": null,
- "type": null,
- "project_id": null,
- "amazon": { },
- "app_store": { },
- "mac_app_store": { },
- "play_store": { },
- "stripe": { },
- "rc_billing": { },
- "roku": { },
- "paddle": { }
}, - "display_name": "Premium Monthly 2023"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products?starting_after=prodeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/entitlements/entle1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements?status=active&starting_after=entlab21dac",
- "url": "/v2/projects/proj1ab2c3d4/subscriptions/sub1a2b3c4d5e/entitlements"
}, - "environment": "production",
- "store": "amazon",
- "store_subscription_identifier": 12345678,
- "ownership": "purchased",
- "pending_changes": {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": "P1M",
- "grace_period_duration": "P3D",
- "trial_duration": "P1W"
}, - "one_time": {
- "is_consumable": true
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": "app",
- "id": "app1a2b3c4",
- "name": "string",
- "created_at": 1658399423658,
- "type": "app_store",
- "project_id": "proj1a2b3c4",
- "amazon": {
- "package_name": "string"
}, - "app_store": {
- "bundle_id": "string"
}, - "mac_app_store": {
- "bundle_id": "string"
}, - "play_store": {
- "package_name": "string"
}, - "stripe": {
- "stripe_account_id": "string"
}, - "rc_billing": {
- "stripe_account_id": "string",
- "seller_company_name": "string",
- "app_name": "string",
- "seller_company_support_email": "string",
- "support_email": "string",
- "default_currency": "USD"
}, - "roku": {
- "roku_channel_id": "string",
- "roku_channel_name": "string"
}, - "paddle": {
- "paddle_is_sandbox": true,
- "paddle_api_key": "stringstringstringstringstringstringstringstringst"
}
}, - "display_name": "Premium Monthly 2023"
}
}, - "country": "US",
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/subscriptions?starting_after=sub1a2b3c4d",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/subscriptions"
}This endpoint requires the following permission(s): customer_information:invoices:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "invoice",
- "id": "rcbin1a2b3c4d5e",
- "total_amount": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}, - "line_items": [
- {
- "object": "invoice.line_item",
- "product_identifier": "rc_1w_199",
- "product_display_name": "Premium Monthly 2023",
- "product_duration": "P1M",
- "quantity": 1,
- "unit_amount": {
- "currency": "USD",
- "gross": 9.99,
- "commission": 2.99,
- "tax": 0.75,
- "proceeds": 6.25
}
}
], - "issued_at": 1658399423658,
- "paid_at": 1658399423658,
}
], - "next_page": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/invoices?starting_after=rcbin1a2b3c4d5e",
- "url": "/v2/projects/proj1ab2c3d4/customers/19b8de26-77c1-49f1-aa18-019a391603e2/invoices"
}This endpoint requires the following permission(s): customer_information:invoices:read. This endpoint belongs to the Customer Information domain, which has a default rate limit of 480 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| customer_id required | string [ 1 .. 1500 ] characters Example: 19b8de26-77c1-49f1-aa18-019a391603e2 ID of the customer |
| invoice_id required | string [ 1 .. 1500 ] characters Example: rcbin1a2b3c4d5e ID of the invoice |
{- "object": "error",
- "type": "parameter_error",
- "param": "customer_id",
- "message": "id is too long",
- "retryable": false,
}This endpoint requires the following permission(s): project_configuration:offerings:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Value: "items.offering" Example: expand=items.offering Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "list",
- "items": [
- {
- "object": "paywall",
- "id": "pw123456789abcdef",
- "name": "My Awesome Paywall",
- "offering_id": "ofrng123456789a",
- "created_at": 1658399423658,
- "published_at": 1658399423958,
- "offering": {
- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": null,
- "eligibility_criteria": null
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}, - "components": {
- "published": {
- "revision": 1,
- "components_config": {
- "base": {
- "stack": {
- "id": "l7Ylx2UZeA",
- "type": "stack",
- "components": [
- {
- "id": "LFVZUCf9yW",
- "type": "text",
- "text_lid": "OBUxLwsvXb"
}
]
}, - "sticky_footer": {
- "id": "UJJRRPzRuz",
- "type": "footer"
}
}
}, - "default_locale": "en_US",
- "components_localizations": {
- "en_US": {
- "title": "Premium"
}
},
}, - "draft": {
- "revision": 1,
- "components_config": {
- "base": {
- "stack": {
- "id": "l7Ylx2UZeA",
- "type": "stack",
- "components": [
- {
- "id": "LFVZUCf9yW",
- "type": "text",
- "text_lid": "OBUxLwsvXb"
}
]
}, - "sticky_footer": {
- "id": "UJJRRPzRuz",
- "type": "footer"
}
}
}, - "default_locale": "en_US",
- "components_localizations": {
- "en_US": {
- "title": "Premium"
}
},
}
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/paywalls?starting_after=pwXXXXXXXXXXXXXX",
- "url": "/v2/projects/proj1ab2c3d4/paywalls"
}Create a paywall for an offering of the project.
This endpoint requires the following permission(s): project_configuration:offerings:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| offering_id required | string [ 1 .. 200 ] characters The ID of the offering the paywall will be created for. |
{- "offering_id": "ofrng123456789a"
}{- "object": "paywall",
- "id": "pw123456789abcdef",
- "name": "My Awesome Paywall",
- "offering_id": "ofrng123456789a",
- "created_at": 1658399423658,
- "published_at": 1658399423958,
- "offering": {
- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": null,
- "grace_period_duration": null,
- "trial_duration": null
}, - "one_time": {
- "is_consumable": null
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": null,
- "id": null,
- "name": null,
- "created_at": null,
- "type": null,
- "project_id": null,
- "amazon": { },
- "app_store": { },
- "mac_app_store": { },
- "play_store": { },
- "stripe": { },
- "rc_billing": { },
- "roku": { },
- "paddle": { }
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}, - "components": {
- "published": {
- "revision": 1,
- "components_config": {
- "base": {
- "stack": {
- "id": "l7Ylx2UZeA",
- "type": "stack",
- "components": [
- {
- "id": "LFVZUCf9yW",
- "type": "text",
- "text_lid": "OBUxLwsvXb"
}
]
}, - "sticky_footer": {
- "id": "UJJRRPzRuz",
- "type": "footer"
}
}
}, - "default_locale": "en_US",
- "components_localizations": {
- "en_US": {
- "title": "Premium"
}
},
}, - "draft": {
- "revision": 1,
- "components_config": {
- "base": {
- "stack": {
- "id": "l7Ylx2UZeA",
- "type": "stack",
- "components": [
- {
- "id": "LFVZUCf9yW",
- "type": "text",
- "text_lid": "OBUxLwsvXb"
}
]
}, - "sticky_footer": {
- "id": "UJJRRPzRuz",
- "type": "footer"
}
}
}, - "default_locale": "en_US",
- "components_localizations": {
- "en_US": {
- "title": "Premium"
}
},
}
}
}This endpoint requires the following permission(s): project_configuration:offerings:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| paywall_id required | string [ 1 .. 255 ] characters Example: pwXXXXXXXXXXXXXX ID of the paywall |
| expand | Array of strings[ items [ 1 .. 5000 ] characters ] Items Enum: "offering" "components" Example: expand=offering Specifies which fields in the response should be expanded.
Accepted values are: |
{- "object": "paywall",
- "id": "pw123456789abcdef",
- "name": "My Awesome Paywall",
- "offering_id": "ofrng123456789a",
- "created_at": 1658399423658,
- "published_at": 1658399423958,
- "offering": {
- "state": "active",
- "object": "offering",
- "id": "ofrnge1a2b3c4d5",
- "lookup_key": "default",
- "display_name": "The standard set of packages",
- "is_current": true,
- "created_at": 1658399423658,
- "project_id": "proj1ab2c3d4",
- "metadata": {
- "color": "blue",
- "call_to_action": "Subscribe Now!"
}, - "packages": {
- "object": "list",
- "items": [
- {
- "object": "package",
- "id": "pkge1a2b3c4d5",
- "lookup_key": "monthly",
- "display_name": "Monthly discounted with 3-day trial",
- "position": 1,
- "created_at": 1658399423658,
- "products": {
- "object": "list",
- "items": [
- {
- "product": {
- "state": "active",
- "object": "product",
- "id": "prod1a2b3c4d5e",
- "store_identifier": "rc_1w_199",
- "type": "subscription",
- "subscription": {
- "duration": null,
- "grace_period_duration": null,
- "trial_duration": null
}, - "one_time": {
- "is_consumable": null
}, - "created_at": 1658399423658,
- "app_id": "app1a2b3c4",
- "app": {
- "object": null,
- "id": null,
- "name": null,
- "created_at": null,
- "type": null,
- "project_id": null,
- "amazon": { },
- "app_store": { },
- "mac_app_store": { },
- "play_store": { },
- "stripe": { },
- "rc_billing": { },
- "roku": { },
- "paddle": { }
}, - "display_name": "Premium Monthly 2023"
}, - "eligibility_criteria": "all"
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products?starting_after=prodab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages/pkge1a2b3c4d5/products"
}
}
], - "next_page": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages?starting_after=pkgeab21dac",
- "url": "/v2/projects/proj1ab2c3d4/offerings/ofrnge1a2b3c4d5/packages"
}
}, - "components": {
- "published": {
- "revision": 1,
- "components_config": {
- "base": {
- "stack": {
- "id": "l7Ylx2UZeA",
- "type": "stack",
- "components": [
- {
- "id": "LFVZUCf9yW",
- "type": "text",
- "text_lid": "OBUxLwsvXb"
}
]
}, - "sticky_footer": {
- "id": "UJJRRPzRuz",
- "type": "footer"
}
}
}, - "default_locale": "en_US",
- "components_localizations": {
- "en_US": {
- "title": "Premium"
}
},
}, - "draft": {
- "revision": 1,
- "components_config": {
- "base": {
- "stack": {
- "id": "l7Ylx2UZeA",
- "type": "stack",
- "components": [
- {
- "id": "LFVZUCf9yW",
- "type": "text",
- "text_lid": "OBUxLwsvXb"
}
]
}, - "sticky_footer": {
- "id": "UJJRRPzRuz",
- "type": "footer"
}
}
}, - "default_locale": "en_US",
- "components_localizations": {
- "en_US": {
- "title": "Premium"
}
},
}
}
}This endpoint requires the following permission(s): project_configuration:offerings:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| paywall_id required | string [ 1 .. 255 ] characters Example: pwXXXXXXXXXXXXXX ID of the paywall |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:integrations:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "webhook_integration",
- "id": "wh_1234567890abcdef",
- "project_id": "proj_1234567890abcdef",
- "name": "Customer updates webhook",
- "environment": "production",
- "event_types": [
- "initial_purchase"
], - "app_id": "app_1234567890abcdef",
- "created_at": 1658399423658
}
], - "next_page": "/v2/projects/proj1ab2c3d4/integrations/webhooks?starting_after=whintgr1a2b3c4d",
- "url": "/v2/projects/proj1ab2c3d4/integrations/webhooks"
}This endpoint requires the following permission(s): project_configuration:integrations:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| name required | string [ 1 .. 1500 ] characters The display name of the webhook integration |
| url required | string <uri> <= 5000 characters The URL RevenueCat will send webhook notifications to |
| authorization_header | string or null <= 5000 characters Optional authorization header that will be sent with webhook notifications |
| environment | string or null Enum: "production" "sandbox" null The environment the webhook integration is configured for |
| event_types | Array of strings or null (WebhookEventType) Enum: "initial_purchase" "renewal" "product_change" "cancellation" "billing_issue" "non_renewing_purchase" "uncancellation" "transfer" "subscription_paused" "expiration" … 5 more Event types that will trigger the webhook |
| app_id | string or null [ 1 .. 255 ] characters The ID of the app the webhook integration is scoped to |
{- "name": "Customer updates webhook",
- "authorization_header": "Bearer 123456",
- "environment": "production",
- "event_types": [
- "initial_purchase"
], - "app_id": "app_1234567890abcdef"
}{- "object": "webhook_integration",
- "id": "wh_1234567890abcdef",
- "project_id": "proj_1234567890abcdef",
- "name": "Customer updates webhook",
- "environment": "production",
- "event_types": [
- "initial_purchase"
], - "app_id": "app_1234567890abcdef",
- "created_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:integrations:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| webhook_integration_id required | string [ 1 .. 255 ] characters Example: wh_1234567890abcdef The ID of the webhook integration |
{- "object": "webhook_integration",
- "id": "wh_1234567890abcdef",
- "project_id": "proj_1234567890abcdef",
- "name": "Customer updates webhook",
- "environment": "production",
- "event_types": [
- "initial_purchase"
], - "app_id": "app_1234567890abcdef",
- "created_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:integrations:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| webhook_integration_id required | string [ 1 .. 255 ] characters Example: wh_1234567890abcdef The ID of the webhook integration |
| name | string [ 1 .. 1500 ] characters The display name of the webhook integration |
| url | string <uri> <= 5000 characters The URL RevenueCat will send webhook notifications to |
| authorization_header | string or null <= 5000 characters Optional authorization header that will be sent with webhook notifications |
| environment | string or null Enum: "production" "sandbox" null The environment the webhook integration is configured for |
| event_types | Array of strings or null (WebhookEventType) Enum: "initial_purchase" "renewal" "product_change" "cancellation" "billing_issue" "non_renewing_purchase" "uncancellation" "transfer" "subscription_paused" "expiration" … 5 more Event types that will trigger the webhook |
| app_id | string or null [ 1 .. 255 ] characters The ID of the app the webhook integration is scoped to |
{- "name": "Customer updates webhook",
- "authorization_header": "Bearer 123456",
- "environment": "production",
- "event_types": [
- "initial_purchase"
], - "app_id": "app_1234567890abcdef"
}{- "object": "webhook_integration",
- "id": "wh_1234567890abcdef",
- "project_id": "proj_1234567890abcdef",
- "name": "Customer updates webhook",
- "environment": "production",
- "event_types": [
- "initial_purchase"
], - "app_id": "app_1234567890abcdef",
- "created_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:integrations:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| project_id required | string <= 255 characters Example: proj1ab2c3d4 ID of the project |
| webhook_integration_id required | string [ 1 .. 255 ] characters Example: wh_1234567890abcdef The ID of the webhook integration |
{- "object": "app",
- "id": "string",
- "deleted_at": 1658399423658
}This endpoint requires the following permission(s): project_configuration:projects:read. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| starting_after | string Example: starting_after=ent12354 |
| limit | integer Default: 20 Example: limit=10 |
{- "object": "list",
- "items": [
- {
- "object": "project",
- "id": "proj1ab2c3d4",
- "name": "MagicWeather",
- "created_at": 1658399423658,
}
], - "next_page": "/v2/projects?starting_after=projab21dac",
- "url": "/v2/projects"
}This endpoint requires the following permission(s): project_configuration:projects:read_write. This endpoint belongs to the Project Configuration domain, which has a default rate limit of 60 requests per minute.
| name required | string [ 1 .. 255 ] characters The name of the project |
{- "name": "string"
}{- "object": "project",
- "id": "proj1ab2c3d4",
- "name": "MagicWeather",
- "created_at": 1658399423658,
}