# Auto-sending receipts to customers?

**URL:** <https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622>\
**Category:** Feature Requests\
**Tags:** orders-api, payments-api\
**Created:** [August 7, 2020, 12:35am UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622 "2020-08-07T00:35:11Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/steve/32/147_2.png) [@Steve](https://developer.squareup.com/forums/u/Steve)\
**Post date:** [August 7, 2020, 12:35am UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/1 "2020-08-07T00:35:11Z")

</div>

Almost there… hehe this feels a bit like a marathon, and I do apologize for asking all these questions, but I have looked through the API’s thoroughly, and while there’s some discussion about it, I’m not seeing anything in the APIs that support it. This is the idea of having automatic e-mailing of a receipt to the customer (assuming we have their e-mail address, which we will) automatically when an order is placed. There is quite a bit of instruction to the customer about how they can opt-in to received these e-mail or text-message receipts, but it’s talking about using the Point of Sale App for that. I’ve looked in the Payments API, and sure enough, there appears to be a “receipt\_number” and “receipt\_url” field in the Payment object which I could use to display a link in the “thanks for your order!” page so the user can click to see and maybe print their receipt … but it would be much better to have that receipt e-mailed to the user automatically (with the e-mailed receipt also giving them the opportunity to opt out, etc.). I can’t find any obvious way to programmatically turn this functionality on (indeed, to be honest, I haven’t seen the receipt\_url work yet either, but I’ve only created a couple payments thus far…). Any help with this would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [August 7, 2020, 3:33pm UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/2 "2020-08-07T15:33:59Z")

</div>

This currently is not possible, unfortunately. There’s no way to send receipts via the API (manually or automatically). As you found, you can retrieve the `receipt_url` link from the Payment object, but you would still need to create the logic of sending an email if that’s what you intend on doing. I’ll update this to be a feature request, as it’s definitely a popular feature request.

---

<div class="post-metadata">

**Author:** ![Steve](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/steve/32/147_2.png) [@Steve](https://developer.squareup.com/forums/u/Steve)\
**Post date:** [August 8, 2020, 11:18pm UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/3 "2020-08-08T23:18:08Z")

</div>

OK, so I’m working out a method of sending the receipt to the end-user. Thanks for putting in the feature request, I’m finding that the Square API’s while functional, are not really designed to make it simple for a third-party merchant to easily put up their own online store - it feels like there are a lot of features that have been partially exposed via the API, which make it seem like it should be possible, but when you dig into it, it only works via the Square Online Store, or the POS app, etc…

But in any case, i get the “receipt\_url” back from the Payments API, but when I try to click on it, I get an empty page with “SERVER ERROR” at the top, and “We had a problem and weʼre working hard to fix it.” in the middle of the page. The URL that came from the Payments API was: [https://squareup.com/receipt/preview/JQau8vJMbs1HFEyDHKfx5HhMcgUZY](https://squareup.com/receipt/preview/JQau8vJMbs1HFEyDHKfx5HhMcgUZY) . Is this just because it’s from the Sandbox, or is there anything else I can try to get this working?

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [August 10, 2020, 3:45pm UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/4 "2020-08-10T15:45:15Z")

</div>

Yes, unfortunately receipts currently do not load correctly in sandbox. It would work in production, though.

---

<div class="post-metadata">

**Author:** ![tre](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tre](https://developer.squareup.com/forums/u/tre)\
**Post date:** [February 8, 2021, 2:57am UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/5 "2021-02-08T02:57:41Z")

</div>

Any update on this feature? I cannot believe this wasn’t the first feature implemented.

The Send Receipt button on dashboard sends a request with Payment ID and email to:  
[https://squareup.com/api/v1/payments/receipt](https://squareup.com/api/v1/payments/receipt)

If that endpoint was exposed (or converted to v2) it’d be possible to request it. Seems like a very easy/quick fix to an oft requested feature, no?

---

<div class="post-metadata">

**Author:** ![tre](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tre](https://developer.squareup.com/forums/u/tre)\
**Post date:** [February 10, 2021, 3:35am UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/6 "2021-02-10T03:35:04Z")

</div>

@sjosey see above please

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [February 10, 2021, 5:35pm UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/7 "2021-02-10T17:35:50Z")

</div>

No, no update on this unfortunately.

---

<div class="post-metadata">

**Author:** ![magistri-dev](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@magistri-dev](https://developer.squareup.com/forums/u/magistri-dev)\
**Post date:** [May 12, 2022, 8:15pm UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/8 "2022-05-12T20:15:59Z")

</div>

@sjosey Any update on this?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [May 12, 2022, 8:49pm UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/9 "2022-05-12T20:49:08Z")

</div>

Unfortunately no update at this time. 🙂

---

<div class="post-metadata">

**Author:** ![alexdsouza](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alexdsouza](https://developer.squareup.com/forums/u/alexdsouza)\
**Post date:** [May 17, 2022, 8:30pm UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/10 "2022-05-17T20:30:48Z")

</div>

when can we expect then

---

<div class="post-metadata">

**Author:** ![kpruhs](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kpruhs](https://developer.squareup.com/forums/u/kpruhs)\
**Post date:** [January 6, 2024, 1:16am UTC](https://developer.squareup.com/forums/t/auto-sending-receipts-to-customers/622/11 "2024-01-06T01:16:11Z")

</div>

This is absurd!

I’ve been looking for an API endpoint to simply send a receipt to clients after they pay online. I’ve found requests for this API feature dating back to 2016 in StackOverflow and on other forums but the Square dev team has essentially ignored the requests, with no constructive or informative responses.

If I ignored my client’s need like this I’d be destitute in a week. This is pathetic. It’s not a mystery why so many Square users are jumping to Stripe.

Why has there been no action taken to add a receipt endpoint? It’s 2024!
