Sync Revenuecat Billing Endpoint

Sync RevenueCat CustomerInfo into backend subscription allowance and credits.

post/api/billing/revenuecat/sync

Request

  • Base URL: https://api.latted.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.latted.com/api/billing/revenuecat/sync
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

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 operation across all 20 revisions of this API.