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(batch_event_input) Create batch events
Create batch events
Name | Type | Description | Required | Notes |
---|---|---|---|---|
batch_event_input | BatchEventInput | Batch events payload | [required] |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create_event(event_input) Create a new event
Create a new event
Name | Type | Description | Required | Notes |
---|---|---|---|---|
event_input | EventInput | Event payload | [required] |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
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
Name | Type | Description | Required | Notes |
---|---|---|---|---|
event_estimate_fees_input | EventEstimateFeesInput | Event payload for instant fee estimate | [required] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::Event find_event(id) Find event by transaction ID
Return a single event
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | String | Id of the existing transaction | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]