How to collect payment for appointment booking using Square's In App Payment SDK

How can i collect the payment for the user’s booking using Square’s In App Payment SDK. and mark the booking as PAID.
if there any other way is available then also let me know.

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

In-App Payments SDK: How It Works
Install the In-App Payments SDK
Take a Cash Payment

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.