Disconnect a payment provider
Requires billing:connect. The catalogue’s provider price mappings survive: they are keyed by the provider’s own account id rather than by this connection, so reconnecting the same merchant account does not leave every price unmapped.
Authorizations
A staff session token, uk_st_…. Minted by sign-up, sign-in or the two-factor exchange.
Headers
The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing. Absent, the session's default organization answers.
Path Parameters
The environment's id.
The payment gateway. stripe today. A gateway UserKit has no adapter for is refused here rather than stored, because a connection nothing can charge is discovered at somebody's checkout.
stripe Response
Disconnected.