pingwa
Recipe · Stripe

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.

§ 1

What you get

Every successful payment becomes one message like this one. The values below are the sample PaymentIntent from Stripe's API reference.

pingwa · WhatsApp
💳 Stripe: payment_intent.succeeded Amount: 2000 usd (in the currency's smallest unit, e.g. cents) Status: requires_payment_method ID: pi_3MtwBwLkdIwHu7ix28a3tqPa
sample data, your messages carry your own
§ 2

Setup, six steps

  1. Text join to pingwa on WhatsApp (the button below): your key comes straight back, and your phone is the one that gets the messages.
  2. 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_….
  3. In Stripe Workbench open Webhooks → Create an event destination (your account, payload format Snapshot).
  4. Event payment_intent.succeeded, destination Webhook endpoint, URL = this hook URL.
  5. Copy the destination's signing secret (whsec_…) into this hook's signing secret.
  6. 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:

Create the hook from a terminal
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.

§ 3

Good to know

§ 4

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.

QR code to join pingwa on WhatsApp

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).