Payments
List Payments
Endpoint
GET /api/v1/client/paymentsQuery Parameters
Example Request
curl "https://api.hostelmate.co/api/v1/client/payments?bid=e7b7f6bb-6c0c-4e2c-9b3e-9c6f2a1c0a77" \
-H "X-API-Key: <your_api_key>" \
-H "Content-Type: application/json"Example Response (200 OK)
[
{
"id": "7b9e2f12-34cd-4e89-bf45-4a18f5a8a1f0",
"bid": "e7b7f6bb-6c0c-4e2c-9b3e-9c6f2a1c0a77",
"gid": "7f99c230-8f64-4ecb-8804-d9ea5496bf63",
"amount": "260.0000",
"paymentMethod": "POS",
"type": "income",
"description": "Room upgrade fee",
"name": "Front Desk Payment",
"date": "2025-10-02T11:00:00Z",
"status": true
}
]Create Payment
Endpoint
Request Payload
Field
Type
Description
Example curl
Response (201 Created)
Update Payment
Endpoint
Example curl
Delete Payment (Soft Delete)
Endpoint
Response
Last updated