Accountant Portal
Onboarding

Reset an unpaid onboarding checkout for a customer (immutable super-admin only)

Changed on

Immutable super-admin (SUPER_ADMIN_USER_IDS) only. Under the flow's billing lease, re-reads Stripe and refuses with 409 unless the flow is at subscribe, IDs match, nothing is collected, and no payment is processing or succeeded. Cancels the incomplete subscription, voids its open/uncollectible invoice, clears the flow's subscription binding, and records one onboarding_checkout.reset audit row. Idempotent on replay.

post/accountant/companies/{customerId}/onboarding-payment/reset

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Request body

AccountantOnboardingPaymentResetInput required
expectedSubscriptionId, string required
expectedInvoiceId, string nullable required

Response

Checkout reset or already reset

AccountantOnboardingPaymentResetApiResponse required
success, true required
data, AccountantOnboardingPaymentResetResult required

Changes