curl --location --request POST '/users/payment/apartment' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"fromDate": "2025-01-07",
"toDate": "2025-01-09",
"price": 1000000,
"amount": 2000000,
"reference": "1711484572341",
"currency": "NGN",
"apartmentId": "67624bbc8e929f905db6bc28",
"channel": "card",
"reservation": {
"type": "self"
},
"numberOfPeople": 3,
"occupation": "Developer",
"city": "Lagos",
"purpose": "I wanted to stay for a day",
"isDiscount": false
}'{
"status": true,
"message": "Payment Initiation is successful",
"data": {
"userId": "66084391607d43e029086221",
"apartmentId": "67624bbc8e929f905db6bc28",
"occupation": "Developer",
"purpose": "I wanted to stay for a day",
"currency": "NGN",
"amount": 2000000,
"reservation": {
"type": "self",
"_id": "67677fcb8176257d49b46048"
},
"isDiscount": false,
"nights": 2,
"fromDate": "2025-01-05",
"toDate": "2025-01-07",
"status": false,
"channel": "card",
"reference": "1711484572341",
"_id": "67677fcb8176257d49b46047",
"createdAt": "2024-12-22T02:56:11.762Z",
"updatedAt": "2024-12-22T02:56:11.762Z",
"__v": 0
}
}