Overview
Add RevenueCat to any ModuleX agent or workflow. Manage in-app subscriptions and entitlements against the RevenueCat REST API v1 (api.revenuecat.com/v1). Look up subscribers, grant or revoke promotional entitlements, record purchases, update subscriber attributes, and manage Google Play subscription billing.
Authentication
API Key Authentication
Authenticate using your RevenueCat REST API v1 keyStep 1
Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| RevenueCat API Key | Your RevenueCat REST API v1 key (secret key recommended) | Yes | sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
Available Actions
get_customer — Retrieve subscriber information by app user ID.
get_customer — Retrieve subscriber information by app user ID.
delete_customer — Permanently delete a subscriber and all associated data.
delete_customer — Permanently delete a subscriber and all associated data.
create_purchase — Record a purchase (receipt) for a subscriber via the REST API.
create_purchase — Record a purchase (receipt) for a subscriber via the REST API.
Parameters
Response
grant_entitlement — Grant a promotional entitlement to a subscriber.
grant_entitlement — Grant a promotional entitlement to a subscriber.
Parameters
Response
revoke_entitlement — Revoke all promotional entitlements for a specific entitlement identifier.
revoke_entitlement — Revoke all promotional entitlements for a specific entitlement identifier.
list_offerings — List all offerings configured for the project.
list_offerings — List all offerings configured for the project.
update_subscriber_attributes — Update custom subscriber attributes (e.g., $email, $displayName, or custom key-value pairs).
update_subscriber_attributes — Update custom subscriber attributes (e.g., $email, $displayName, or custom key-value pairs).
Parameters
Response
defer_google_subscription — Defer a Google Play subscription by extending its billing date (Google Play only).
defer_google_subscription — Defer a Google Play subscription by extending its billing date (Google Play only).
Parameters
Response
refund_google_subscription — Refund a specific store transaction by its store transaction identifier and revoke access (subscription or non-subscription, last 365 days).
refund_google_subscription — Refund a specific store transaction by its store transaction identifier and revoke access (subscription or non-subscription, last 365 days).
Limits & Quotas
- Rate limits: RevenueCat applies per-endpoint rate limits; the
429responses include aRetry-Afterheader. Plan retries on the agent side. - Grant / revoke entitlement is for promotional entitlements only and requires a secret key.
- Defer / refund / revoke Google subscription apply to Google Play
purchases only.
grant_entitlementanddefer_google_subscriptionrequire exactly one of their two mutually-exclusive time parameters. - Error model: non-2xx responses and timeouts are caught and
returned as
success=False+errorrather than raising. RevenueCat returns{code, message}on errors, which is surfaced inerror.