Force-sync a user’s subscription state from Stripe. Admin only.
cURL
curl --request POST \ --url https://api.example.com/api/admin/billing/sync/{user_id} \ --header 'Authorization: Bearer <token>'
{ "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "synced": true, "status": "<string>", "plan_tier": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Response from admin billing sync.