Sandbox Demo Policies

Use the policies below to test various scenarios.

Lookup is the same on every endpoint: member ID, or first name + last name + DOB (case-insensitive). 400 / 404 / 502 error cases with blank names match on member ID only. Monetary fields are cents. If payer_id is blank, any payer will suffice. If zip is blank, use 10001.

How to call

POST /v1/estimate

Requires member_id, name, and DOB.

{
  "payer_id": "60054",
  "member_id": "ALFREDTEST",
  "member_first_name": "Alfred",
  "member_last_name": "Arnoldson",
  "member_dob": "2000-01-01",
  "provider_npi": "1234567890",
  "provider_session_cost": 10000
}

POST /v1/discover

Same name and DOB, plus zip and payer_id. No member_id.

POST /v1/scan

Same name, DOB, and zip. No payer_id or member_id.

POST /v1/medicaid

Same name and DOB, plus member_id and either payer_id or patient_state.
/discover and /scan return a thinner payload even when the same member has financials on /estimate. Error cases with blank names (00001MHMNF, PRONOTREC, and similar) only work on /v1/estimate.

Active commercial

What it testsMember IDNameDOBPayer
Starter: coinsurance after deductible, with OOP maxALFREDTESTAlfred Arnoldson2000-01-0160054
Active copay after deductible000011MHNABeatrice Waters2006-01-10
Active copay after deductible000012MHNAWilliam Phillips2000-09-05
Active copay after deductible000013MHNAMichael Young2005-03-08
Deductible and OOP max met000014MHNAJason Worsley1988-03-04
Deductible met000015MHNABetty Dill1993-10-26
Missing total deductible + OOPMUNKTOT0001Missing Totals2012-10-21
Commercial PPOMAPASSPPOJohn Simon1992-08-15

Government and dual-eligible

What it testsMember IDNameDOBZipPayer
Original Medicare00001MHOMCRLeo Harris1984-07-2510001
Original Medicaid00001MHOMCDStephen Osborne1997-07-0310001
Medicare Advantage000011MHMAJanice Ball1998-12-1710001
Medicare Advantage000012MHMARobert Antonio2003-04-0310001
Supplemental MedicareSUPPMED01Medicare Supplement1959-02-24
Managed Medicaid000011MHMMDoris Bradley1997-10-2310001
Managed Medicaid000012MHMMPaul Ford1997-10-1910001
Dual eligible, PPO87293465Alicia Mendez1957-03-1487726
Dual eligible, HMO49827356Marcus O’Neill1942-07-2260054
Original Medicare (named)UC0000005Zara Orr1958-07-0780309COMCR
QMB, fully covered9KF7-PQ4-1D89Emily Gallagher1943-02-0590026FLMCR
Managed Medicaid + MCO87777516Hilary Heber2011-06-0480201
Managed Medicaid + eligibility type DX47906595Tommy Sturgeon1984-04-0955401
Managed Medicaid + MCO01MCOACTIVEMichael Farmer1993-01-2933101
State Medicaid, active01STATEACTIVESuzanne Bullard2001-11-1310001
State Medicaid, active02STATEACTIVEAgnes Wendt2003-08-1310001
State Medicaid, inactive01STATEINACTIVETommy Austin1993-02-0510001

Carve-outs, additional policies, and TPAs

What it testsMember IDNameDOB
Magellan TPA000011MHCAMichael Morrow1997-02-22
Magellan TPACSGA7654321Liam McAllister1980-04-03
Optum TPA000012MHCAWm Jarvis1993-12-03
Carelon TPA000013MHCAJoseph Scruggs1989-08-10
Secondary Florida Medicaid000011MHSPWillie Ruiz2000-12-12
Primary other commercial000012MHSPJulio Vahle1999-01-09
Secondary Cigna000013MHSPMyrtle Greaves2002-06-19
Spouse + primary other planDUJ123456789Sarah Thompson1985-03-14
Utilization managerU12345673Nancy Drew1995-07-21

Partial coverage and errors

Expected Status CodeExpected Error CodeMember IDNameDOBZip
200Charlotte Williams1996-09-0594110
206UNKNOWN_COSTSHARE00001MHUCRonnie Wesley2007-02-2110001
206UNKNOWN_REMAININGS000011MHUARoy Ladage1990-01-0310001
400PAYER_NOT_SUPPORTED000012MHRR
400PROVIDER_NOT_RECOGNIZEDPRONOTREC
400PROVIDER_NOT_RECOGNIZEDAPDISCOVER400Pete Provider1975-05-0560601
404MEMBER_NOT_FOUND00001MHMNF
404MEMBER_NOT_FOUNDAPDISCOVER404Nora Notfound1985-07-0780202
404MEMBER_NOT_FOUNDCharlotte Reed1996-09-0594110
404MEMBER_NOT_FOUNDBenjamin Ward1981-12-1943215
429TOO_MANY_REQUESTSAPDISCOVER429Rita Ratelimit1988-08-1898101
502PAYER_FAILURE000011MHRR

Plan status

What it testsMember IDNameDOBZipPayerplan_status
Inactive / expired00001MHEXPNoah Parrish1990-04-1710001INACTIVE
Active at risk00001MHEXSBrian Murray2010-08-1510001ACTIVE_AT_RISK
Inactive namedECN123456789Sophia Kim2000-01-1910001MOBLSINACTIVE
Inactive named894726153Ethan Wright1990-04-2787726INACTIVE
Inactive commercialU987654321Elijah Foster1975-04-125540862308INACTIVE

Telehealth, marketplace, BlueCard, demo mismatch, and PCPs

What it testsMember IDNameDOBZipPayerNotes
Telehealth fully coveredU12345678Emily Chen1978-11-3010001NYBLSIn-person copay; telehealth $0
Telehealth copayH123456789Angela Brooks1982-08-0310001HUMANACoinsurance in-person
MarketplaceYUN12031213David Chen1978-05-0197214NYBLSMARKETPLACE
Marketplace + telehealthUC0000001Denzel Jordan1962-08-111000360054
Commercial HDHPUC0000002Sophie Lim1997-12-027521062308HSA HDHP
BlueCardBC0000001Alicia Ricci1985-10-0310001ALBLS
BlueCardBC0000002Emma Anderson1981-10-1530309ARBLSCopay, no deductible
Demographic mismatchDEMOMISSMATCHFirstname Lastname2000-01-0110001Matches even if name/DOB differ
Missing addressNO-ADDRESSGeorge Mendez1981-10-10NYBLSNo street/city/state/zip
Active PPOW123456789Liam Brooks1985-03-220211860054
Active HMOU123456789Emma Carter1992-07-147520162308
Active HMO999000123Ava Mitchell1999-11-026061487726
Active HMOUHC123456789Noah Bennett1978-08-309810187726
PCP with name, organization, + NPIPCPCOMPLETEBeverly Carroll1972-09-19
PCP with name + NPI, organization nullPCPPARTIALAbdul Aziz1989-04-04

Plan-year reset

These members have plan_reset_soon: TRUE

What it testsMember IDNameDOBreset_benefits_status
Reset detected, no actionRESETNACOPAYDustin Dixion2006-10-08DETECTED_NO_ACTION_REQUIRED
Reset detected, no action (coinsurance)RESETNACOINSFrancis Steadman2009-07-12DETECTED_NO_ACTION_REQUIRED
Action required: copay changeRESETARCOPAYMarlena Kopka2009-07-26DETECTED_ACTION_REQUIRED
Action required: coinsurance changeRESETARCOINSPhyllis Milam2003-09-05DETECTED_ACTION_REQUIRED
Action required: member ID changeRESETIDAngeles Walters2007-01-02DETECTED_ACTION_REQUIRED
Action required: OOP max changeRESETAROOPColby Abell2010-02-17DETECTED_ACTION_REQUIRED
Action required: copay + OOPRESETARCOPAYOOPHenry Harrelson2004-07-21DETECTED_ACTION_REQUIRED
Action required: copay + deductibleRESETARCOPAYDEDDonna Jones1999-08-02DETECTED_ACTION_REQUIRED
Action required: deductible + OOPRESETARDEDOOPLinda Koch2011-07-08DETECTED_ACTION_REQUIRED
Reset not detectedRESETNDAnnette Turner2006-12-27NOT_DETECTED

Suffix cheat sheet

Generated IDs look like 000011MHNA or 00001MHUC. Several people share a suffix; one example is enough.

SuffixScenarioHTTP
NAActive commercial200
UCUnknown cost share206
UAUnknown remainings206
OMCR / MAMedicare / Medicare Advantage200
OMCD / MMMedicaid / managed Medicaid200
CABehavioral-health carve-out (TPA)200
SPAdditional / coordination-of-benefits policy200
MNFMember not found404
RRPayer failure (1*RR) or payer not supported (2*RR)502 / 400
EXPInactive200
EXSActive at risk200
DMExtra active commercial variants200

Did this page help you?