---
title: "Admin Sync Billing"
method: POST
path: "/api/v1/billing/admin/sync/{user_id}"
tags: ["billing", "billing"]
---

# Admin Sync Billing

`POST /api/v1/billing/admin/sync/{user_id}`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/billing/admin/sync/{user_id}`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

## Path parameters

- `user_id` integer, required

## Response `200`

Successful Response

- BillingStatusResponse
  - `plan` string, required
  - `status` string, required
  - `billing_configured` boolean, required
  - `pro_source` string, nullable
  - `is_founder` boolean
  - `grant` object, nullable
  - `trial` object, nullable
  - `eligible_terms` string[]
  - `provider_status` string, nullable, required
  - `payment_status` string, nullable, required
  - `mollie_customer_id` string, nullable, required
  - `mollie_subscription_id` string, nullable, required
  - `current_period_end` string, nullable, required
  - `cancel_at_period_end` boolean, required
  - `cancelled_at` string, nullable, required
  - `last_failure_reason` string, nullable, required
  - `payment_method` string, nullable
  - `billing_interval` string
  - `billing_visible` boolean
  - `needs_reconciliation` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/peil/apis/peil-api.md) · [All operations](https://skmtc.dev/peil/apis/peil-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peil/apis/peil-api/revisions/ee3ca1246dde?raw)
