Retrieve payment made on booking

Hi, is there a way to get the payment added on an appointment via api? In square dashboard when i click on a booking there is a call to /appointments/api/clients/…/reservations/history that return the payment, but i can not find a way to get a link between appointment and payment with the api

Currently there isn’t an easy way to map an appointment to a payment. Since the order_id nor the payment_id are in the bookings. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face: