API checkout

mail@pastecode.io avatar
unknown
plain_text
3 years ago
1.0 kB
4
Indexable
Never
[PATCH] https://dawi.mykuwaitnet.net/en/api/v1/checkout/5212/
Data
{"is_video_appointment": true, "used_credit": 13.2, "gateway_code": "kpayt"}

Response
{
    "id": 5212,
    "is_insured": false,
    "attachments": [],
    "apply_doctor_fees": false,
    "reschedule_appointment": null,
    "status": "open",
    "is_guest": false,
    "fee": "2.000",
    "doctor_fees": "11.200",
    "discount_amount": "0.000",
    "voucher_amount": "0.000",
    "total": "0.000",
    "date": "2021-06-06",
    "coupon_code": "",
    "used_credit": "13.200",
    "can_share_data": false,
    "is_on_payment": true,
    "is_video_meeting": true,
    "force_pay_doctor_fees": true,
    "insurance_not_accepted": false,
    "service_type": 4,
    "user": null,
    "patient": 358,
    "hospital": 2,
    "doctor": 43,
    "speciality": 15,
    "slot": 2322,
    "discount": null,
    "voucher": null,
    "wallet_txn": null,
    "second_opinion_questions": [],
    "appointment_url": "https://dawi.mykuwaitnet.net/en/api/v1/bookings/1937/"
}