Paddle refund created notifications on your phone.

Get a low-priority push notification when a Paddle refund is created, including whether it's still waiting for approval.

adjustment.createdFinancePayments
How it works

Three steps to your first push

STEP 01

Install the recipe

One click in Studio gives you a personal webhook URL.

STEP 02

Paste your URL into Paddle

Add it as a webhook for adjustment.created.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the Paddle adjustment.created webhook

  1. Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
  2. In Paddle, go to Developer tools > Notifications and click New destination.
  3. Choose Webhook as the type and paste your webhook URL as the URL.https://••••••••/•••••••• your personal URL, shown after install
  4. Select the adjustment.created event and save the destination.
  5. Refunds, credits and chargebacks all arrive as `adjustment.created`. This recipe only reacts to refunds, so you can point the chargeback recipe at the same event without double pushes.
  6. The **View transaction** button opens the live Paddle dashboard. Paddle doesn't say in the event whether it came from sandbox or live, so if you're testing in sandbox, change `DASHBOARD` at the top of the code to `https://sandbox-vendors.paddle.com`.
  7. Paddle signs each webhook with a `Paddle-Signature` header, but JustPush doesn't verify it yet. Keep your endpoint URL private.
The code

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.

transform.js
1// Paddle → refund created
2// Fires when a refund is created (Paddle reviews most refunds before approving them).
3// Docs: https://developer.paddle.com/webhooks/overview
4//
5// Paste this into a JustPush Studio integration and add a Paddle notification destination
6// for the "adjustment.created" event pointing at the integration's endpoint URL.
7
8// Paddle amounts are strings in the currency's smallest unit ("4900" = €49.00),
9// except for zero-decimal currencies such as JPY, where "500" means ¥500.
10const ZERO_DECIMAL = new Set(["jpy", "krw"])
11
12function money(amount, currency) {
13 const units = Number(amount)
14
15 // Don't invent a figure when the event doesn't carry one.
16 if (amount == null || amount === "" || !Number.isFinite(units) || !currency) return null
17
18 const code = String(currency).toLowerCase()
19 const value = ZERO_DECIMAL.has(code) ? units : units / 100
20
21 try {
22 return new Intl.NumberFormat("en-GB", { style: "currency", currency: code }).format(value)
23 } catch {
24 return `${value} ${code.toUpperCase()}`
25 }
26}
27
28// Paddle events don't say whether they came from sandbox or live, so set this yourself.
29// Sandbox: "https://sandbox-vendors.paddle.com"
30const DASHBOARD = "https://vendors.paddle.com"
31
32function handleRequest(request) {
33 const event = request.body
34
35 // Guard: only handle refunds, so other Paddle events on this integration stay quiet.
36 if (!event?.data || event.event_type !== "adjustment.created") {
37 console.log(`Ignoring Paddle event "${event?.event_type ?? "unknown"}"`)
38 return null
39 }
40
41 // Refunds, credits and chargebacks all arrive as adjustment.created; keep refunds only.
42 if (event.data.action !== "refund") {
43 console.log(`Ignoring "${event.data.action}" adjustment — not a refund`)
44 return null
45 }
46
47 const adjustment = event.data
48 const amount = money(adjustment.totals?.total, adjustment.currency_code ?? adjustment.totals?.currency_code)
49 const kind = adjustment.type === "partial" ? "Partial refund" : "Refund"
50 const reason = adjustment.reason ? ` — ${adjustment.reason}` : ""
51 const pending = adjustment.status === "pending_approval" ? ". Waiting for Paddle to approve." : ""
52
53 return {
54 title: "↩️ Refund created",
55 message: `${kind}${amount ? ` of ${amount}` : ""}${reason}${pending}`,
56 topic: "Paddle",
57 priority: -1, // Low — you (or a teammate) most likely requested it yourself
58 buttons: adjustment.transaction_id
59 ? [{ cta: "View transaction", url: `${DASHBOARD}/transactions-v2/${adjustment.transaction_id}` }]
60 : [],
61 }
62}
Payload

The Paddle adjustment.created webhook

This is what Paddle sends to your URL for adjustment.created. It is a sample, trimmed to the fields recipes use.

adjustment.created · sample.json
1{
2 "data": {
3 "id": "adj_01jrefund",
4 "type": "partial",
5 "action": "refund",
6 "reason": "Customer was double charged",
7 "status": "pending_approval",
8 "totals": {
9 "fee": "75",
10 "tax": "260",
11 "total": "1500",
12 "earnings": "1165",
13 "subtotal": "1240",
14 "currency_code": "EUR"
15 },
16 "customer_id": "ctm_01jjane",
17 "currency_code": "EUR",
18 "transaction_id": "txn_01jpaid",
19 "subscription_id": "sub_01jpro"
20 },
21 "event_id": "evt_01jrefundcreated",
22 "event_type": "adjustment.created",
23 "occurred_at": "2026-09-28T09:30:00.000000Z",
24 "notification_id": "ntf_01jrefundcreated"
25}
FAQ

Paddle refund created 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 Paddle 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.

Ready when you are

Paddle on your phone in two minutes.

Install the recipe, paste one URL, done. Free for 30 days, no credit card required.