Account

Sync the plan with the store

After a purchase or restore: asks RevenueCat whether a subscription is active and grants Plus if so. Sync only ever grants; taking Plus away is the store webhook's job.

post/api/billing/sync

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/billing/sync
  • Auth: HTTP bearer

Response

The plan now, and whether the store changed it.

plan'free' | 'plus' required
source'revenuecat' | 'unchanged' required

Changes

No recorded changes to this operation across all 1 revision of this API.