Premium Webhook
TPA Stream can POST to a customer-provided URL whenever an insurance premium is confirmed for one of your members, or a confirmed premium changes. It is the API counterpart of the Premium Detail file: the same premiums, one at a time, as they become available.
This webhook is part of premium substantiation, which is enabled per
tenant. If your tenant does not have it, no premium webhooks are sent
and no new_premium events are recorded.
What counts as one premium
One premium is one member, one premium type and one coverage month: for example, a member's Medicare Part B premium for November 2026. A yearly Social Security letter therefore becomes twelve premiums, and twelve POSTs.
A premium can come from three sources, given in source:
source | Where the premium came from |
|---|---|
crawl | Read from Medicare.gov during a crawl of the member's account (Part B and Part D). |
crawl_page | Read from a page of a carrier's site saved during a crawl. |
statement | A premium document the member uploaded (for example a Social Security letter), reviewed and confirmed. |
When more than one source covers the same month, TPA Stream sends the most trusted one: an uploaded statement beats both kinds of crawl, and Medicare.gov beats a carrier page. Only confirmed premiums are sent; a premium waiting for review is not.
Trigger and action
Every premium has a stable premium_id built from the member, the
premium type and the month (for example 4821-medicare_part_b-2026-11).
It never changes for that member, type and month.
action | Sent when |
|---|---|
created | A premium is confirmed for a member, type and month for the first time. |
updated | The premium already sent for that premium_id changed: a new amount, carrier or plan, or a more trusted source replaced it. |
The common updated case: a crawl of Medicare.gov confirmed a Part B
premium, and later the member uploaded their Social Security letter
for the same months. You receive an updated POST with the same
premium_id, source: "statement" and the statement's amount, not a
second premium for that month. Store premiums keyed by premium_id
and treat every POST as an upsert.
premium_row_id is the id of the stored record behind the premium. It
matches premium.id in the Premium Detail file and id in
GET /api/member/<member_id>/premium. It changes when the source
changes, so use premium_id, not premium_row_id, as your key.
A crawl that reads the same amount again sends nothing. A confirmed
statement can cover months that have not started yet; those premiums
are sent when the statement is confirmed, with their coverage_month.
Configuring the URL
Your TPA Stream administrator sets the destination URL under Settings > Webhook Settings, in the Premium Webhook URL field. Step-by-step (requires a TPA Stream login): https://support.tpastream.com/kb/setting-up-webhooks
Request shape
POST with Content-Type: application/json:
{
"data": {
"event": "new_premium",
"action": "updated",
"premium_id": "4821-medicare_part_b-2026-11",
"premium_row_id": 99173,
"member": { "id": 4821, "employer": { "id": 77 } },
"policy_holder": null,
"payer": null,
"premium_type": "medicare_part_b",
"label": "Medicare Part B premium",
"carrier_name": "Social Security Administration",
"plan_name": null,
"coverage_month": "2026-11-01",
"coverage_month_end": "2026-11-30",
"amount": "202.90",
"source": "statement",
"status": "confirmed",
"confidence": "high",
"confirmed_at": "2026-11-18T14:03:11.482910+00:00",
"premium_statement_id": 3108,
"modified": "2026-11-18T14:03:11.482910+00:00"
}
}
| Field | Description |
|---|---|
event | Always new_premium. |
action | created or updated (see above). |
premium_id | Stable id of the premium: member, premium type and month. |
premium_row_id | Id of the stored record currently behind the premium. |
member.id, member.employer.id | The TPA Stream member and employer. |
policy_holder.id | The carrier login the premium was read from; null for an uploaded statement. |
payer.id, payer.name | The payer of that login; null when there is no login. |
premium_type | medicare_part_b, medicare_part_d, medigap, medicare_advantage, individual_coverage, dental, vision or other. More values may be added; treat an unknown one like other. |
label | A readable name for the premium type. |
carrier_name, plan_name | As read from the source; either can be null. |
coverage_month, coverage_month_end | First and last day of the month the premium pays for. |
amount | The monthly premium, as a string with two decimals. |
source | crawl, crawl_page or statement. |
status | Always confirmed in this webhook. |
confidence | high, medium or low. |
confirmed_at | When the premium was confirmed. |
premium_statement_id | The uploaded or saved document behind the premium; null for a Medicare.gov crawl. |
modified | When the stored record last changed. If two POSTs for one premium_id arrive out of order, keep the one with the later modified. |
Like every TPA Stream webhook, the request is signed via the
TPAStream-Signature header and retried on failure per
Webhook Security.
What is not sent
- Premiums waiting for review, and premiums that were voided.
- A premium that stops being sent (for example a statement rejected
after it was confirmed) does not send a removal today. Reconcile
against
GET /api/member/<member_id>/premiumif you need to detect that.
Missed a webhook?
Webhook delivery is at most 4 hours of retries. Every premium POST is
also recorded in the Events Feed as a
new_premium event, whether or not you set a webhook URL, so you can
page forward from a cursor and recover anything you missed.