What is the proper set of API calls to simulate something like a gas station pump credit card transaction?

New to the Square API here and payments API in general.

Is there a proper best practice sequence of API calls to simulate a gas station credit card charge?

  • First, user needs to insert card into reader, so the card will need to be verified from Square side and some success response is sent back - what API call can we use to do this?
  • Then the user starts pumping and at the end the total amount for the credit charge is calculated and then sent as an “Order” or “Checkout” calls via Square API?

Currently with our in person payment solutions the ability to authorize a card payment with a reader and settle for for an amount isn’t currently available. :slightly_smiling_face: