v1
Get Copay Request by request_id
Get information around an existing Copay Request
get/v1/copay_request/{request_id}
Request
- Base URLhttps://api.truepill.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
request_idstring required
Request id
Response
Accepted
Example response
{
"created_at": "2021-09-14T14:22:37.000Z",
"status": "success",
"error_code": "CR019",
"rejection_reason": "Bad Insurance Details",
"additional_rejection_details": "Missing/Invalid Group Number",
"triage_reason": "Other Reason",
"additional_triage_details": "Maint dose",
"patient_token": "abc123",
"prescriptions": [
{
"prescription_token": "abc123",
"prescribed_written_name": "Ibuprofen",
"quantity": 30,
"copay_amount": 10,
"fill_number": 1,
"error_code": "R009",
"rejection_reason": "Not covered by insurance",
"additional_rejection_details": "Med not covered by insurance"
}
],
"metadata": "RX12343565",
"notes": "Med notes",
"ship_to_state": "CA"
}Changes
No recorded changes to this operation across all 2 revisions of this API.