Sync Revenuecat Billing Endpoint

Sync RevenueCat CustomerInfo into backend subscription allowance and credits.

post/api/billing/revenuecat/sync

Request body

customerInfoobject required
purchasedProductIdstring nullable

Response

Successful Response

successboolean
subscriptionTierstring nullable
subscriptionActiveboolean
subscriptionRenewsAtstring nullable
subscriptionAllowanceRemainingCentsinteger
purchasedCreditBalanceCentsinteger
availableCreditBalanceCentsinteger
availableCreditsinteger

Changes

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