Terminal Checkout API Response

Hi, I am calling terminal api checkout endpoint with sandbox values. It seems it returns almost immediately with the completed or failed status. I just wanted to ask if that is also going to be the case in real terminal… as in the awaiting the checkout api response would let us know if the payment was made successfully or not… Or if I will have to setup webhooks or use the get-terminal-checkout to find the result?

Hi @abbasfaisal welcome to the forums!

No, in production it will not work like that. In sandbox, since it doesn’t actually allow you to enter sandbox mode in terminal, the status is updated immediately. In the real world (production) you would definitely want to use webhooks or polling the GetTerminalCheckout endpoint.

1 Like