api

Create Direct Transfer

Create a direct pharmacy-to-pharmacy transfer of the prescription<br/><br/>A direct transfer is a pharmacy-to-pharmacy transfer of the prescription between your pharmacy and a Truepill pharmacy. This method works best for customers that operate their own pharmacies and are looking for a programmatic way to transfer a prescription.<br/><br/>And similar to a traditional transfer request, there are required fields related to the pharmacist transferring out the prescription, and the pharmacist transferring in the prescription.<br/><br/>This approach requires a digital copy of the original prescription.

post/api/v1/direct_transfer

Request body

metadatastring
patient_tokenstring

Token to reference patient record

sourcestring

Example request

{
  "prescriber": {
    "prescriber_type": "OD",
    "first_name": "Stephen",
    "last_name": "Strange",
    "address": {
      "street1": "123 Some Lane",
      "city": "San Mateo",
      "state": "CA",
      "zip": "94538"
    },
    "npi": "123123123"
  },
  "patient_token": "4526d90a",
  "transfer_from": {
    "name": "Walmart Pharmacy",
    "pharmacist": "Dr. Storm",
    "id_number": "490382308",
    "address": {
      "street1": "123 Some Lane",
      "city": "San Mateo",
      "state": "CA",
      "zip": "94538"
    }
  },
  "transfer_to": {
    "name": "Walmart Pharmacy",
    "pharmacist": "Dr. Storm"
  },
  "prescription": {
    "medication_name": "Finasteride",
    "quantity_written": "60",
    "quantity_dispensed": "60",
    "medication_sig": "Apply daily.",
    "written_date": "20180401",
    "expiration_date": "20180401",
    "last_fill_date": "20180401",
    "first_fill_date": "20180401",
    "number": "4567",
    "direct_transfer_url": "https://user:securelogin@www.assets.com/rx/saijhofiasjfoasoi2f.png",
    "can_substitute": true,
    "prescribed_ndc": "12345678912",
    "days_supply": 30,
    "icd10_code": "G43.909",
    "notes": "A note here",
    "annotation": "Hair loss treatment",
    "diagnosis": "Male pattern baldness",
    "quantity_transferred": "60",
    "original_refills": 3
  }
}

Response

Accepted

Changes