beel_disconnect_payment_connection
Disconnect a company's Stripe payment connection to stop auto-invoicing and delete stored credentials. Existing invoices stay unaffected.
Instructions
Disconnects the payment provider connection (stripe) of a NIF (company) that your
account owns or manages. 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 authorization the holder granted at the provider is not revoked on the provider's side. 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 | NIF (company) the operation acts on. 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 NIF you do not reach answers `403`, and so does a NIF that does not exist, so the existence of a NIF in another account is never disclosed. |