Apply service charge to order created via API

I am testing creating an order via the API in the sandbox, and I’d like to apply a taxable 15% service charge to the order subtotal. However, the service charge is not being applied. The sandbox UI doesn’t have service charges - is this just not supported for the sandbox?

:waving_hand: 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

Order Taxes
Apply Taxes, Discounts, and Service Charges
Test in the Sandbox

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.