Uploaded image for project: 'Atlassian Marketplace'
  1. Atlassian Marketplace
  2. MP-367

Partner discount amount data rounding off in Get Transaction API

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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.

       

            [MP-367] Partner discount amount data rounding off in Get Transaction API

            Rijoy Brahmakulam Lonappan made changes -
            Assignee Original: Rijoy Brahmakulam Lonappan [ 453ee4e3cd43 ] New: Shreyash Krishna [ be598d23989a ]
            Samridhi Tyagi made changes -
            Assignee Original: Samridhi Tyagi [ 7591cd6f70df ] New: Rijoy Brahmakulam Lonappan [ 453ee4e3cd43 ]
            Garvit Dixit created issue -

              be598d23989a Shreyash Krishna
              f47f2dce09c1 Garvit Dixit
              Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: