Skip to main content
POST
/
premiums
/
age_banded_table
cURL
curl --request POST \
  --url https://sandbox.withclasp.com/premiums/age_banded_table \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": "<string>",
  "state": "AL"
}'
[
  {
    "coverage_type": "member",
    "tobacco_usage": true,
    "relationship_category": "member",
    "age": "<string>",
    "amount": "<string>"
  }
]

Authorizations

Authorization
string
header
required

API Key authentication with required prefix "Bearer"

Body

application/json
amount
string<decimal>
required

The premium amount for a 21-year-old.

state
enum<string>
required
  • AL - AL
  • AK - AK
  • AZ - AZ
  • AR - AR
  • CA - CA
  • CO - CO
  • CT - CT
  • DE - DE
  • DC - DC
  • FL - FL
  • GA - GA
  • HI - HI
  • ID - ID
  • IL - IL
  • IN - IN
  • IA - IA
  • KS - KS
  • KY - KY
  • LA - LA
  • ME - ME
  • MD - MD
  • MA - MA
  • MI - MI
  • MN - MN
  • MS - MS
  • MO - MO
  • MT - MT
  • NE - NE
  • NV - NV
  • NH - NH
  • NJ - NJ
  • NM - NM
  • NY - NY
  • NC - NC
  • ND - ND
  • OH - OH
  • OK - OK
  • OR - OR
  • PA - PA
  • RI - RI
  • SC - SC
  • SD - SD
  • TN - TN
  • TX - TX
  • UT - UT
  • VT - VT
  • VA - VA
  • WA - WA
  • WV - WV
  • WI - WI
  • WY - WY
Available options:
AL,
AK,
AZ,
AR,
CA,
CO,
CT,
DE,
DC,
FL,
GA,
HI,
ID,
IL,
IN,
IA,
KS,
KY,
LA,
ME,
MD,
MA,
MI,
MN,
MS,
MO,
MT,
NE,
NV,
NH,
NJ,
NM,
NY,
NC,
ND,
OH,
OK,
OR,
PA,
RI,
SC,
SD,
TN,
TX,
UT,
VT,
VA,
WA,
WV,
WI,
WY

Response

200 - application/json
amount
string<decimal>
required

The amount of the premium. For example '100' to define a rate of $100.

coverage_type
enum<string> | null

The coverage type to which this premium applies. For example 'member' to define a rate for a member-only enrollment.

Available options:
member,
member_spouse,
member_child,
member_children,
member_family
tobacco_usage
boolean | null

Whether this rate depends on tobacco usage. Leave null when not applicable.

relationship_category
enum<string> | null

The relationship category to which this premium applies. For example 'member' to define a rate for a member and 'child' to define a rate for a child.

Available options:
member,
spouse,
child
age
string<decimal> | null

The age to which this premium applies. For example '18' to define a rate for a 18-year-old.

I