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:
https://developer.squareup.com/docs/orders-api/pay-for-orders
Additional Documentation
https://developer.squareup.com/docs/orders-api/what-it-does
Order-Ahead Application Use Case
https://developer.squareup.com/docs/checkout-api/square-order-checkout
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.