---
title: "Sync Revenuecat Billing Endpoint"
method: POST
path: "/api/billing/revenuecat/sync"
---

# Sync Revenuecat Billing Endpoint

`POST /api/billing/revenuecat/sync`

Sync RevenueCat CustomerInfo into backend subscription allowance and credits.

## Request body

- RevenueCatSyncRequest — Request schema for syncing RevenueCat CustomerInfo into backend credits.
  - `customerInfo` object, required
  - `purchasedProductId` string, nullable

## Response `200`

Successful Response

- MobileBillingStatusResponse — Mobile-friendly subscription and credit balance response.
  - `success` boolean
  - `subscriptionTier` string, nullable
  - `subscriptionActive` boolean
  - `subscriptionRenewsAt` string, nullable
  - `subscriptionAllowanceRemainingCents` integer
  - `purchasedCreditBalanceCents` integer
  - `availableCreditBalanceCents` integer
  - `availableCredits` integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
