Partner discount amount data rounding off in Get Transaction API

XMLWordPrintable

      Hey Team,

      We have a request that the data in the Get Transaction API for the discount amount and the partnerDiscountAmount to be the same. Currently the amount field in discount is rounded off and the partnerDiscountAmount is with the decimal value.

       

      Ex.

      "partnerDiscountAmount": 215.76249999999996,
                      "discounts": [
                          {
                              "type": "EXPERT",
                              "amount": 216.0
                          }
                      ]
      

      The request is for both the fields to be the same without rounding off.

       

            Assignee:
            Garvit Dixit
            Reporter:
            Garvit Dixit
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: