Skip to content
Integration

Stripe Integration - Images from Payment Events

Render branded receipts and confirmations from Stripe events through Zapier or Make. Map the charge to a template, and format the amount before you send it.

Stripe and imejis connected

A Stripe event carries everything a receipt needs: who paid, how much, for what, and when. imejis turns that into a branded image or a single-page PDF at the moment the payment lands.

There is no first-party Stripe connector. The link runs through Zapier or Make, both of which have native Stripe triggers.

What you can automate

  • Receipts and payment confirmations rendered from the charge itself.
  • Milestone graphics on a new subscription, for the team channel.
  • Course or membership passes issued the moment a payment succeeds.

How to connect

  1. In Zapier or Make, trigger on a Stripe event: New Charge, New Subscription or Payment Succeeded.

  2. Add an HTTP step pointing at your design's render endpoint:

    https://render.imejis.io/v1/<designId>?format=pdf
  3. Send the dma-api-key header and POST the event fields as overrides:

    {
      "customer": { "text": "Jordan Lee" },
      "amount": { "text": "$129.00" },
      "invoice_no": { "text": "INV-2043" }
    }
  4. Email the result to the customer, or post it to Slack.

Format the amount before you send it

This is the one that produces a wrong-looking receipt rather than an error.

Stripe reports money in the smallest currency unit. A $129.00 charge arrives as amount: 12900, an integer, with the currency in a separate field. Map that straight into a text layer and the receipt says 12900.

Divide by 100 and format with the currency before the render call. In Zapier that is a Formatter step; in Make, a formatNumber expression. Zero-decimal currencies such as JPY are not divided at all, so if you take payments in more than one currency, branch on the currency field rather than dividing everywhere.

Test with a currency you do not normally use. A receipt that is wrong by a factor of 100 tends to reach the customer before it reaches you.

Receipts want PDF, not PNG

?format=pdf returns a single-page PDF at the design's dimensions. That is the right shape for something a customer files or prints, and it attaches to an email without anyone resizing it.

PNG is the better choice for the Slack celebration graphic. Same design, same request, one query parameter apart.

Going further

Connect with Stripe using Zapier

We use cookies to run the site and, depending on your region and your choice here, for analytics and marketing. See our Cookie Policy. You can change this any time from “Cookie settings” in the footer.