Strange issue with Create payment link when applying a Tax object

The Square Create payment API states that either a percentage or amount of money should be used with a tax object but not both. Cool, if I set applied_money for the tax object and leave the percentage empty, the response is:

{
  "errors": [
    {
      "category": "INVALID_REQUEST_ERROR",
      "code": "MISSING_REQUIRED_PARAMETER",
      "detail": "Missing required parameter.",
      "field": "order.taxes[0].percentage"
    }
  ]
}

Thanks for bringing this to our attention. With order only a percentage can be passed in for taxes when creating orders. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

1 Like