---
title: "Read onboarding Stripe payment state for an assigned customer"
method: GET
path: "/accountant/companies/{customerId}/onboarding-payment"
tags: ["Accountant Portal", "Onboarding"]
---

# Read onboarding Stripe payment state for an assigned customer

`GET /accountant/companies/{customerId}/onboarding-payment`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/onboarding-payment`
- Auth: HTTP bearer

Read-only view of an onboarding flow's first-payment state from Stripe without taking the billing lease. Returns `paymentLinkUrl` only for `payment_needed` or `bank_verification_pending`, and computes `canReset` server-side for immutable super-admins (`SUPER_ADMIN_USER_IDS`).

## Path parameters

- `customerId` string, uuid, required

## Response `200`

Onboarding payment state

- AccountantOnboardingPaymentApiResponse
  - `success` true, required
  - `data` AccountantOnboardingPayment, required
    - `flowId` string, uuid, required
    - `stage` 'auth' | 'price' | 'sales' | 'subscribe' | 'setup' | 'books', required
    - `state` 'not_started' | 'paid' | 'trialing' | 'processing' | 'bank_verification_pending' | 'payment_needed' | 'failed' | 'expired' | 'null', nullable, required
    - `subscriptionId` string, nullable, required
    - `stripeStatus` string, nullable, required
    - `invoiceId` string, nullable, required
    - `invoiceStatus` 'draft' | 'open' | 'paid' | 'uncollectible' | 'void' | 'null', nullable, required
    - `amountDueCents` integer, nullable, required
    - `currency` string, nullable, required
    - `invoiceCreatedAt` string, date-time, nullable, required
    - `paymentLinkUrl` string, uri, nullable, required
    - `canReset` boolean, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `503`: Required sandbox provider configuration or service is unavailable

## Changes

- **2026-11-24** `23cf37da5f77`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/onboarding-payment/get.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
