Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

πŸ’³Create mCredit Case

Creates a new MCredit case by submitting patient and institution details together with a prescription file.

POST /create_mcredit_case

Creates a mcredit endpoint

Headers

Name
Value

Content-Type

application/json

Authorization

x-api-key

Body

Name
Type
Description

institution_name

string

Name of institution

full_name

string

Full name

phone

string

Phone number

prescription_file

file

Prescription file

agent_code

string

Agent Code

Response

{
    "code": 200,
    "success": true,
    "message": "M-CrediT case created successfully",
    "data": {
        "id": 6,
        "case_number": "MCW23062026D55CF9",
        "status": "Prescription Received - Awaiting Pharmacist Review",
        "pre_screen_result": "passed_prescreening",
        "review_flags": []
    }
}

Last updated