Hello,
since yesterday create order point not working its giving 500 internal server error.
var client = new RestClient("https://scl-sandbox.dev.clover.com/v1/orders"); var request = new RestRequest(Method.POST); request.AddHeader("Accept", "application/json"); request.AddHeader("Content-Type", "application/json"); request.AddHeader("Authorization", "Bearer xxxxxxxxx"); request.AddParameter("application/json", "{\"items\":[{\"amount\":200,\"currency\":\"usd\",\"description\":\"item\",\"quantity\":1}],\"metadata\":{\"newKey\":\"testing\"},\"shipping\":{\"address\":{\"city\":\"Texas\",\"country\":\"US\",\"line1\":\"abc abc\",\"postal_code\":\"50001\",\"state\":\"TX\"},\"name\":\"nausss\",\"phone\":\"00000\"},\"currency\":\"usd\",\"email\":\"abc@gmail.com\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
Error
{ "message":"500 Internal Server Error" "error":{ "type":"api_error" "code":"processing_error" "message":"Internal Server Error." } }