Skip to content

Commit

Permalink
feat(fee): Expose charge_id in REST API
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet committed Oct 18, 2024
1 parent 8ca492b commit 8bf1042
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ type FeeAppliedTax struct {

type Fee struct {
LagoID uuid.UUID `json:"lago_id,omitempty"`
LagoChargeID uuid.UUID `json:"lago_charge_id,omitempty"`
LagoChargeFilterID uuid.UUID `json:"lago_charge_filter_id,omitempty"`
LagoInvoiceID uuid.UUID `json:"lago_invoice_id,omitempty"`
LagoTrueUpFeeID uuid.UUID `json:"lago_true_up_fee_id,omitempty"`
Expand All @@ -113,7 +114,7 @@ type Fee struct {
AmountDetails map[string]interface{} `json:"amount_details,omitempty"`
PreciseUnitAmount string `json:"precise_unit_amount,omitempty"`
PreciseAmount string `json:"precise_amount,omitempty"`
PreciseTotalAmount string `json:"precise_total_amount,omitempty"`
PreciseTotalAmount string `json:"precise_total_amount,omitempty"`
AmountCurrency string `json:"amount_currency,omitempty"`
TaxesAmountCents int `json:"taxes_amount_cents,omitempty"`
TaxesPreciseAmount string `json:"taxes_precise_amount,omitempty"`
Expand Down

0 comments on commit 8bf1042

Please sign in to comment.