How I removed the Receipt Screen for Terminal API

Ok I have now managed to remove the Receipt Screen with the API by using the following code: Just posting this here as there seems to be no one that could explain how to do it and several people were looking for this solution.

Just enter

“”“skip_receipt_screen”“:true” & _
“},” & _

After your device Options line in the code (full code that I use is below)

jsonBody = “{”“idempotency_key”“:”“” & orderId & “”“,” & _
“”“checkout”“:{” & _
“”“amount_money”“:{”“amount”“:” & CLng(totalAmount * 100) & “,”“currency”“:”“GBP”“},” & _
“”“device_options”“:{”“device_id”“:”“” & deviceId & “”“,” & _
“”“skip_receipt_screen”“:true” & _
“},” & _
“”“reference_id”“:”“” & orderId & “”“,” & _
“”“note”“:”“Type your own description here for notes”“” & _
“}” & _
“}”

:waving_hand: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Take a Pickup Order and Pay for It
Mobile Web Technical Reference
Remove the Postal Code Requirement

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

I’m glad you found a solution to skip the receipt screen in your implementation. It seems like you’ve added the "skip_receipt_screen": true option to your JSON request body, which is a useful way to customize the checkout flow to better fit your needs. This can be particularly helpful in streamlining the user experience by removing unnecessary steps. If others are looking for similar functionality, your approach could be a valuable reference.

This answer was reviewed by @Bryan-Square.