question

brokenoval avatar image
brokenoval asked David Marginian Deactivated answered

Is it possible to update a payment amount on an order?

A bug snuck into production and applied the wrong payment amount onto some orders. I'm trying to figure out how to change the payment amount to the correct value to fix the reporting.


Specifically what's happened is that and order may have been created for €2.00 but payment of €200 was applied to the same order. I've recreated a similar situation on Sandbox to try to fix this e.g. https://sandbox.dev.clover.com/r/ZNN6NKK5A47F2


You can see that the total payment there is $5.00 when the order total is only $3.60.


I can GET the correct payment.id from that order, and I've attempted using the following endpoint to update that payment:
https://apisandbox.dev.clover.com/v3/merchants/9AS1Q41SP1JRG/payments/SB8W419EBKBEJ

with body.amount: 360


I get the following response:

{
     "message""Currently only lineItem payments or employee associated to payment can be updated. No lineItem payments or employee ID found."}


Is it possible to update an existing order level payment (not line item payment) at all?


Thanks!

REST APIPayments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

No, it is not possible to adjust the amount of a payment.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community