Get notified on APNs when an external account is deleted from an account 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.
APNs is the Apple Push Notification service. It is the service used to send notifications to iOS devices. It is a robust and efficient service that allows you to send notifications to your users' devices in real-time.
But did you know that using our Stripe integration, you can specifically be notified when an external account is deleted from an account, via APNs? Here's how you can get started.
Step 1: Setup Stripe
/integrations/stripe
"object"
Properties
"string"
The signing secret to verify incoming requests from Stripe
Example Request
{
"webhook_signing_secret": "whsec_e5cf4458caae49ae72d8f275deb9b63bdd41dd5c932c27c9346d428fb9e1d0a0"
}
Step 2: Setup APNs
/integrations/apns
"object"
Properties
"string"
The default bundle identifier of the application that is configured with this project. It can be overriden on a per token basis, when registering device tokens.
"string"
The APNs certificate in P8 format. Generate it at [developer.apple.com](https://developer.apple.com/account/resources/authkeys/add) with the 'Apple Push Notification service (APNs)' option selected.
"string"
"string"
"string"
"string"
Example Request
{
"app_id": "com.example.myapp",
"certificate": "-----BEGIN PRIVATE KEY-----\nMIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgHnr4B2P+by++FGu/th0a44E8chJl5v5Vo4gq0YHw6e6gCgYIKoZIzj0DAQehRANCAARCg1MRibnfyeX5mx6+Rtfzzn7UhJP/oaqL4RzSmDuTsd3BTX33cuQ0gWHe20R2m1bLAkI1wrp+zbWOlAOAD7KX\n-----END PRIVATE KEY-----",
"key_id": "ABCD1234EF",
"team_id": "ABCD1234EF",
"badge": "unread"
}