Subscribe plan

This page will help you get started with Subscribe for a health plan.

API url
Staging: https://app.staging.rohealth.ng/api/external/plans
Production: https://app.rohealth.ng/api/external/plans

POST request

Below is the body payload

{
    "user_id": "{{uuid}}",
    "plan_id": 0,
    "hospital_ids": [0, 0]


}

Below is the sample body payload

{
    "user_id": "9e20c3ce-b7aa-4793-a9b9-03a73599850a",
    "plan_id": 2,
    "hospital_ids": [53065, 37]


}

Below is a sample response

{
    "status": {
        "code": 100,
        "desc": "Success"
    },
    "entity": {
        "status": 1,
        "plan_effective_date": "2022-10-01 10:59:59",
        "plan_expiry_date": "2022-11-01 10:59:59",
        "plan_id": 2
    },
    "meta": null
}
Language
Credentials
Query
Click Try It! to start a request and see the response here!