question

vladavip88 avatar image
vladavip88 asked

Order Payment Authorization REST API

Hi everyone.

We have app for food ordering in restaurants. Our app support TAB orders, so customer can order multiple time and pay on the end. What we want to do is to authorize order amount every time user update order. For example

  1. Customer start tab with ordering beer 5$
    1. We create order on clover
    2. We want to authorize this 5$
  2. Customer order burger 10$
    1. We update clover order
    2. We want to authorize additional 10$
  3. Customer want to close tab
    1. We use authorized sum and charge order

Is this possible to do with REST API?

Currently, we create order on clover using

/v3/merchants/{mId}/atomic_order/orders

and charge order immediately after creation using

/v1/orders/{orderId}/pay


What we are interested is incremental amount authorization

OrdersPayments
10 |2000

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

0 Answers

·

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