Generated by API Evangelist
Written by API Evangelist tooling for RevenueCat's API. It is a proposal applied on top of the contract, not a document RevenueCat publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for RevenueCat REST Purchases API
version: 1.0.0
extends: openapi/revenuecat-purchases-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/receipts'].post
update:
x-apievangelist-phrasing:
intent: Record a purchase by validating a receipt
effect: write
questions:
- How do I record a purchase from an App Store receipt?
- Can I validate a Google Play purchase token and attach it to a user?
instructions:
- text: Record a purchase for user {app_user_id} using receipt {fetch_token}.
slots:
app_user_id: requestBody.app_user_id
fetch_token: requestBody.fetch_token
- text: Validate receipt {fetch_token} for user {app_user_id} and attach it to product {product_id}.
slots:
fetch_token: requestBody.fetch_token
app_user_id: requestBody.app_user_id
product_id: requestBody.product_id
method: generated
generated: '2026-11-17'
- target: $.paths['/subscribers/{app_user_id}/transactions/{store_transaction_identifier}/refund'].post
update:
x-apievangelist-phrasing:
intent: Refund a Google Play transaction
effect: destructive
questions:
- How do I refund a Google Play purchase?
- Can I issue a refund for a transaction I already recorded?
instructions:
- text: Refund transaction {store_transaction_identifier} for user {app_user_id}.
slots:
store_transaction_identifier: path.store_transaction_identifier
app_user_id: path.app_user_id
- text: Issue a Google Play refund for {app_user_id} on transaction {store_transaction_identifier}.
slots:
app_user_id: path.app_user_id
store_transaction_identifier: path.store_transaction_identifier
method: generated
generated: '2026-11-17'
- target: $.paths['/subscribers/{app_user_id}/subscriptions/{product_identifier}/defer'].post
update:
x-apievangelist-phrasing:
intent: Defer a Google Play subscription renewal
effect: write
questions:
- How do I delay the next renewal of a Google Play subscription?
- Can I set a new expiry date for a Google subscription?
instructions:
- text: Defer subscription {product_identifier} for user {app_user_id}.
slots:
product_identifier: path.product_identifier
app_user_id: path.app_user_id
- text: Set the next renewal of {product_identifier} for {app_user_id} to {expiry_time_ms}.
slots:
product_identifier: path.product_identifier
app_user_id: path.app_user_id
expiry_time_ms: requestBody.expiry_time_ms
method: generated
generated: '2026-11-17'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.