beel_get_payment_event
Retrieve a specific payment event for a NIF's connection, including invoicing outcome and failure code. Returns 404 for events not belonging to the NIF, ensuring data isolation.
Instructions
Retrieves a single payment event of the NIF's connection, including the outcome of its automatic invoicing and, when it failed, the stable failure code you can act on.
An event that does not belong to this NIF's connection returns 404, the same answer an
event that does not exist gets, so an event of another NIF is never disclosed.
Endpoint: GET /v1/companies/{company_id}/payment-connections/{provider}/events/{event_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_id | Yes | Identifier of the payment event, as returned by the list operation. | |
| 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. |