post
https://api.trifft.io/v1/points-calculator
Estimates how many points a member (or anonymous guest) would earn for a given purchase, before the transaction is submitted. This is a read-only preview endpoint — it does not create transactions or credit wallets.
Supports two modes:
- Single-item mode — send
amountand optionallysku. Used for product detail page point previews. - Checkout mode — send a non-empty
itemsarray. Used for full cart or checkout point previews.
The calculation respects vendor wallet configuration (exchange rate, rounding, gross vs net-of-fees base), member tier multipliers when member_id is provided, ignored SKU rules, and active product points multiplier promotions.
When wallets are disabled for the vendor or member, returns { "points": 0, "base_points": 0, "bonus": [] }.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Unauthorized — missing or invalid Bearer token.
403Forbidden — API token lacks the required ROLE_WRITE_SEGMENT role.
