@orangecheck/me-client / VerifyEventResult
Interface: VerifyEventResult
Defined in: me-client/src/event.ts:183
Result of replay-verifying a billable envelope against the integrator's price config. Every field returned tells the caller WHY a divergence happened — they can render it directly.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-expected"></a> expected | | { gross_fee_sats: number; platform_fee_sats: number; site_rebate_sats: number; user_earned_sats: number; } | null | What computeFees() returned for the envelope's subtype + amount, given the integrator's current price config. Useful for the /audit divergence tracker — render expected vs actual side by side. Null when the subtype isn't enabled for this integrator. | me-client/src/event.ts:205 |
<a id="property-issues"></a> issues | { actual: number | null; expected: number | null; field: | "gross_fee_sats" | "platform_fee_sats" | "user_earned_sats" | "site_rebate_sats" | "subtype_disabled" | "subtype_unconfigured" | "percent_amount_missing"; message: string; }[] | Issues found during verification, with field-level granularity so callers can highlight exactly which line is off. | me-client/src/event.ts:188 |
<a id="property-ok"></a> ok | boolean | True iff every expected fee equals the recorded fee. | me-client/src/event.ts:185 |