question

jessejoh avatar image
jessejoh asked ·

Proper way to apply tips to an order via REST API

Good afternoon,


We have an online ordering app, and as of late the demand for tip integration has increased. What is the correct method of applying tips to an order created via the REST API and paid for using Clover Pay (via the REST API)?


I can't seem to find this documented anywhere.


Thank you!

OrdersREST API
10 |2000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered ·

I assume by "Clover Pay" you mean Developer Pay? If so - https://docs.clover.com/docs/developer-pay-api. You will notice a tipAmount in the example request (under the section titled "Payment Flow using a Vaulted card"). This being said the Developer Pay API is deprecated and will be essentially disabled at a time in the not too distant future. You should be using our newer Ecomm API - https://docs.clover.com/docs/ecommerce-data-model (for tips see https://docs.clover.com/docs/ecommerce-accepting-payments).

Share
10 |2000 characters needed characters left characters exceeded

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