beel_disconnect_payment_connection
Disconnect a company's payment provider to stop automatic invoicing immediately. BeeL deletes stored credentials, ignores new charges, and leaves already-issued invoices unchanged.
Instructions
Disconnects the payment provider connection (stripe) of a company that your account
owns or manages.
Effect: BeeL deletes the stored credentials and auto-invoicing stops at once; charges arriving afterwards are ignored and produce no invoice. Already-issued invoices are not affected.
The provider-side authorization is not revoked: to withdraw it, the holder must remove BeeL's access from the provider's own dashboard (in Stripe, Settings → Connected applications).
Endpoint: DELETE /v1/companies/{company_id}/payment-connections/{provider}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Payment provider slug in **lowercase**. Currently only `stripe` (Stripe Connect) is operative; `woocommerce` and `shopify` are reserved for future providers. | |
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. |