Title: [FEAT] Type definition for webhook events · Issue #5 · PaystackOSS/paystack-node · GitHub
Open Graph Title: [FEAT] Type definition for webhook events · Issue #5 · PaystackOSS/paystack-node
X Title: [FEAT] Type definition for webhook events · Issue #5 · PaystackOSS/paystack-node
Description: Is your feature request related to a problem? Please describe. As for right now, there doesn't to be any type definition for webhook events inside this library that will help validate the incoming webhook events. Describe the solution yo...
Open Graph Description: Is your feature request related to a problem? Please describe. As for right now, there doesn't to be any type definition for webhook events inside this library that will help validate the incoming ...
X Description: Is your feature request related to a problem? Please describe. As for right now, there doesn't to be any type definition for webhook events inside this library that will help validate the incom...
Opengraph URL: https://github.com/PaystackOSS/paystack-node/issues/5
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEAT] Type definition for webhook events","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nAs for right now, there doesn't to be any type definition for webhook events inside this library that will help validate the incoming webhook events. \r\n\r\n**Describe the solution you'd like**\r\nIt'd be great to have a built-in type definition for webhook events in this library. This will save us time of having to manually write our own.\r\n\r\n**Describe alternatives you've considered**\r\nWhat i've been doing so far is to model the types of each events(`charge.success` as for now) based on received webhook response or often time cross check [supported-events](https://paystack.com/docs/payments/webhooks/#supported-events)\r\n\r\n**Additional context**\r\nNone","author":{"url":"https://github.com/waptik","@type":"Person","name":"waptik"},"datePublished":"2022-10-30T03:56:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/5/paystack-node/issues/5"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f7da93e0-1c76-56ba-4049-b016eed73b4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E23A:A7203:327AD3C:43EA1BB:69808E4C |
| html-safe-nonce | 1684c98e3430d422e72de5230f67cdd5ef9dad490ee5626801a9107bda689ba0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjNBOkE3MjAzOjMyN0FEM0M6NDNFQTFCQjo2OTgwOEU0QyIsInZpc2l0b3JfaWQiOiI2NjUwNjYwNjk5NjAzMjQyNTcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cafde5dba489bb6429d6c6fc7bed82d78997a67a2500a3343f3f0e341ec95ed4 |
| hovercard-subject-tag | issue:1428586295 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PaystackOSS/paystack-node/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1d8716b762846a8a329e7bd5056aa8b93301044e65085584afb2fdfe85eac0c/PaystackOSS/paystack-node/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1d8716b762846a8a329e7bd5056aa8b93301044e65085584afb2fdfe85eac0c/PaystackOSS/paystack-node/issues/5 |
| og:image:alt | Is your feature request related to a problem? Please describe. As for right now, there doesn't to be any type definition for webhook events inside this library that will help validate the incoming ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waptik |
| hostname | github.com |
| expected-hostname | github.com |
| None | 469777838102ab297ec4fcad28d2f2800ba15f98fafe1027761c30ba1171be52 |
| turbo-cache-control | no-preview |
| go-import | github.com/PaystackOSS/paystack-node git https://github.com/PaystackOSS/paystack-node.git |
| octolytics-dimension-user_id | 62539319 |
| octolytics-dimension-user_login | PaystackOSS |
| octolytics-dimension-repository_id | 456541281 |
| octolytics-dimension-repository_nwo | PaystackOSS/paystack-node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 456541281 |
| octolytics-dimension-repository_network_root_nwo | PaystackOSS/paystack-node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | abd13d780acc53a8d052b86a5b6ac82b79676965 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width