question

Chris H avatar image
Chris H asked bhuvanmalik007 commented

Paying for a ecommerce charge with the legacy clover api v2

i'm creating a preathorized card charge for an order using the the ecommerce api here:

https://docs.clover.com/clover-platform/reference/charges#createcharge


is it possible to pay the order, once line items have been added using the legacy clover pay api endpoint (v2/merchant/pay) so that i can provide a tip for the employee that may handle the order

e-commerce api
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 bhuvanmalik007 commented

No. The good news is that both the /charges and /order/pay endpoints allow you to pass a tip (tip_amount). This is new and the change hasn't been reflected in our docs yet. Give it a try and let me know how it works for you (I am not certain if the change has hit sandbox yet).

2 comments
10 |2000

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

Chris H avatar image Chris H commented ·

awesome thanks sir! ill give it a shot

0 Likes 0 ·
bhuvanmalik007 avatar image bhuvanmalik007 Chris H commented ·

Hey, did that work for you?

0 Likes 0 ·

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