Stripe payment → WhatsApp alert, no code
A Stripe event destination can send payment_intent.succeeded to a URL. A pingwa hook URL turns it into a WhatsApp message on your phone the moment money lands. No server, no code.
What you get
Every successful payment becomes one message like this one. The values below are the sample PaymentIntent from Stripe's API reference.
Setup, six steps
- Text join to pingwa on WhatsApp (the button below): your key comes straight back, and your phone is the one that gets the messages.
- In the pingwa panel open Hooks → + new hook, set Sender to “Stripe: payment”, give it a name and click create hook. Copy the URL: it is shown once. It looks like
https://pingwa.dev/h/hk_…. - In Stripe Workbench open Webhooks → Create an event destination (your account, payload format Snapshot).
- Event payment_intent.succeeded, destination Webhook endpoint, URL = this hook URL.
- Copy the destination's signing secret (whsec_…) into this hook's signing secret.
- Back in the panel click send test next to the hook: the message above arrives on your phone.
Steps 3 to 5 are Stripe's side, in Workbench. Prefer the API? A key with the manage scope creates the same hook:
curl -X POST https://pingwa.dev/v1/hooks \
-H "Authorization: Bearer pw_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "stripe", "preset": "stripe_payment"}'
The answer carries the hook's url, once. Paste it wherever the steps say “this hook URL”.
Steps checked against Stripe's documentation, November 2026.
Sample payload: Stripe's API reference, the Event object.
Good to know
- Who gets it. pingwa messages only people who joined: you, and teammates when your account has a team. It does not message your customers: no receipts, no payment links.
- The amount is in the smallest unit. Stripe sends 2000 for 20.00 in a two-decimal currency, and the template has no arithmetic, so the message says so. It is a fact about Stripe's payload, not a rounding in pingwa.
- Forged requests. Step 5 turns on the signature check: a request without a valid
Stripe-Signaturesignature gets a 401 and sends nothing. Stripe's timestamp in that header must be within 5 minutes, so a captured request cannot be replayed later. - Limits and price. Every hook message counts against your plan's monthly message quota, like any pingwa message, and the number of hooks is part of the plan too. When the quota is used up the hook still answers 200 with
accepted: false, so a sender that switches off failing webhooks leaves this one alone. Plans and prices are in the pricing section. - Change the wording. The message is a template on the hook: send a new one with
PATCH /v1/hooks/<id>. The grammar is{{ path | default }}over the payload and nothing else, see the hook reference in llms.txt.
FAQ
Can pingwa message my customers about their payment?
No. pingwa messages only people who joined it from their own WhatsApp, which means you (and teammates). Stripe's own receipts are the way to reach a customer.
Other events: refunds, failed payments?
Make another event destination for them and another hook. The template reads data.object.amount, .currency, .status and .id, so check what your event carries and edit the template if it differs.
What is payload format “Snapshot”?
The full object as it was when the event happened, which is what the template reads. You pick it in step 3.
Scan the code and get instant access. It opens WhatsApp with “join” ready to send, and your API key comes straight back.
pingwa carries the message over the official Meta Cloud API. Your own number stays out of it (why that matters).