v1
Get Fill Request by token
Once a Fill Request has been submitted, you can look up the request payload that was submitted at any time for reference with an API request<br/><br/>This endpoint requires a request_token. You will receive a request_token upon a successful Fill Request API submission response in the request_id field.
get/v1/fill_request/{url_token}
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
url_tokenstring required
URL token
Response
Accepted
Example response
{
"patient_first_name": "Stephen",
"patient_last_name": "Strange",
"metadata": "some metadata",
"patient_payment_type": "cash",
"is_cancellable": true,
"address_to_name": "Stephen Strange",
"address_to_street1": "1700 S Amphlett Blvd",
"address_to_street2": "#221",
"address_to_city": "San Mateo",
"address_to_state": "CA",
"address_to_phone": "1112223333",
"address_to_email": "truepill@truepill.com",
"address_to_zip": "94402",
"patient_survey": {
"medications": "Tafluprost",
"allergies": "Penicillian",
"conditions": "Glaucoma"
},
"medications": [
{
"prescription_token": "e61e324f9018",
"quantity": 30,
"is_cancellable": true
}
],
"otc_products": [
{
"sku": "SKU-123-456",
"quantity": 1,
"is_cancellable": true
}
],
"shipping_method": "standard",
"address_to_country": "US",
"status": "triage",
"url_token": "abc123",
"created_at": "2021-09-14T14:22:37.000Z",
"tracking_url": "https://www.fedex.com/apps/fedextrack/?action=track&cntry_code=us&trackingnumber=12345",
"receipt_items": [
{
"category": "prescription_copay",
"prescription_token": "0154cc7b065",
"amount": 11.43,
"description": "Copay for medication A"
}
],
"current_stripe_payment": {
"cardholder_name": "Bruce Banner",
"last_four_digits": "6789",
"stripe_id": "pi_10f410zj3018s2",
"amount": 12.75,
"description": "Paid by patient"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.