Adding and updating a tip to a an order with external tender api
We are trying to implement creating an order that will use an external tender. We are trying to determine how we can update a tip when the order gets submitted via the server via an api call to update the tip. Based on the docs, "You can use the orders API to update a tip, or gratuity, amount in an existing credit card payment for an order." Is there a way to do this for an external Tender? All of the orders we will be creating will start with a 0.00 tip and will be added later.
-
Official comment
Hi Alex,
Thanks for reaching out! When creating an order with an external tender, you will use
“type”: “OTHER”within the payments array. Here is documentation on that piece.Later, when updating the tip, you can make a PATCH request to update the tip using the order GUID, check GUID, and payment GUID.
Let me know if you have any other questions!
Taylor
-
Taylor,
Thanks so much! We will definitely be trying that and hopefully we can get it to work. It was just a bit unclear about if this would work with other payment types.
Cheers,
Alex
0
Please sign in to leave a comment.
Comments
2 comments