The Order API, Create Order endpoint doc has a whole bunch of READ ONLY properties cited as existing on the Request body.
I see that some of those, like
metadata are clearly there to help the requesting application keep track of details and are not persisted in Square’s database. But others like
created_at seem like they are created by Square and not by the sending application and would exist on the response body and not the request body. Am I interpreting that correctly?
And what about the BETA properties like
net_amounts. Are these meant to be calculated by the sending application? Or are these calculated by Square and sent in the return json?