Square refund issued notifications on your phone.
Get a low-priority push notification when a Square payment is refunded, from the Dashboard, Point of Sale or the Refunds API, with the amount and reason.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Square
Add it as a webhook for refund.created.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Square refund.created webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In the Square Developer Console (developer.squareup.com/apps), open your application (create a free one if you have none) and switch to Production.
- Under Webhooks, choose Subscriptions and click Add subscription.
- Paste your webhook URL as the notification URL, tick the refund.created event, and save.https://••••••••/•••••••• your personal URL, shown after install
- Tick **refund.created** only. Square also sends **refund.updated** each time the refund's status changes (for example from pending to completed); the recipe ignores those so you get one push per refund.
- Sandbox deliveries are marked **(sandbox)**.
- Square signs every notification with an `x-square-hmacsha256-signature` header (an HMAC-SHA256 of your notification URL and the body, keyed with the subscription's signature key), but JustPush doesn't check that signature yet, so keep your endpoint URL private.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Square refund.created webhook
This is what Square sends to your URL for refund.created. It is a sample, trimmed to the fields recipes use.
Square refund issued notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Square and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Square on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.