Accountant Portal
Onboarding
Reset an unpaid onboarding checkout for a customer (immutable super-admin only)
Changed onImmutable 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 URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
customerId, string uuid required
Request body
Accountant Onboarding Payment Reset Input required
expectedSubscriptionId, string required
expectedInvoiceId, string nullable required
Response
Checkout reset or already reset
Accountant Onboarding Payment Reset Api Response required
success, true required
data, Accountant Onboarding Payment Reset Result required
Changes
- info
endpoint added
- info