I want to create an invoice to clover through API for that I have create an order using the API https://scl.clover.com/v1/orders/ , and after getting the order Id from this I called this API https://scl.clover.com/v1/orders/{orderId}/pay, Is this the correct way? If so the /pay call returns the below error
{
"message"
:
"401 Unauthorized"
}