The use case here, is that a customer is purchasing items, but they have also been given a discount that actually lowers the total amount due down to zero. However, the customer is still given the option to provide a tip amount.
If we try process this scenario using Square’s Terminal “Checkout” API to take payment on a Square Terminal device, we immediately get an error back:
{
"errors": [
{
"code": "BAD_REQUEST",
"detail": "amount must be > 0",
"field": "amount_money.amount",
"category": "INVALID_REQUEST_ERROR"
}
]
}
NOTE: We have verified that it is possible to apply this kind of tip only payment to a Square Order using the Payments API. We just can’t seem to take a tip only payment using the Terminal API and a Square device.
Any help or guidance would be greatly appreciated.
2 posts - 2 participants