beel_list_payment_events
Retrieve payment events from a company's payment provider connection to audit which charges produced invoices and identify those that didn't.
Instructions
Lists the payment events received through the payment provider connection of a NIF (company) that your account owns or manages, most recent first. Use it to audit the charges that produced an invoice and to find the ones that did not.
Events belong to the connection, not to the NIF directly. The {provider} segment
picks the connection of the NIF in the path, and only the events of that connection are
returned; an event of another NIF of the same account is never reachable from here.
If the NIF has no connection for the provider, returns 404.
Endpoint: GET /v1/companies/{company_id}/payment-connections/{provider}/events
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. The response echoes it back as `pagination.current_page`. | |
| limit | No | How many items to return per page. The response echoes it back as `pagination.items_per_page`. | |
| 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 events belong to. 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. |