Skip to main content
POST
/
api
/
admin
/
billing
/
sync
/
{user_id}
Force-sync subscription from Stripe
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string<uuid>
required

Response

Successful Response

Response from admin billing sync.

user_id
string<uuid>
required
synced
boolean
required
status
string
required
plan_tier
string
required