Skip to content

Latest commit

 

History

History
132 lines (72 loc) · 3.55 KB

EventsApi.md

File metadata and controls

132 lines (72 loc) · 3.55 KB

\EventsApi

All URIs are relative to https://api.getlago.com/api/v1

Method HTTP request Description
create_batch_events POST /events/batch Create batch events
create_event POST /events Create a new event
event_estimate_fees POST /events/estimate_fees Estimate fees for an instant charge
find_event GET /events/{id} Find event by transaction ID

create_batch_events

create_batch_events(batch_event_input) Create batch events

Create batch events

Parameters

Name Type Description Required Notes
batch_event_input BatchEventInput Batch events payload [required]

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_event

create_event(event_input) Create a new event

Create a new event

Parameters

Name Type Description Required Notes
event_input EventInput Event payload [required]

Return type

(empty response body)

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

event_estimate_fees

crate::models::Fees event_estimate_fees(event_estimate_fees_input) Estimate fees for an instant charge

Estimate the fees that would be created after reception of an event for a billable metric attached to one or multiple instant charges

Parameters

Name Type Description Required Notes
event_estimate_fees_input EventEstimateFeesInput Event payload for instant fee estimate [required]

Return type

crate::models::Fees

Authorization

bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

find_event

crate::models::Event find_event(id) Find event by transaction ID

Return a single event

Parameters

Name Type Description Required Notes
id String Id of the existing transaction [required]

Return type

crate::models::Event

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]