I am receiving
"{"message":"400 Bad Request","error":{"type":"invalid_request_error","code":"invalid_request","message":"Please provide valid collection of items for this order"}}"
I am using:
client = new RestClient("https://scl.clover.com/v1/orders");
request = new RestRequest(Method.POST);
request.AddHeader("accept", "application/json");
request.AddHeader("authorization", "Bearer " + App.ACCESS_TOKEN);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\"amount\":10000,\"currency\":\"CAD\"}", ParameterType.RequestBody);
IRestResponse response =client.Execute(request);
It's a C#
That error seems pretty self explanatory, add some items to the order.
1 Person is following this question.