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?
