api
Create Insurance
Associate an Insurance with the Patient<br/><br/>With a Patient created in the Truepill ecosystem, you can associate an Insurance to that patient with the Create Insurance API endpoint using the patient_token.<br/><br/>Upon a successful response, an insurance_token is provided that can be used along with the existing patient_token for Copay and Fill Requests.<br/><br/>Truepill supports multiple insurances should a patient provide more than one insurance.
post/api/v1/insurance
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"insurance": {
"cardholder_id": "A9321328",
"rx_group": "006726",
"rx_bin": "997928",
"pcn": "AXA",
"phone_number": "(955) 372-4143",
"relationship_code": 1,
"card_type": "insurance",
"person_code": "01",
"coverage_type": "insurance"
},
"patient_token": "4526d90a"
}Response
Created
Example response
{
"request_id": "6996e3bde41c7fabbbd3df39619f78bf",
"status": "success",
"details": {
"insurance_token": "498147cb8c59541b"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.