Credit Card payment type is not working

in Development
Hello,
Like i mentioned in that post (https://community.lightspeedhq.com/en/discussion/1634/salelines-item-in-return-relations) 4 days ago, some functions of the lightspeed has a strange behavior in some api endpoints and functions.
Yesterday I was facing this problem too:
When I tried pay using by credit card the sale start receiving the message "Cannot complete an out of balance sale. Non-cash payments are greater than the total."
My JSON code looks like:
It was working some days ago in the same structure, and now only for credit card payment it isn't anymore.
Thank you.
1 comment
This error suggests that the amount you're sending to the API is greater than the API is expected. You should cross-check the parameters to see what's pushing a value over than expected value
https://maurisource.com / [email protected]
Magento 1 integration | Magento 2 integration | Custom integrations? Hire me