Payment

https://api.minical.io/v2/booking/get_booking_payments Get Booking Payments

This endpoint allows you to get payments of a booking.

Parameter

Header

X-API-KEY string API key

Body

company_id integer PMS Property ID

booking_id integer PMS Booking ID

Responses

200 Payments successfully retrieved.
[
    {
        "payment_id": "37",
        "description": "",
        "date_time": "2020-07-06 11:53:31",
        "booking_id": "454",
        "amount": "150.00",
        "payment_type_id": "8490071469",
        "credit_card_id": "1016622",
        "selling_date": "2020-06-25",
        "is_deleted": "0",
        "user_id": "88",
        "customer_id": "8490850999",
        "payment_gateway_used": "MonerisGateway",
        "gateway_charge_id": "8-1_15;454",
        "read_only": "0",
        "payment_status": "charge",
        "parent_charge_id": null,
        "is_captured": "1",
        "logs": null
    },
    {
        "payment_id": "38",
        "description": "",
        "date_time": "2020-07-06 12:48:10",
        "booking_id": "454",
        "amount": "112.00",
        "payment_type_id": "8490071469",
        "credit_card_id": "1016622",
        "selling_date": "2020-06-25",
        "is_deleted": "0",
        "user_id": "88",
        "customer_id": "8490850999",
        "payment_gateway_used": "MonerisGateway",
        "gateway_charge_id": "14-1_15;454_1179703956",
        "read_only": "0",
        "payment_status": "charge",
        "parent_charge_id": null,
        "is_captured": "1",
        "logs": null
    }
]
404 Could not find to matching this query.
{
    "status": false,
    "error": "Unknown method."
}

Request Body

{
   "company_id": "8490006340",
   "booking_id": "454"
}

Last updated