GET
/
fees
/
{lago_id}
Authorization
Path
LAGO_URL="https://api.getlago.com"
FEE_ID="__YOUR_FEE_ID__"
API_KEY="__YOUR_API_KEY__"

curl --location --request GET "$LAGO_URL/api/v1/fees/$FEE_ID" \
  --header "Authorization: Bearer $API_KEY"
{
  "fee": {
    "amount_cents": 100,
    "amount_currency": "EUR",
    "applied_taxes": [],
    "created_at": "2022-08-24T14:58:59Z",
    "event_transaction_id": "transaction_1234567890",
    "events_count": 23,
    "external_customer_id": "external_id",
    "external_subscription_id": "external_id",
    "failed_at": "2022-08-24T14:58:59Z",
    "from_date": "2022-04-29T08:59:51Z",
    "invoice_display_name": "Setup Fee (SF1)",
    "invoiceable": true,
    "item": {
      "code": "startup",
      "item_type": "Subscription",
      "lago_item_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
      "name": "Startup",
      "type": "subscription"
    },
    "lago_customer_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_group_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_invoice_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_subscription_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_true_up_fee_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "lago_true_up_parent_fee_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "pay_in_advance": true,
    "payment_status": "pending",
    "precise_unit_amount": "312.5",
    "refunded_at": "2022-08-24T14:58:59Z",
    "succeeded_at": "2022-08-24T14:58:59Z",
    "taxes_amount_cents": 20,
    "taxes_rate": 20,
    "to_date": "2022-05-29T08:59:51Z",
    "total_amount_cents": 120,
    "total_amount_currency": "EUR",
    "units": "0.32"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

lago_id
string
required

Unique identifier assigned to the fee within the Lago application. This ID is exclusively created by Lago and serves as a unique identifier for the fee’s record within the Lago system.

Response

200 - application/json
fee
object
required