Get notified on Web Push when a charge is refunded on Stripe
→
Stripe is a payment processing platform that allows you to accept payments online and in mobile apps. It is a powerful tool that enables you to accept payments from customers all over the world. It also offers a powerful webhooks API that allows you to receive real-time notifications about events that happen in your account.
Web Push is a technology that allows you to send notifications to your users' devices even when they are not on your website. It is a powerful tool to engage your users and bring them back to your website.
But did you know that using our Stripe integration, you can specifically be notified when a charge is refunded, via Web Push? Here's how you can get started.
Step 1: Setup Stripe
PUT
/integrations/stripe
Schema Type:
"object"
Required Fields:
webhook_signing_secret
Properties
webhook_signing_secret
required"string"
The signing secret to verify incoming requests from Stripe
Example Request
{
"webhook_signing_secret": "whsec_e5cf4458caae49ae72d8f275deb9b63bdd41dd5c932c27c9346d428fb9e1d0a0"
}
Step 2: Setup Web Push
PUT
/integrations/web_push
Schema Type:
"object"
Required Fields:
public_keyprivate_key
Properties
public_key
required"string"
private_key
required"string"
Example Request
{
"public_key": "<string>",
"private_key": "<string>"
}