diff --git a/providers/checkout/1.0.25/authentication_approved.json b/providers/checkout/1.0.25/authentication_approved.json new file mode 100644 index 0000000..8ee6e88 --- /dev/null +++ b/providers/checkout/1.0.25/authentication_approved.json @@ -0,0 +1,38 @@ +{ + "headers": { + "user-agent": "Go-http-client/1.1", + "content-length": "604", + "accept": "application/json, text/plain, */*", + "cko-correlation-id": "661c3b59-5dde-4e6b-92fa-c9eabbd80086", + "cko-invocation-id": "ivc_v7x7d2hgcizezdzkjywufw6ueq", + "content-type": "application/json; charset=utf-8", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_ewzytrdo7n6udniblrzute5an4", + "type": "authentication_approved", + "version": "1.0.1", + "created_on": "2023-03-03T08:31:04.55Z", + "data": { + "eci": "05", + "cavv": "AAABAVIREQAAAAAAAAAAAAAAAAA=", + "xid": "4b4f21d8-6bd5-4359-9edd-ae7d120b381b", + "challenged": false, + "acs_challenged_mandated": false, + "exemption_applied": "none", + "session_id": "fe4c0bc2-d7ad-4163-bde3-8b39ead240f9", + "amount": "88000", + "currency": "EUR", + "type": "regular", + "challenge_indicator": "no_preference", + "protocol_version": "2.1.0", + "scheme": "visa" + }, + "_links": { + "self": { + "href": "https://api.sandbox.checkout.com/workflows/events/evt_ewzytrdo7n6udniblrzute5an4" + } + } + }, + "topic": "authentication_approved" +} \ No newline at end of file diff --git a/providers/checkout/1.0.25/authentication_started.json b/providers/checkout/1.0.25/authentication_started.json new file mode 100644 index 0000000..049b45b --- /dev/null +++ b/providers/checkout/1.0.25/authentication_started.json @@ -0,0 +1,32 @@ +{ + "headers": { + "user-agent": "Go-http-client/1.1", + "content-length": "431", + "accept": "application/json, text/plain, */*", + "cko-correlation-id": "661c3b59-5dde-4e6b-92fa-c9eabbd80086", + "cko-invocation-id": "ivc_mdfh4hz4k3qudajh52muhtctqu", + "content-type": "application/json; charset=utf-8", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_junw6auqvppe5efrknbdfpba6i", + "type": "authentication_started", + "version": "1.0.1", + "created_on": "2023-03-03T08:30:49.37Z", + "data": { + "session_id": "fe4c0bc2-d7ad-4163-bde3-8b39ead240f9", + "amount": "88000", + "currency": "EUR", + "type": "regular", + "challenge_indicator": "no_preference", + "protocol_version": "2.1.0", + "scheme": "visa" + }, + "_links": { + "self": { + "href": "https://api.sandbox.checkout.com/workflows/events/evt_junw6auqvppe5efrknbdfpba6i" + } + } + }, + "topic": "authentication_started" +} \ No newline at end of file diff --git a/providers/checkout/1.0.25/payment_approved.json b/providers/checkout/1.0.25/payment_approved.json new file mode 100644 index 0000000..3b3f546 --- /dev/null +++ b/providers/checkout/1.0.25/payment_approved.json @@ -0,0 +1,108 @@ +{ + "headers": { + "user-agent": "Go-http-client/1.1", + "content-length": "2513", + "accept": "application/json, text/plain, */*", + "cko-correlation-id": "661c3b59-5dde-4e6b-92fa-c9eabbd80086", + "cko-invocation-id": "ivc_2hqbbp6bg2lejjaciqq67sddiy", + "content-type": "application/json; charset=utf-8", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_htpp6niiutrejjz5dov7pm46hy", + "type": "payment_approved", + "version": "1.0.26", + "created_on": "2023-03-03T08:31:14.4942053Z", + "data": { + "id": "pay_oogtk3sugdxu7bilm4dbvzlmcy", + "action_id": "act_gforaglshmeu3nwqtl43henpny", + "amount": 88000, + "auth_code": "651587", + "currency": "EUR", + "metadata": { + "correlation_id": "c6a4f3f8-bf9b-419c-82d8-d5716877196e" + }, + "payment_type": "Regular", + "processed_on": "2023-03-03T08:31:05.4892639Z", + "processing": { + "acquirer_transaction_id": "280056362716772951030", + "retrieval_reference_number": "578261409697" + }, + "response_code": "10000", + "response_summary": "Approved", + "risk": { + "flagged": false + }, + "3ds": { + "version": "2.1.0", + "challenged": false, + "challenge_indicator": "no_preference", + "exemption": "none", + "eci": "05", + "cavv": "AAABAVIREQAAAAAAAAAAAAAAAAA=", + "xid": "fe4c0bc2-d7ad-4163-bde3-8b39ead240f9", + "downgraded": false, + "enrolled": "Y", + "authentication_response": "Y", + "flow_type": "frictionless" + }, + "scheme_id": "777051524135103", + "source": { + "id": "src_lkpmbqvcdbzutd23xm3hwp7cdi", + "type": "card", + "billing_address": { + "country": "GB" + }, + "expiry_month": 12, + "expiry_year": 2023, + "scheme": "VISA", + "last_4": "0685", + "fingerprint": "9629E3BB7D3888D1C6F7D2517B44332FF09B778B825684D5A4E76972A8A13961", + "bin": "465995", + "card_type": "CREDIT", + "card_category": "CONSUMER", + "issuer": "TELLER, A.S.", + "issuer_country": "NO", + "product_type": "PLATINUM", + "avs_check": "G", + "cvv_check": "Y" + }, + "balances": { + "total_authorized": 88000, + "total_voided": 0, + "available_to_void": 88000, + "total_captured": 0, + "available_to_capture": 88000, + "total_refunded": 0, + "available_to_refund": 0 + }, + "event_links": { + "payment": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy", + "payment_actions": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy/actions", + "capture": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy/captures", + "void": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy/voids" + } + }, + "_links": { + "self": { + "href": "https://api.sandbox.checkout.com/workflows/events/evt_htpp6niiutrejjz5dov7pm46hy" + }, + "subject": { + "href": "https://api.sandbox.checkout.com/workflows/events/subject/pay_oogtk3sugdxu7bilm4dbvzlmcy" + }, + "payment": { + "href": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy" + }, + "payment_actions": { + "href": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy/actions" + }, + "capture": { + "href": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy/captures" + }, + "void": { + "href": "https://api.sandbox.checkout.com/payments/pay_oogtk3sugdxu7bilm4dbvzlmcy/voids" + } + } + }, + "topic": "payment_approved" +} \ No newline at end of file diff --git a/providers/checkout/1.0.25/payment_captured.json b/providers/checkout/1.0.25/payment_captured.json new file mode 100644 index 0000000..9f4ed91 --- /dev/null +++ b/providers/checkout/1.0.25/payment_captured.json @@ -0,0 +1,65 @@ +{ + "headers": { + "user-agent": "Go-http-client/1.1", + "content-length": "1531", + "accept": "application/json, text/plain, */*", + "cko-correlation-id": "74432c84-df9d-43d7-9a04-869c315d2d9e", + "cko-invocation-id": "ivc_5uo3ctib3fbeja3ye6yjquezfy", + "content-type": "application/json; charset=utf-8", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_uiewxipcyhvefbvc3skk7fpqfq", + "type": "payment_captured", + "version": "1.0.26", + "created_on": "2023-03-03T08:18:57.8376703Z", + "data": { + "id": "pay_ht4n7ohvpc7epirpfco6wdou24", + "action_id": "act_24iebe4b2atuhj4iemx7a4dx6q", + "amount": 12000, + "processed_on": "2023-03-03T08:18:52.1378682Z", + "response_code": "10000", + "response_summary": "Approved", + "balances": { + "total_authorized": 12000, + "total_voided": 0, + "available_to_void": 0, + "total_captured": 12000, + "available_to_capture": 0, + "total_refunded": 0, + "available_to_refund": 12000 + }, + "metadata": { + "correlation_id": "bb17cc43-3827-4190-ab70-d374244afac0" + }, + "currency": "EUR", + "processing": { + "acquirer_transaction_id": "141625565560457107263", + "acquirer_reference_number": "33255926420936831486570" + }, + "event_links": { + "payment": "https://api.sandbox.checkout.com/payments/pay_ht4n7ohvpc7epirpfco6wdou24", + "payment_actions": "https://api.sandbox.checkout.com/payments/pay_ht4n7ohvpc7epirpfco6wdou24/actions", + "refund": "https://api.sandbox.checkout.com/payments/pay_ht4n7ohvpc7epirpfco6wdou24/refunds" + } + }, + "_links": { + "self": { + "href": "https://api.sandbox.checkout.com/workflows/events/evt_uiewxipcyhvefbvc3skk7fpqfq" + }, + "subject": { + "href": "https://api.sandbox.checkout.com/workflows/events/subject/pay_ht4n7ohvpc7epirpfco6wdou24" + }, + "payment": { + "href": "https://api.sandbox.checkout.com/payments/pay_ht4n7ohvpc7epirpfco6wdou24" + }, + "payment_actions": { + "href": "https://api.sandbox.checkout.com/payments/pay_ht4n7ohvpc7epirpfco6wdou24/actions" + }, + "refund": { + "href": "https://api.sandbox.checkout.com/payments/pay_ht4n7ohvpc7epirpfco6wdou24/refunds" + } + } + }, + "topic": "payment_captured" +} \ No newline at end of file diff --git a/providers/checkout/1.0.25/payment_voided.json b/providers/checkout/1.0.25/payment_voided.json new file mode 100644 index 0000000..78db514 --- /dev/null +++ b/providers/checkout/1.0.25/payment_voided.json @@ -0,0 +1,57 @@ +{ + "headers": { + "user-agent": "Go-http-client/1.1", + "content-length": "1210", + "accept": "application/json, text/plain, */*", + "cko-correlation-id": "a820d422-879d-4542-b316-a78bc3920bd3", + "cko-invocation-id": "ivc_hgwdghg4ajdehpsjmmeazeb2de", + "content-type": "application/json; charset=utf-8", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_c2oy4t4w7s7u5ebyx2ujy2fbg4", + "type": "payment_voided", + "version": "1.0.26", + "created_on": "2023-03-03T08:17:12.3289437Z", + "data": { + "id": "pay_rvaqaesek3eejfly4gt7d7eopa", + "action_id": "act_vsbujgvslqhupiaph24hpjfhwq", + "amount": 6000, + "processed_on": "2023-03-03T08:17:06.0517435Z", + "response_code": "10000", + "response_summary": "Approved", + "balances": { + "total_authorized": 6000, + "total_voided": 6000, + "available_to_void": 0, + "total_captured": 0, + "available_to_capture": 0, + "total_refunded": 0, + "available_to_refund": 0 + }, + "metadata": { + "correlation_id": "20c627d6-e909-43db-8f29-b443379b3b60" + }, + "currency": "EUR", + "event_links": { + "payment": "https://api.sandbox.checkout.com/payments/pay_rvaqaesek3eejfly4gt7d7eopa", + "payment_actions": "https://api.sandbox.checkout.com/payments/pay_rvaqaesek3eejfly4gt7d7eopa/actions" + } + }, + "_links": { + "self": { + "href": "https://api.sandbox.checkout.com/workflows/events/evt_c2oy4t4w7s7u5ebyx2ujy2fbg4" + }, + "subject": { + "href": "https://api.sandbox.checkout.com/workflows/events/subject/pay_rvaqaesek3eejfly4gt7d7eopa" + }, + "payment": { + "href": "https://api.sandbox.checkout.com/payments/pay_rvaqaesek3eejfly4gt7d7eopa" + }, + "payment_actions": { + "href": "https://api.sandbox.checkout.com/payments/pay_rvaqaesek3eejfly4gt7d7eopa/actions" + } + } + }, + "topic": "payment_voided" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/create.json b/providers/github/2022-11-28/create.json new file mode 100644 index 0000000..9759363 --- /dev/null +++ b/providers/github/2022-11-28/create.json @@ -0,0 +1,144 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "6248", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "0ac17b40-bbaa-11ed-9507-6d8c82b32db4", + "x-github-event": "create", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=e50ad3e3d02b41dcf983838910f8965b7446f645", + "x-hub-signature-256": "sha256=976962d859be00ae45ee00d69f1ec89266929b0d5f27d9adcf9ff360bcfef783", + "accept-encoding": "gzip" + }, + "body": { + "ref": "demo", + "ref_type": "tag", + "master_branch": "main", + "description": null, + "pusher_type": "user", + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T23:04:11Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "create" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/delete.json b/providers/github/2022-11-28/delete.json new file mode 100644 index 0000000..ca1cdb5 --- /dev/null +++ b/providers/github/2022-11-28/delete.json @@ -0,0 +1,142 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "6226", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "68816110-bba9-11ed-8883-3ce5f6851404", + "x-github-event": "delete", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=0456568a32c9cc52e3b92e78a0fcb2e93e9a2456", + "x-hub-signature-256": "sha256=15673274150a2589c6ae146242eb1fc536fc17bf93510f76ba3fefe3ce331aa3", + "accept-encoding": "gzip" + }, + "body": { + "ref": "hookdeckwrite-patch-1", + "ref_type": "branch", + "pusher_type": "user", + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T22:59:39Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "delete" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/issue_comment.json b/providers/github/2022-11-28/issue_comment.json new file mode 100644 index 0000000..74e85e4 --- /dev/null +++ b/providers/github/2022-11-28/issue_comment.json @@ -0,0 +1,252 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "10319", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "52532040-bba9-11ed-8d48-6505df70907e", + "x-github-event": "issue_comment", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=7590c1f5be70a50ed9cf6420bc30f7b63ccf76e9", + "x-hub-signature-256": "sha256=46e2bb313db11f1bbf17aa42c58444b4213e4a3cfba2613c95f2d3a4f0bcb4a5", + "accept-encoding": "gzip" + }, + "body": { + "action": "created", + "issue": { + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1", + "repository_url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1/labels{/name}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1/comments", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1/events", + "html_url": "https://github.com/hookdeckwrite/simple-app/pull/1", + "id": 1610402038, + "node_id": "PR_kwDOI0v4Q85LUJ3o", + "number": 1, + "title": "Update README.md", + "user": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "labels": [], + "state": "closed", + "locked": false, + "assignee": null, + "assignees": [], + "milestone": null, + "comments": 2, + "created_at": "2023-03-05T22:57:12Z", + "updated_at": "2023-03-05T22:59:02Z", + "closed_at": "2023-03-05T22:58:17Z", + "author_association": "OWNER", + "active_lock_reason": null, + "draft": false, + "pull_request": { + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/1", + "html_url": "https://github.com/hookdeckwrite/simple-app/pull/1", + "diff_url": "https://github.com/hookdeckwrite/simple-app/pull/1.diff", + "patch_url": "https://github.com/hookdeckwrite/simple-app/pull/1.patch", + "merged_at": "2023-03-05T22:58:17Z" + }, + "body": "Edited", + "reactions": { + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "timeline_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1/timeline", + "performed_via_github_app": null, + "state_reason": null + }, + "comment": { + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments/1455234988", + "html_url": "https://github.com/hookdeckwrite/simple-app/pull/1#issuecomment-1455234988", + "issue_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1", + "id": 1455234988, + "node_id": "IC_kwDOI0v4Q85WvR-s", + "user": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "created_at": "2023-03-05T22:59:02Z", + "updated_at": "2023-03-05T22:59:02Z", + "author_association": "OWNER", + "body": "> Merged?\r\n\r\nYes", + "reactions": { + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments/1455234988/reactions", + "total_count": 0, + "+1": 0, + "-1": 0, + "laugh": 0, + "hooray": 0, + "confused": 0, + "heart": 0, + "rocket": 0, + "eyes": 0 + }, + "performed_via_github_app": null + }, + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T22:58:17Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "issue_comment" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/label.json b/providers/github/2022-11-28/label.json new file mode 100644 index 0000000..b9029b2 --- /dev/null +++ b/providers/github/2022-11-28/label.json @@ -0,0 +1,149 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "6411", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "cba785d0-bba9-11ed-80a5-07b75c3248c8", + "x-github-event": "label", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=b3c7bcaf18ce41ff89a1853efef5aca9b90d77d0", + "x-hub-signature-256": "sha256=57365d85f80afddacdf2874e5d6bdbdc5b6d0ceefac5988ba5b1e566c50eaf0b", + "accept-encoding": "gzip" + }, + "body": { + "action": "deleted", + "label": { + "id": 5068260474, + "node_id": "LA_kwDOI0v4Q88AAAABLheEeg", + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels/enhancement", + "name": "enhancement", + "color": "a2eeef", + "default": true, + "description": "New feature or request" + }, + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T22:59:49Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "label" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/ping.json b/providers/github/2022-11-28/ping.json new file mode 100644 index 0000000..7fc92f8 --- /dev/null +++ b/providers/github/2022-11-28/ping.json @@ -0,0 +1,167 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "6924", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "b32b69a0-bba8-11ed-9346-ceb669efc942", + "x-github-event": "ping", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=300ef00aa455f147059a24d044b3218516262aaa", + "x-hub-signature-256": "sha256=f69a9ed40d01aebc9d628ac85adad9343bec7b64189dca2f5025c84d1b2d5e63", + "accept-encoding": "gzip" + }, + "body": { + "zen": "Speak like a human.", + "hook_id": 403738602, + "hook": { + "type": "Repository", + "id": 403738602, + "name": "web", + "active": true, + "events": [ + "*" + ], + "config": { + "content_type": "json", + "insecure_ssl": "0", + "secret": "********", + "url": "https://events.hookdeck.com/e/src_oRc6ItAA6fEu/github/2022-11-28" + }, + "updated_at": "2023-03-05T22:54:35Z", + "created_at": "2023-03-05T22:54:35Z", + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks/403738602", + "test_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks/403738602/test", + "ping_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks/403738602/pings", + "deliveries_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks/403738602/deliveries", + "last_response": { + "code": null, + "status": "unused", + "message": null + } + }, + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-01-23T06:50:15Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "ping" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/pull_request.json b/providers/github/2022-11-28/pull_request.json new file mode 100644 index 0000000..ad32db3 --- /dev/null +++ b/providers/github/2022-11-28/pull_request.json @@ -0,0 +1,583 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "26171", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "a72db0d0-bba9-11ed-9c5c-e6ddbe2c4193", + "x-github-event": "pull_request", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=d66118bad319d9ad39fe7d63cf68728464039d41", + "x-hub-signature-256": "sha256=1342943ccbaa5b2c0520af20218d06f8f2d30a63a6d2a7533b9ada62784c6501", + "accept-encoding": "gzip" + }, + "body": { + "action": "labeled", + "number": 1, + "pull_request": { + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/1", + "id": 1263574504, + "node_id": "PR_kwDOI0v4Q85LUJ3o", + "html_url": "https://github.com/hookdeckwrite/simple-app/pull/1", + "diff_url": "https://github.com/hookdeckwrite/simple-app/pull/1.diff", + "patch_url": "https://github.com/hookdeckwrite/simple-app/pull/1.patch", + "issue_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1", + "number": 1, + "state": "closed", + "locked": false, + "title": "Update README.md", + "user": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "body": "Edited", + "created_at": "2023-03-05T22:57:12Z", + "updated_at": "2023-03-05T23:01:24Z", + "closed_at": "2023-03-05T22:58:17Z", + "merged_at": "2023-03-05T22:58:17Z", + "merge_commit_sha": "b03b17320c22d5e46c5e302a150fdbe3abe39735", + "assignee": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [], + "requested_teams": [], + "labels": [ + { + "id": 5068260465, + "node_id": "LA_kwDOI0v4Q88AAAABLheEcQ", + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels/documentation", + "name": "documentation", + "color": "0075ca", + "default": true, + "description": "Improvements or additions to documentation" + } + ], + "milestone": null, + "draft": false, + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/1/commits", + "review_comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/1/comments", + "review_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1/comments", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/bc6a8bcfac73fae64f541c8ce1d405adbe04d920", + "head": { + "label": "hookdeckwrite:hookdeckwrite-patch-1", + "ref": "hookdeckwrite-patch-1", + "sha": "bc6a8bcfac73fae64f541c8ce1d405adbe04d920", + "user": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T22:59:49Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": false, + "allow_update_branch": false, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE" + } + }, + "base": { + "label": "hookdeckwrite:main", + "ref": "main", + "sha": "ec65202d8919f48daaaa2f5276311de544a0916e", + "user": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T22:59:49Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "allow_squash_merge": true, + "allow_merge_commit": true, + "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": false, + "allow_update_branch": false, + "use_squash_pr_title_as_default": false, + "squash_merge_commit_message": "COMMIT_MESSAGES", + "squash_merge_commit_title": "COMMIT_OR_PR_TITLE", + "merge_commit_message": "PR_TITLE", + "merge_commit_title": "MERGE_MESSAGE" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/1" + }, + "html": { + "href": "https://github.com/hookdeckwrite/simple-app/pull/1" + }, + "issue": { + "href": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1" + }, + "comments": { + "href": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/1/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/1/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls/1/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/bc6a8bcfac73fae64f541c8ce1d405adbe04d920" + } + }, + "author_association": "OWNER", + "auto_merge": null, + "active_lock_reason": null, + "merged": true, + "mergeable": null, + "rebaseable": null, + "mergeable_state": "unknown", + "merged_by": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "comments": 2, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 1, + "additions": 1, + "deletions": 0, + "changed_files": 1 + }, + "label": { + "id": 5068260465, + "node_id": "LA_kwDOI0v4Q88AAAABLheEcQ", + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels/documentation", + "name": "documentation", + "color": "0075ca", + "default": true, + "description": "Improvements or additions to documentation" + }, + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T22:59:49Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "pull_request" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/push.json b/providers/github/2022-11-28/push.json new file mode 100644 index 0000000..3a042bb --- /dev/null +++ b/providers/github/2022-11-28/push.json @@ -0,0 +1,179 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "7235", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "0aac0a4e-bbaa-11ed-9d55-67911e83930e", + "x-github-event": "push", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=6efaf4f522c1347f9c70eb4133c602e45d647fac", + "x-hub-signature-256": "sha256=21a8c20d8ea333fdae0266b71a401c823ee6132af1f534402157ee73bbb0c33e", + "accept-encoding": "gzip" + }, + "body": { + "ref": "refs/tags/demo", + "before": "0000000000000000000000000000000000000000", + "after": "b03b17320c22d5e46c5e302a150fdbe3abe39735", + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "name": "hookdeckwrite", + "email": "123277766+hookdeckwrite@users.noreply.github.com", + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://github.com/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": 1674453551, + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": 1678057451, + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main", + "stargazers": 0, + "master_branch": "main" + }, + "pusher": { + "name": "hookdeckwrite", + "email": "123277766+hookdeckwrite@users.noreply.github.com" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "created": true, + "deleted": false, + "forced": false, + "base_ref": "refs/heads/main", + "compare": "https://github.com/hookdeckwrite/simple-app/compare/demo", + "commits": [], + "head_commit": { + "id": "b03b17320c22d5e46c5e302a150fdbe3abe39735", + "tree_id": "3b0153ccb69afba6845b1c4b76cbf8f4b465b392", + "distinct": true, + "message": "Merge pull request #1 from hookdeckwrite/hookdeckwrite-patch-1\n\nUpdate README.md", + "timestamp": "2023-03-05T23:58:17+01:00", + "url": "https://github.com/hookdeckwrite/simple-app/commit/b03b17320c22d5e46c5e302a150fdbe3abe39735", + "author": { + "name": "hookdeckwrite", + "email": "123277766+hookdeckwrite@users.noreply.github.com", + "username": "hookdeckwrite" + }, + "committer": { + "name": "GitHub", + "email": "noreply@github.com", + "username": "web-flow" + }, + "added": [], + "removed": [], + "modified": [ + "README.md" + ] + } + }, + "topic": "push" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/release.json b/providers/github/2022-11-28/release.json new file mode 100644 index 0000000..4a8d193 --- /dev/null +++ b/providers/github/2022-11-28/release.json @@ -0,0 +1,179 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "7941", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "205502b0-bbaa-11ed-99a9-7f9d2669503f", + "x-github-event": "release", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=a4027adba7e4e75c6491d1e9ea282636621748f5", + "x-hub-signature-256": "sha256=7055cca9b363f68688e9f2ce0ee486b40b613c8cfc864e6c4d7cb4c0ddd93835", + "accept-encoding": "gzip" + }, + "body": { + "action": "released", + "release": { + "url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases/94570490", + "assets_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases/94570490/assets", + "upload_url": "https://uploads.github.com/repos/hookdeckwrite/simple-app/releases/94570490/assets{?name,label}", + "html_url": "https://github.com/hookdeckwrite/simple-app/releases/tag/demo", + "id": 94570490, + "author": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "node_id": "RE_kwDOI0v4Q84Fowf6", + "tag_name": "demo", + "target_commitish": "main", + "name": "demo-release", + "draft": false, + "prerelease": false, + "created_at": "2023-03-05T22:58:17Z", + "published_at": "2023-03-05T23:04:11Z", + "assets": [], + "tarball_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tarball/demo", + "zipball_url": "https://api.github.com/repos/hookdeckwrite/simple-app/zipball/demo", + "body": "See demo release" + }, + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-01-23T05:59:11Z", + "pushed_at": "2023-03-05T23:04:11Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "release" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/star.json b/providers/github/2022-11-28/star.json new file mode 100644 index 0000000..7166a18 --- /dev/null +++ b/providers/github/2022-11-28/star.json @@ -0,0 +1,141 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "6210", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "0f934aa0-bbd6-11ed-8200-0faf58520a2a", + "x-github-event": "star", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=f7fb27f664ae2871b5a9e49351070096a86df231", + "x-hub-signature-256": "sha256=ddc97f8b675bb198aa54898046f1f727822c1c3bd4a71afda9e1f2c473459f90", + "accept-encoding": "gzip" + }, + "body": { + "action": "created", + "starred_at": "2023-03-06T04:19:17Z", + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-03-06T04:19:17Z", + "pushed_at": "2023-03-05T23:04:11Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 3, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 1, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "star" +} \ No newline at end of file diff --git a/providers/github/2022-11-28/watch.json b/providers/github/2022-11-28/watch.json new file mode 100644 index 0000000..4658717 --- /dev/null +++ b/providers/github/2022-11-28/watch.json @@ -0,0 +1,140 @@ +{ + "headers": { + "user-agent": "GitHub-Hookshot/1440bf9", + "content-length": "6174", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-github-delivery": "0f9bd620-bbd6-11ed-81f8-31222840d78c", + "x-github-event": "watch", + "x-github-hook-id": "403738602", + "x-github-hook-installation-target-id": "592181315", + "x-github-hook-installation-target-type": "repository", + "x-hub-signature": "sha1=124de8f42797bfa36dc4955342a38f2e05539eba", + "x-hub-signature-256": "sha256=ead046339b20620ab3786caa31f487886e6c2a982aa89943ae703156a8c0e393", + "accept-encoding": "gzip" + }, + "body": { + "action": "started", + "repository": { + "id": 592181315, + "node_id": "R_kgDOI0v4Qw", + "name": "simple-app", + "full_name": "hookdeckwrite/simple-app", + "private": false, + "owner": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + }, + "html_url": "https://github.com/hookdeckwrite/simple-app", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/hookdeckwrite/simple-app", + "forks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/forks", + "keys_url": "https://api.github.com/repos/hookdeckwrite/simple-app/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/hookdeckwrite/simple-app/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/hookdeckwrite/simple-app/teams", + "hooks_url": "https://api.github.com/repos/hookdeckwrite/simple-app/hooks", + "issue_events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/events{/number}", + "events_url": "https://api.github.com/repos/hookdeckwrite/simple-app/events", + "assignees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/assignees{/user}", + "branches_url": "https://api.github.com/repos/hookdeckwrite/simple-app/branches{/branch}", + "tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/tags", + "blobs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/hookdeckwrite/simple-app/statuses/{sha}", + "languages_url": "https://api.github.com/repos/hookdeckwrite/simple-app/languages", + "stargazers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/stargazers", + "contributors_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contributors", + "subscribers_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscribers", + "subscription_url": "https://api.github.com/repos/hookdeckwrite/simple-app/subscription", + "commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/hookdeckwrite/simple-app/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/hookdeckwrite/simple-app/contents/{+path}", + "compare_url": "https://api.github.com/repos/hookdeckwrite/simple-app/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/hookdeckwrite/simple-app/merges", + "archive_url": "https://api.github.com/repos/hookdeckwrite/simple-app/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/hookdeckwrite/simple-app/downloads", + "issues_url": "https://api.github.com/repos/hookdeckwrite/simple-app/issues{/number}", + "pulls_url": "https://api.github.com/repos/hookdeckwrite/simple-app/pulls{/number}", + "milestones_url": "https://api.github.com/repos/hookdeckwrite/simple-app/milestones{/number}", + "notifications_url": "https://api.github.com/repos/hookdeckwrite/simple-app/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/hookdeckwrite/simple-app/labels{/name}", + "releases_url": "https://api.github.com/repos/hookdeckwrite/simple-app/releases{/id}", + "deployments_url": "https://api.github.com/repos/hookdeckwrite/simple-app/deployments", + "created_at": "2023-01-23T05:59:11Z", + "updated_at": "2023-03-06T04:19:17Z", + "pushed_at": "2023-03-05T23:04:11Z", + "git_url": "git://github.com/hookdeckwrite/simple-app.git", + "ssh_url": "git@github.com:hookdeckwrite/simple-app.git", + "clone_url": "https://github.com/hookdeckwrite/simple-app.git", + "svn_url": "https://github.com/hookdeckwrite/simple-app", + "homepage": null, + "size": 3, + "stargazers_count": 1, + "watchers_count": 1, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "has_discussions": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "allow_forking": true, + "is_template": false, + "web_commit_signoff_required": false, + "topics": [], + "visibility": "public", + "forks": 0, + "open_issues": 0, + "watchers": 1, + "default_branch": "main" + }, + "sender": { + "login": "hookdeckwrite", + "id": 123277766, + "node_id": "U_kgDOB1kRxg", + "avatar_url": "https://avatars.githubusercontent.com/u/123277766?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/hookdeckwrite", + "html_url": "https://github.com/hookdeckwrite", + "followers_url": "https://api.github.com/users/hookdeckwrite/followers", + "following_url": "https://api.github.com/users/hookdeckwrite/following{/other_user}", + "gists_url": "https://api.github.com/users/hookdeckwrite/gists{/gist_id}", + "starred_url": "https://api.github.com/users/hookdeckwrite/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/hookdeckwrite/subscriptions", + "organizations_url": "https://api.github.com/users/hookdeckwrite/orgs", + "repos_url": "https://api.github.com/users/hookdeckwrite/repos", + "events_url": "https://api.github.com/users/hookdeckwrite/events{/privacy}", + "received_events_url": "https://api.github.com/users/hookdeckwrite/received_events", + "type": "User", + "site_admin": false + } + }, + "topic": "watch" +} \ No newline at end of file diff --git a/providers/github/index.json b/providers/github/index.json new file mode 100644 index 0000000..25649d9 --- /dev/null +++ b/providers/github/index.json @@ -0,0 +1,7 @@ +{ + "label": "Github", + "configs": { + "latest_version": "2022-11-28", + "topic_identifier": "x-github-event" + } + } diff --git a/providers/gitlab/current/Confidential Issue Hook.json b/providers/gitlab/current/Confidential Issue Hook.json new file mode 100644 index 0000000..291a3c0 --- /dev/null +++ b/providers/gitlab/current/Confidential Issue Hook.json @@ -0,0 +1,86 @@ +{ + "headers": { + "user-agent": "GitLab/15.10.0-pre", + "content-length": "1867", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-gitlab-event": "Confidential Issue Hook", + "x-gitlab-event-uuid": "f92eb1b5-1a40-4e58-b001-54d2a86fed80", + "x-gitlab-instance": "https://gitlab.com", + "x-gitlab-token": "secrettoken", + "accept-encoding": "gzip" + }, + "body": { + "object_kind": "issue", + "event_type": "issue", + "user": { + "id": 13576927, + "name": "Hookdeck Write", + "username": "hookdeckwrite", + "avatar_url": "https://secure.gravatar.com/avatar/8d9e5d44f7eb9d70f015e80e50d1fa98?s=80&d=identicon", + "email": "[REDACTED]" + }, + "project": { + "id": 42958108, + "name": "Hookdeck-write", + "description": null, + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "avatar_url": null, + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "namespace": "Hookdeck Write", + "visibility_level": 0, + "path_with_namespace": "hookdeckwrite/hookdeck-write", + "default_branch": "main", + "ci_config_path": "", + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git" + }, + "object_attributes": { + "author_id": 13576927, + "closed_at": null, + "confidential": false, + "created_at": "2023-02-20T19:43:43.306Z", + "description": "", + "discussion_locked": null, + "due_date": null, + "id": 124017598, + "iid": 1, + "last_edited_at": null, + "last_edited_by_id": null, + "milestone_id": null, + "moved_to_id": null, + "duplicated_to_id": null, + "project_id": 42958108, + "relative_position": 513, + "state_id": 1, + "time_estimate": 0, + "title": "test tissue", + "updated_at": "2023-02-20T19:43:43.306Z", + "updated_by_id": null, + "weight": null, + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/issues/1", + "total_time_spent": 0, + "time_change": 0, + "human_total_time_spent": null, + "human_time_change": null, + "human_time_estimate": null, + "assignee_ids": [], + "assignee_id": null, + "labels": [], + "state": "opened", + "severity": "unknown" + }, + "labels": [], + "changes": {}, + "repository": { + "name": "Hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "description": null, + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write" + } + }, + "topic": "Confidential Issue Hook" +} \ No newline at end of file diff --git a/providers/gitlab/current/Issue Hook.json b/providers/gitlab/current/Issue Hook.json new file mode 100644 index 0000000..2a05b0a --- /dev/null +++ b/providers/gitlab/current/Issue Hook.json @@ -0,0 +1,86 @@ +{ + "headers": { + "user-agent": "GitLab/15.10.0-pre", + "content-length": "1867", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-gitlab-event": "Issue Hook", + "x-gitlab-event-uuid": "3e241fee-25e7-48ae-9d58-a1c88528f92f", + "x-gitlab-instance": "https://gitlab.com", + "x-gitlab-token": "secrettoken", + "accept-encoding": "gzip" + }, + "body": { + "object_kind": "issue", + "event_type": "issue", + "user": { + "id": 13576927, + "name": "Hookdeck Write", + "username": "hookdeckwrite", + "avatar_url": "https://secure.gravatar.com/avatar/8d9e5d44f7eb9d70f015e80e50d1fa98?s=80&d=identicon", + "email": "[REDACTED]" + }, + "project": { + "id": 42958108, + "name": "Hookdeck-write", + "description": null, + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "avatar_url": null, + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "namespace": "Hookdeck Write", + "visibility_level": 0, + "path_with_namespace": "hookdeckwrite/hookdeck-write", + "default_branch": "main", + "ci_config_path": "", + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git" + }, + "object_attributes": { + "author_id": 13576927, + "closed_at": null, + "confidential": false, + "created_at": "2023-02-20T19:43:43.306Z", + "description": "", + "discussion_locked": null, + "due_date": null, + "id": 124017598, + "iid": 1, + "last_edited_at": null, + "last_edited_by_id": null, + "milestone_id": null, + "moved_to_id": null, + "duplicated_to_id": null, + "project_id": 42958108, + "relative_position": 513, + "state_id": 1, + "time_estimate": 0, + "title": "test tissue", + "updated_at": "2023-02-20T19:43:43.306Z", + "updated_by_id": null, + "weight": null, + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/issues/1", + "total_time_spent": 0, + "time_change": 0, + "human_total_time_spent": null, + "human_time_change": null, + "human_time_estimate": null, + "assignee_ids": [], + "assignee_id": null, + "labels": [], + "state": "opened", + "severity": "unknown" + }, + "labels": [], + "changes": {}, + "repository": { + "name": "Hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "description": null, + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write" + } + }, + "topic": "Issue Hook" +} \ No newline at end of file diff --git a/providers/gitlab/current/Note Hook.json b/providers/gitlab/current/Note Hook.json new file mode 100644 index 0000000..c3c7002 --- /dev/null +++ b/providers/gitlab/current/Note Hook.json @@ -0,0 +1,117 @@ +{ + "headers": { + "user-agent": "GitLab/15.10.0-pre", + "content-length": "2899", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-gitlab-event": "Note Hook", + "x-gitlab-event-uuid": "29f888a0-b898-487c-a0bf-ce135adfa206", + "x-gitlab-instance": "https://gitlab.com", + "x-gitlab-token": "secrettoken", + "accept-encoding": "gzip" + }, + "body": { + "object_kind": "note", + "event_type": "note", + "user": { + "id": 13576927, + "name": "Hookdeck Write", + "username": "hookdeckwrite", + "avatar_url": "https://secure.gravatar.com/avatar/8d9e5d44f7eb9d70f015e80e50d1fa98?s=80&d=identicon", + "email": "[REDACTED]" + }, + "project_id": 42958108, + "project": { + "id": 42958108, + "name": "Hookdeck-write", + "description": null, + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "avatar_url": null, + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "namespace": "Hookdeck Write", + "visibility_level": 0, + "path_with_namespace": "hookdeckwrite/hookdeck-write", + "default_branch": "main", + "ci_config_path": "", + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git" + }, + "object_attributes": { + "attachment": null, + "author_id": 13576927, + "change_position": { + "base_sha": null, + "start_sha": null, + "head_sha": null, + "old_path": null, + "new_path": null, + "position_type": "text", + "old_line": null, + "new_line": null, + "line_range": null + }, + "commit_id": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "created_at": "2023-03-06 04:38:16 UTC", + "discussion_id": "1f3a53063b9739107c9dc86a12aebb03d197a91b", + "id": 1301562881, + "line_code": "8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d_11_12", + "note": "commented", + "noteable_id": null, + "noteable_type": "Commit", + "original_position": { + "base_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7", + "start_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7", + "head_sha": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "old_path": "README.md", + "new_path": "README.md", + "position_type": "text", + "old_line": null, + "new_line": 12, + "line_range": null + }, + "position": { + "base_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7", + "start_sha": "c32d8669f6b1afa6c8b4b634fad5201f6dd9d2f7", + "head_sha": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "old_path": "README.md", + "new_path": "README.md", + "position_type": "text", + "old_line": null, + "new_line": 12, + "line_range": null + }, + "project_id": 42958108, + "resolved_at": null, + "resolved_by_id": null, + "resolved_by_push": null, + "st_diff": null, + "system": false, + "type": "DiffNote", + "updated_at": "2023-03-06 04:38:16 UTC", + "updated_by_id": null, + "description": "commented", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/commit/6752dd8e9b70a034e36b495d26626dafef42c53c#note_1301562881" + }, + "repository": { + "name": "Hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "description": null, + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write" + }, + "commit": { + "id": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "message": "Update README.md", + "title": "Update README.md", + "timestamp": "2023-01-27T15:11:04+00:00", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/commit/6752dd8e9b70a034e36b495d26626dafef42c53c", + "author": { + "name": "Hookdeck Write", + "email": "hookdeckwrite@gmail.com" + } + } + }, + "topic": "Note Hook" +} \ No newline at end of file diff --git a/providers/gitlab/current/Push Hook.json b/providers/gitlab/current/Push Hook.json new file mode 100644 index 0000000..7f11e35 --- /dev/null +++ b/providers/gitlab/current/Push Hook.json @@ -0,0 +1,59 @@ +{ + "headers": { + "user-agent": "GitLab/15.10.0-pre", + "content-length": "1518", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-gitlab-event": "Push Hook", + "x-gitlab-event-uuid": "5866755a-6a7d-430f-b7c3-bd29ec77e3f3", + "x-gitlab-instance": "https://gitlab.com", + "x-gitlab-token": "secrettoken", + "accept-encoding": "gzip" + }, + "body": { + "object_kind": "push", + "event_name": "push", + "before": "0000000000000000000000000000000000000000", + "after": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "ref": "refs/heads/manage", + "checkout_sha": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "message": null, + "user_id": 13576927, + "user_name": "Hookdeck Write", + "user_username": "hookdeckwrite", + "user_email": null, + "user_avatar": "https://secure.gravatar.com/avatar/8d9e5d44f7eb9d70f015e80e50d1fa98?s=80&d=identicon", + "project_id": 42958108, + "project": { + "id": 42958108, + "name": "Hookdeck-write", + "description": null, + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "avatar_url": null, + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "namespace": "Hookdeck Write", + "visibility_level": 0, + "path_with_namespace": "hookdeckwrite/hookdeck-write", + "default_branch": "main", + "ci_config_path": "", + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git" + }, + "commits": [], + "total_commits_count": 0, + "push_options": {}, + "repository": { + "name": "Hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "description": null, + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "visibility_level": 0 + } + }, + "topic": "Push Hook" +} \ No newline at end of file diff --git a/providers/gitlab/current/Release Hook.json b/providers/gitlab/current/Release Hook.json new file mode 100644 index 0000000..f9e18d8 --- /dev/null +++ b/providers/gitlab/current/Release Hook.json @@ -0,0 +1,76 @@ +{ + "headers": { + "user-agent": "GitLab/15.10.0-pre", + "content-length": "1792", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-gitlab-event": "Release Hook", + "x-gitlab-event-uuid": "5977e99f-9dd2-41b3-b169-1e66461f3995", + "x-gitlab-instance": "https://gitlab.com", + "x-gitlab-token": "secrettoken", + "accept-encoding": "gzip" + }, + "body": { + "id": 7054492, + "created_at": "2023-03-06 04:44:05 UTC", + "description": "Leta see", + "name": "os", + "released_at": "2023-03-06 04:44:05 UTC", + "tag": "observe", + "object_kind": "release", + "project": { + "id": 42958108, + "name": "Hookdeck-write", + "description": null, + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "avatar_url": null, + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "namespace": "Hookdeck Write", + "visibility_level": 0, + "path_with_namespace": "hookdeckwrite/hookdeck-write", + "default_branch": "main", + "ci_config_path": "", + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git" + }, + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/releases/observe", + "action": "create", + "assets": { + "count": 4, + "links": [], + "sources": [ + { + "format": "zip", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/archive/observe/hookdeck-write-observe.zip" + }, + { + "format": "tar.gz", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/archive/observe/hookdeck-write-observe.tar.gz" + }, + { + "format": "tar.bz2", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/archive/observe/hookdeck-write-observe.tar.bz2" + }, + { + "format": "tar", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/archive/observe/hookdeck-write-observe.tar" + } + ] + }, + "commit": { + "id": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "message": "Update README.md", + "title": "Update README.md", + "timestamp": "2023-01-27T15:11:04+00:00", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/commit/6752dd8e9b70a034e36b495d26626dafef42c53c", + "author": { + "name": "Hookdeck Write", + "email": "hookdeckwrite@gmail.com" + } + } + }, + "topic": "Release Hook" +} \ No newline at end of file diff --git a/providers/gitlab/current/Tag Push Hook.json b/providers/gitlab/current/Tag Push Hook.json new file mode 100644 index 0000000..6a3e8fe --- /dev/null +++ b/providers/gitlab/current/Tag Push Hook.json @@ -0,0 +1,76 @@ +{ + "headers": { + "user-agent": "GitLab/15.10.0-pre", + "content-length": "1910", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-gitlab-event": "Tag Push Hook", + "x-gitlab-event-uuid": "77d0cb42-4aba-4aed-9c66-79e65c979e71", + "x-gitlab-instance": "https://gitlab.com", + "x-gitlab-token": "secrettoken", + "accept-encoding": "gzip" + }, + "body": { + "object_kind": "tag_push", + "event_name": "tag_push", + "before": "0000000000000000000000000000000000000000", + "after": "844cdc62966d4bf4b660285912fa530bf9c63257", + "ref": "refs/tags/observe", + "checkout_sha": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "message": "observing release", + "user_id": 13576927, + "user_name": "Hookdeck Write", + "user_username": "hookdeckwrite", + "user_email": null, + "user_avatar": "https://secure.gravatar.com/avatar/8d9e5d44f7eb9d70f015e80e50d1fa98?s=80&d=identicon", + "project_id": 42958108, + "project": { + "id": 42958108, + "name": "Hookdeck-write", + "description": null, + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "avatar_url": null, + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "namespace": "Hookdeck Write", + "visibility_level": 0, + "path_with_namespace": "hookdeckwrite/hookdeck-write", + "default_branch": "main", + "ci_config_path": "", + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git" + }, + "commits": [ + { + "id": "6752dd8e9b70a034e36b495d26626dafef42c53c", + "message": "Update README.md", + "title": "Update README.md", + "timestamp": "2023-01-27T15:11:04+00:00", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/commit/6752dd8e9b70a034e36b495d26626dafef42c53c", + "author": { + "name": "Hookdeck Write", + "email": "hookdeckwrite@gmail.com" + }, + "added": [], + "modified": [ + "README.md" + ], + "removed": [] + } + ], + "total_commits_count": 1, + "push_options": {}, + "repository": { + "name": "Hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "description": null, + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "visibility_level": 0 + } + }, + "topic": "Tag Push Hook" +} \ No newline at end of file diff --git a/providers/gitlab/current/Wiki Page Hook.json b/providers/gitlab/current/Wiki Page Hook.json new file mode 100644 index 0000000..3a9daaa --- /dev/null +++ b/providers/gitlab/current/Wiki Page Hook.json @@ -0,0 +1,59 @@ +{ + "headers": { + "user-agent": "GitLab/15.10.0-pre", + "content-length": "1543", + "accept": "application/json, text/plain, */*", + "content-type": "application/json", + "x-gitlab-event": "Wiki Page Hook", + "x-gitlab-event-uuid": "f697fa74-d5e3-45dc-8be2-5418ea11362b", + "x-gitlab-instance": "https://gitlab.com", + "x-gitlab-token": "secrettoken", + "accept-encoding": "gzip" + }, + "body": { + "object_kind": "wiki_page", + "user": { + "id": 13576927, + "name": "Hookdeck Write", + "username": "hookdeckwrite", + "avatar_url": "https://secure.gravatar.com/avatar/8d9e5d44f7eb9d70f015e80e50d1fa98?s=80&d=identicon", + "email": "[REDACTED]" + }, + "project": { + "id": 42958108, + "name": "Hookdeck-write", + "description": null, + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "avatar_url": null, + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git", + "namespace": "Hookdeck Write", + "visibility_level": 0, + "path_with_namespace": "hookdeckwrite/hookdeck-write", + "default_branch": "main", + "ci_config_path": "", + "homepage": "https://gitlab.com/hookdeckwrite/hookdeck-write", + "url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.git", + "http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.git" + }, + "wiki": { + "web_url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/wikis/home", + "git_ssh_url": "git@gitlab.com:hookdeckwrite/hookdeck-write.wiki.git", + "git_http_url": "https://gitlab.com/hookdeckwrite/hookdeck-write.wiki.git", + "path_with_namespace": "hookdeckwrite/hookdeck-write.wiki", + "default_branch": "main" + }, + "object_attributes": { + "content": "Hello new wiki page", + "format": "markdown", + "message": "Create home", + "title": "home", + "slug": "home", + "url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/wikis/home", + "action": "create", + "diff_url": "https://gitlab.com/hookdeckwrite/hookdeck-write/-/wikis/home/diff?version_id=fa0715e03fc718299e66127d92d2d0eebeacc69d" + } + }, + "topic": "Wiki Page Hook" +} \ No newline at end of file diff --git a/providers/gitlab/index.json b/providers/gitlab/index.json new file mode 100644 index 0000000..7fffbf5 --- /dev/null +++ b/providers/gitlab/index.json @@ -0,0 +1,7 @@ +{ + "label": "Gitlab", + "configs": { + "latest_version": "current", + "topic_identifier": "x-gitlab-event" + } + } diff --git a/providers/paypal/1.0/BILLING.PLAN.ACTIVATED.json b/providers/paypal/1.0/BILLING.PLAN.ACTIVATED.json new file mode 100644 index 0000000..d3830ca --- /dev/null +++ b/providers/paypal/1.0/BILLING.PLAN.ACTIVATED.json @@ -0,0 +1,145 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2072", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e0b2fe*Host=ccg14amqunphttpdeliveryd57", + "client_pid": "763685", + "content-type": "application/json", + "correlation-id": "8304c2d1f9b20", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "e068dce0-ba1d-11ed-8635-fb7d730e54d3", + "paypal-transmission-sig": "fblPC+IWjjdLepncpX86WCHQij9XMQaA7zmgA62vmoc7DIR4ThIBIkZ349YetJFKQuBKi26uBJeKD7RroEC2UQ1KzIVUdZVwUTDfkyIk+lRzYjz0Tau0vgQHKHovZ1aiAKTA96jb2kPW5zATHBZzP30Yhca2ICcNCA2a71fIzITVdgK/q4yJkvbcnfdWu3CHi1vnKA+X0rXQUIH9O8+Bo51cSdXBBIWvvsd5ghqK1N2Ex0yC4H4R/2PQNOnNJpzXseaJzcmoumaH5LbtaOfX6WvJB6xS5cApNPQ46l7+anfRD72fDcon/bZA4vn25JtMOeY+j3eucOhdUgkwekQZWw==", + "paypal-transmission-time": "2023-03-03T23:48:20Z", + "x-b3-spanid": "2ae3db9ba6f04589", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-55TG7562XN2588878-8YH955435R661687G", + "create_time": "2018-19-12T22:20:32.000Z", + "event_type": "BILLING.PLAN.ACTIVATED", + "event_version": "1.0", + "resource_type": "plan", + "resource_version": "2.0", + "summary": "A billing plan was activated.", + "resource": { + "id": "P-7GL4271244454362WXNWU5NQ", + "product_id": "PROD-XXCD1234QWER65782", + "name": "Zoho Marketing Campaign Plan", + "description": "Zoho Marketing Campaign Plan", + "status": "ACTIVE", + "usage_type": "LICENSED", + "billing_cycles": [ + { + "frequency": { + "interval_unit": "MONTH", + "interval_count": 1 + }, + "tenure_type": "TRIAL", + "sequence": 1, + "total_cycles": 1, + "pricing_scheme": { + "fixed_price": { + "value": "50", + "currency_code": "USD" + }, + "tier_mode": "VOLUME", + "tiers": [ + { + "starting_quantity": "1", + "ending_quantity": "1000", + "amount": { + "value": "100", + "currency_code": "USD" + } + }, + { + "starting_quantity": "1001", + "amount": { + "value": "200", + "currency_code": "USD" + } + } + ] + } + }, + { + "frequency": { + "interval_unit": "MONTH", + "interval_count": 1 + }, + "tenure_type": "REGULAR", + "sequence": 2, + "total_cycles": 12, + "pricing_scheme": { + "fixed_price": { + "value": "100", + "currency_code": "USD" + }, + "tier_mode": "VOLUME", + "tiers": [ + { + "starting_quantity": "1", + "ending_quantity": "1000", + "amount": { + "value": "300", + "currency_code": "USD" + } + }, + { + "starting_quantity": "1001", + "amount": { + "value": "1000", + "currency_code": "USD" + } + } + ] + } + } + ], + "payment_preferences": { + "service_type": "PREPAID", + "auto_bill_outstanding": true, + "setup_fee": { + "value": "10", + "currency_code": "USD" + }, + "setup_fee_failure_action": "CONTINUE", + "payment_failure_threshold": 3 + }, + "taxes": { + "percentage": "10", + "inclusive": false + }, + "create_time": "2018-12-10T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/billing/plans/P-5ML4271244454362WXNWU5NQ", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/billing/plans/P-5ML4271244454362WXNWU5NQ", + "rel": "edit", + "method": "PATCH" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.PLAN.ACTIVATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.PLAN.CREATED.json b/providers/paypal/1.0/BILLING.PLAN.CREATED.json new file mode 100644 index 0000000..9e9c195 --- /dev/null +++ b/providers/paypal/1.0/BILLING.PLAN.CREATED.json @@ -0,0 +1,129 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1862", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e1d6de*Host=ccg13amqunphttpdeliveryd34", + "client_pid": "652346", + "content-type": "application/json", + "correlation-id": "2a5ee4870ad28", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "01056770-ba1e-11ed-82f7-c746d6224898", + "paypal-transmission-sig": "lCGXoAD9A/6EJ3cb15OOI8VLq8FFx37z9k6/cbzUR4Ll3UOGPcIYRm/4YVhqnIKA25XFHhYsyaPDimOLKr1JvImzASUe+Dod0X9KKAguEp7AAQI0nxnAlp3IEcSiRNCH6W9+MEEseZp2+ILLwiyZsx06vyUCViVwU6HKtfInj9xH9g/pjoI9X1wARVjwoHpbJrUGzCbQUwdZKfdQkGNKmoIso6xP1nlnUlX8VJFbSlHFvuF/eMVtBVx+XqVPqWo5Rj8leZwOmrFXLAWTsrKnolGm5SOQx8IB+5eMeln3hZyjTuDmcE/KBjvJ4/2eipX48xqAXsc1PRrTkLOArfbXxA==", + "paypal-transmission-time": "2023-03-03T23:49:14Z", + "x-b3-spanid": "328a9ad597f97a41", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-2N1678257S892762B-8MC99539P4557624Y", + "event_version": "1.0", + "create_time": "2016-04-28T11:21:44Z", + "resource_type": "plan", + "event_type": "BILLING.PLAN.CREATED", + "summary": "A billing plan was created", + "resource": { + "id": "P-7LT50814996943336LSNDODY", + "merchant_preferences": { + "setup_fee": { + "currency": "USD", + "value": "1" + }, + "return_url": "http://www.paypal.com", + "cancel_url": "http://www.yahoo.com", + "auto_bill_amount": "YES", + "initial_fail_amount_action": "CONTINUE", + "max_fail_attempts": "21" + }, + "update_time": "2016-04-28T11:21:31.151Z", + "description": "test web new", + "payment_definitions": [ + { + "name": "Payment Definition-1", + "type": "REGULAR", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "currency": "USD", + "value": "10" + }, + "cycles": "15", + "charge_models": [ + { + "type": "SHIPPING", + "amount": { + "currency": "USD", + "value": "1" + }, + "id": "CHM-29V063578B632154XLSNDODY" + }, + { + "type": "TAX", + "amount": { + "currency": "USD", + "value": "2" + }, + "id": "CHM-72N78855RJ303084YLSNDODY" + } + ], + "id": "PD-28U66480VB469201XLSNDODY" + }, + { + "name": "Payment Definition-2", + "type": "TRIAL", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "currency": "USD", + "value": "5" + }, + "cycles": "5", + "charge_models": [ + { + "type": "SHIPPING", + "amount": { + "currency": "USD", + "value": "1" + }, + "id": "CHM-4CT119433N5199501LSNDODY" + }, + { + "type": "TAX", + "amount": { + "currency": "USD", + "value": "1" + }, + "id": "CHM-38H015979N656741TLSNDODY" + } + ], + "id": "PD-99B78670BE878604GLSNDODY" + } + ], + "name": "Fast Speed Plan", + "state": "CREATED", + "create_time": "2016-04-28T11:21:31.151Z", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/billing-plans/P-7LT50814996943336LSNDODY", + "rel": "self", + "method": "GET" + } + ], + "type": "FIXED" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2N1678257S892762B-8MC99539P4557624Y", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2N1678257S892762B-8MC99539P4557624Y/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.PLAN.CREATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.PLAN.PRICING-CHANGE.ACTIVATED.json b/providers/paypal/1.0/BILLING.PLAN.PRICING-CHANGE.ACTIVATED.json new file mode 100644 index 0000000..6c4fdaf --- /dev/null +++ b/providers/paypal/1.0/BILLING.PLAN.PRICING-CHANGE.ACTIVATED.json @@ -0,0 +1,149 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2161", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e3122e*Host=ccg14amqunphttpdeliveryd1", + "client_pid": "763718", + "content-type": "application/json", + "correlation-id": "16aa635264a86", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "267dfe90-ba1e-11ed-b9b7-69139b55be60", + "paypal-transmission-sig": "ioUvHMa+otPQM4IQBih6+eFuvo+mju0ncPQ6SKaCPd3aapiDitUJA8DHuVFXXnY+3b4ZmZyvPj4kV0Tvvp1LVcQuGz72BZql9FmoRoZlEeNFby11t0DjnzDkZN8nb//FN1xNA3XGwTlN6FT5dmNhY+gv+K17PUBrdbIpMN+Plkq2hirJSSUIWTMWORQFC6OhGsUYF53xO2f7oMTDozPgJjU0vuYpZiFnyGJAWlSSbspfd2aWvrIsUfW7D1unuorMOhA3SsNJ2lKlu3+lIK02qSYUnq0ZDY1mYQU7sWlyciLGBfLRTW/2kPV+Lhqt/+RJfVOlfBGpGN5ECXoBUlgCXg==", + "paypal-transmission-time": "2023-03-03T23:50:17Z", + "x-b3-spanid": "18c4d85396c02cbf", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-55TG7562XN2588878-8YH955435R771687G", + "create_time": "2018-19-12T22:20:32.000Z", + "event_type": "BILLING.PLAN.PRICING-CHANGE.ACTIVATED", + "event_version": "1.0", + "resource_type": "plan", + "resource_version": "2.0", + "summary": "A billing plan pricing change is activated.", + "resource": { + "id": "P-7GL4271244454362WXNWU5NQ", + "product_id": "PROD-XXCD1234QWER65782", + "name": "Zoho Marketing Campaign Plan", + "description": "Zoho Marketing Campaign Plan", + "status": "ACTIVE", + "usage_type": "LICENSED", + "billing_cycles": [ + { + "frequency": { + "interval_unit": "MONTH", + "interval_count": 1 + }, + "tenure_type": "TRIAL", + "sequence": 1, + "total_cycles": 1, + "pricing_scheme": { + "status": "ACTIVE", + "version": 2, + "fixed_price": { + "value": "50", + "currency_code": "USD" + }, + "tier_mode": "VOLUME", + "tiers": [ + { + "starting_quantity": "1", + "ending_quantity": "1000", + "amount": { + "value": "100", + "currency_code": "USD" + } + }, + { + "starting_quantity": "1001", + "amount": { + "value": "200", + "currency_code": "USD" + } + } + ] + } + }, + { + "frequency": { + "interval_unit": "MONTH", + "interval_count": 1 + }, + "tenure_type": "REGULAR", + "sequence": 2, + "total_cycles": 12, + "pricing_scheme": { + "status": "ACTIVE", + "version": 1, + "fixed_price": { + "value": "100", + "currency_code": "USD" + }, + "tier_mode": "VOLUME", + "tiers": [ + { + "starting_quantity": "1", + "ending_quantity": "1000", + "amount": { + "value": "300", + "currency_code": "USD" + } + }, + { + "starting_quantity": "1001", + "amount": { + "value": "1000", + "currency_code": "USD" + } + } + ] + } + } + ], + "payment_preferences": { + "service_type": "PREPAID", + "auto_bill_outstanding": true, + "setup_fee": { + "value": "10", + "currency_code": "USD" + }, + "setup_fee_failure_action": "CONTINUE", + "payment_failure_threshold": 3 + }, + "taxes": { + "percentage": "10", + "inclusive": false + }, + "create_time": "2018-12-10T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/billing/plans/P-5ML4271244454362WXNWU5NQ", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/billing/plans/P-5ML4271244454362WXNWU5NQ", + "rel": "edit", + "method": "PATCH" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R771687G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R771687G/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.PLAN.PRICING-CHANGE.ACTIVATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.PLAN.PRICING-CHANGE.INPROGRESS.json b/providers/paypal/1.0/BILLING.PLAN.PRICING-CHANGE.INPROGRESS.json new file mode 100644 index 0000000..2b8422f --- /dev/null +++ b/providers/paypal/1.0/BILLING.PLAN.PRICING-CHANGE.INPROGRESS.json @@ -0,0 +1,149 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2173", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e2943e*Host=ccg14amqunphttpdeliveryd12", + "client_pid": "764269", + "content-type": "application/json", + "correlation-id": "d449a01c23c2c", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "29f83130-ba1e-11ed-9594-bb45e37dc329", + "paypal-transmission-sig": "BBtBrVrRGCrMuWaa/hrwp8KQwyVdLjOoQFjyT59tlDr9acxLvYk8ckdFCrzdtsxE23xn+rKE1AfBYyUF6/KWEkignOtN9dEmxFqYdm4zilKOGuiyP2aqBX5Zy3LgLynNBA/Hoxvemn0t8LLUQDxUhkQ0bU39XfrPlRpH5Lc5z+YVsEiEyTZUyT1tG2SHoWVjbgn8kpZDIeTSZwe36CthwwpZUMGh99gzJqNHo24S+fE2m5UynR+m6ERS1RlNh4X3vkSwxLQcYJ5GCU6IrQt3SohSRxoCVIiSq+O99K6UdY+N0F4ZybhdDUQlO9sq9hxON5pBNO6q25X6FeSKNDCx5Q==", + "paypal-transmission-time": "2023-03-03T23:50:23Z", + "x-b3-spanid": "5325233325a00fb5", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-55TG7562XN2588878-8YH955435R672787G", + "create_time": "2018-19-12T22:20:32.000Z", + "event_type": "BILLING.PLAN.PRICING-CHANGE.INPROGRESS", + "event_version": "1.0", + "resource_type": "plan", + "resource_version": "2.0", + "summary": "A billing plan pricing change is being processed.", + "resource": { + "id": "P-7GL4271244454362WXNWU5NQ", + "product_id": "PROD-XXCD1234QWER65782", + "name": "Zoho Marketing Campaign Plan", + "description": "Zoho Marketing Campaign Plan", + "status": "ACTIVE", + "usage_type": "LICENSED", + "billing_cycles": [ + { + "frequency": { + "interval_unit": "MONTH", + "interval_count": 1 + }, + "tenure_type": "TRIAL", + "sequence": 1, + "total_cycles": 1, + "pricing_scheme": { + "status": "IN_PROGRESS", + "version": 2, + "fixed_price": { + "value": "50", + "currency_code": "USD" + }, + "tier_mode": "VOLUME", + "tiers": [ + { + "starting_quantity": "1", + "ending_quantity": "1000", + "amount": { + "value": "100", + "currency_code": "USD" + } + }, + { + "starting_quantity": "1001", + "amount": { + "value": "200", + "currency_code": "USD" + } + } + ] + } + }, + { + "frequency": { + "interval_unit": "MONTH", + "interval_count": 1 + }, + "tenure_type": "REGULAR", + "sequence": 2, + "total_cycles": 12, + "pricing_scheme": { + "status": "ACTIVE", + "version": 1, + "fixed_price": { + "value": "100", + "currency_code": "USD" + }, + "tier_mode": "VOLUME", + "tiers": [ + { + "starting_quantity": "1", + "ending_quantity": "1000", + "amount": { + "value": "300", + "currency_code": "USD" + } + }, + { + "starting_quantity": "1001", + "amount": { + "value": "1000", + "currency_code": "USD" + } + } + ] + } + } + ], + "payment_preferences": { + "service_type": "PREPAID", + "auto_bill_outstanding": true, + "setup_fee": { + "value": "10", + "currency_code": "USD" + }, + "setup_fee_failure_action": "CONTINUE", + "payment_failure_threshold": 3 + }, + "taxes": { + "percentage": "10", + "inclusive": false + }, + "create_time": "2018-12-10T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/billing/plans/P-5ML4271244454362WXNWU5NQ", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/billing/plans/P-5ML4271244454362WXNWU5NQ", + "rel": "edit", + "method": "PATCH" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R672787G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R672787G/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.PLAN.PRICING-CHANGE.INPROGRESS" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.PLAN.UPDATED.json b/providers/paypal/1.0/BILLING.PLAN.UPDATED.json new file mode 100644 index 0000000..bb74927 --- /dev/null +++ b/providers/paypal/1.0/BILLING.PLAN.UPDATED.json @@ -0,0 +1,129 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1861", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e2add4*Host=ccg13amqunphttpdeliveryd3", + "client_pid": "715815", + "content-type": "application/json", + "correlation-id": "183c29e59f2cf", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "2e124d50-ba1e-11ed-b43e-bdc2007fb7f3", + "paypal-transmission-sig": "ZDHvipBk/ybAXn3qprOldo8FKdTGB1C2U9UMZ/0/sLNydW9RIYzI+SwhoHS13jeM+LsUsyVdv5J7lQg1B1MqGm6jfEsGVTNOMW8okvPkw4c09qHds7XojOitYcjvEDjjryBNb8id+nawqvctLhkya3AxDT3EEpp7L57cjhrr+wLS/3ocqHpIsknWgx1IW/mSl/HnQRFG1hKiANV4SN8eWBN5nFwsP4UaJHTkuPq61osxOUwdnFvwPpWwZzPjdg3i59X5i6k6ID2H0UE5WiFwrcfRMrJD85zDPR7z3oMLQiqjmc/Wq2Lb7fvXDsAr18ks98nZmzUnDmHmPSfZOhUV1g==", + "paypal-transmission-time": "2023-03-03T23:50:30Z", + "x-b3-spanid": "81157169586502d4", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-303507964T970970H-60Y688551M4794625", + "event_version": "1.0", + "create_time": "2016-04-28T11:23:52Z", + "resource_type": "plan", + "event_type": "BILLING.PLAN.UPDATED", + "summary": "A billing plan was updated", + "resource": { + "id": "P-7LT50814996943336LSNDODY", + "merchant_preferences": { + "setup_fee": { + "currency": "USD", + "value": "1" + }, + "return_url": "http://www.paypal.com", + "cancel_url": "http://www.yahoo.com", + "auto_bill_amount": "YES", + "initial_fail_amount_action": "CONTINUE", + "max_fail_attempts": "21" + }, + "update_time": "2016-04-28T11:23:27.568Z", + "description": "test web new", + "payment_definitions": [ + { + "name": "Payment Definition-1", + "type": "REGULAR", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "currency": "USD", + "value": "10" + }, + "cycles": "15", + "charge_models": [ + { + "type": "TAX", + "amount": { + "currency": "USD", + "value": "2" + }, + "id": "CHM-72N78855RJ303084YLSNDODY" + }, + { + "type": "SHIPPING", + "amount": { + "currency": "USD", + "value": "1" + }, + "id": "CHM-29V063578B632154XLSNDODY" + } + ], + "id": "PD-28U66480VB469201XLSNDODY" + }, + { + "name": "Payment Definition-2", + "type": "TRIAL", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "currency": "USD", + "value": "5" + }, + "cycles": "5", + "charge_models": [ + { + "type": "TAX", + "amount": { + "currency": "USD", + "value": "1" + }, + "id": "CHM-38H015979N656741TLSNDODY" + }, + { + "type": "SHIPPING", + "amount": { + "currency": "USD", + "value": "1" + }, + "id": "CHM-4CT119433N5199501LSNDODY" + } + ], + "id": "PD-99B78670BE878604GLSNDODY" + } + ], + "name": "Fast Speed Plan", + "state": "ACTIVE", + "create_time": "2016-04-28T11:21:31.151Z", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/billing-plans/P-7LT50814996943336LSNDODY", + "rel": "self", + "method": "GET" + } + ], + "type": "FIXED" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-303507964T970970H-60Y688551M4794625", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-303507964T970970H-60Y688551M4794625/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.PLAN.UPDATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.ACTIVATED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.ACTIVATED.json new file mode 100644 index 0000000..1f00ecb --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.ACTIVATED.json @@ -0,0 +1,135 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2305", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e38132*Host=ccg13amqunphttpdeliveryd54", + "client_pid": "768928", + "content-type": "application/json", + "correlation-id": "cc7cb2973ec9f", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "395db0a0-ba1e-11ed-9552-9babbd01d13a", + "paypal-transmission-sig": "Rmr5qG7LFk7G0GoI1sm7OT9w+cWG+RddBQEJo17jiEaVbFR7/WYzYSjgfSYup3phXKwb1y5LVTYR5OrhA879AVgxrW3llRGdf9Iq2q8/m3tQgpE1bnkmDHFpVm0Z028WXAxUEhk1rlNUfciJaEKv+yfSMSB/PVHdR+OwCLN1rMgPFfgvaH529fD07Zu9MqK6m0BePaxoII8O+9bb1wU+GC02PPkoAp6aVVaTqTilfy12lQOHz89NtNXKjebUjjxqpTksqEkLSWFaDYqwL21ns6nwqPIN/n6aI8a7Z+rG4QZM9a0oa94r+1iuK6rSflD8oYxlzi4ZX1uXOoff8GseWA==", + "paypal-transmission-time": "2023-03-03T23:50:49Z", + "x-b3-spanid": "3e987183e4807b4e", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-77687562XN25889J8-8Y6T55435R66168T6", + "create_time": "2018-19-12T22:20:32.000Z", + "event_type": "BILLING.SUBSCRIPTION.ACTIVATED", + "event_version": "1.0", + "resource_type": "subscription", + "resource_version": "2.0", + "summary": "A billing agreement was activated.", + "resource": { + "id": "I-BW452GLLEP1G", + "status": "ACTIVE", + "status_update_time": "2018-12-10T21:20:49Z", + "plan_id": "P-5ML4271244454362WXNWU5NQ", + "start_time": "2018-11-01T00:00:00Z", + "quantity": "20", + "shipping_amount": { + "currency_code": "USD", + "value": "10.00" + }, + "subscriber": { + "name": { + "given_name": "John", + "surname": "Doe" + }, + "email_address": "customer@example.com", + "shipping_address": { + "name": { + "full_name": "John Doe" + }, + "address": { + "address_line_1": "2211 N First Street", + "address_line_2": "Building 17", + "admin_area_2": "San Jose", + "admin_area_1": "CA", + "postal_code": "95131", + "country_code": "US" + } + } + }, + "auto_renewal": true, + "billing_info": { + "outstanding_balance": { + "currency_code": "USD", + "value": "10.00" + }, + "cycle_executions": [ + { + "tenure_type": "TRIAL", + "sequence": 1, + "cycles_completed": 1, + "cycles_remaining": 0, + "current_pricing_scheme_version": 1 + }, + { + "tenure_type": "REGULAR", + "sequence": 2, + "cycles_completed": 1, + "cycles_remaining": 0, + "current_pricing_scheme_version": 2 + } + ], + "last_payment": { + "amount": { + "currency_code": "USD", + "value": "500.00" + }, + "time": "2018-12-01T01:20:49Z" + }, + "next_billing_time": "2019-01-01T00:20:49Z", + "final_payment_time": "2020-01-01T00:20:49Z", + "failed_payments_count": 2 + }, + "create_time": "2018-12-10T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G", + "rel": "edit", + "method": "PATCH" + }, + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G/suspend", + "rel": "suspend", + "method": "POST" + }, + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G/cancel", + "rel": "cancel", + "method": "POST" + }, + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G/capture", + "rel": "capture", + "method": "POST" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-77687562XN25889J8-8Y6T55435R66168T6", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-77687562XN25889J8-8Y6T55435R66168T6/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.ACTIVATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.CANCELLED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.CANCELLED.json new file mode 100644 index 0000000..c8dd68d --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.CANCELLED.json @@ -0,0 +1,153 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2090", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e35482*Host=ccg14amqunphttpdeliveryd21", + "client_pid": "765121", + "content-type": "application/json", + "correlation-id": "b81ec97195256", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "3f983bc0-ba1e-11ed-b701-5da37665886d", + "paypal-transmission-sig": "XHEBcsYzyNtXXsdfGHdg72tu7OzOMRk10MdR5FO1EcAdn99LdBozRRrZzr4o7GQBQrmaDvxTfaSAnvtaZE5ccMt1wTNy0Hb9mlilqbFMDaiuzM9XYM+WgOIahLN8JrEPUyd4U60mKKAAWMAueZukFF4tTYeJgWLPsd4hidZN7tji0lDWQIwLdfTotGQ1lwAw9b9WBZrkj+kIU42nE1eGhchYkAJ0AmISRAYaA4dSHw1nFQQ6wqs4iU5p/Amv1u1KHXPqmfMBhJYwASe880OGfA1Pz/rGYyh0aMuc37rq4idzAaQHLYFYvjZ8MH/KJdB+QE+0D32qDiVQFu1yiF+TVA==", + "paypal-transmission-time": "2023-03-03T23:50:59Z", + "x-b3-spanid": "106851feec412bfd", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-6TD369808N914414D-1YJ376786E892292F", + "event_version": "1.0", + "create_time": "2016-04-28T11:53:10Z", + "resource_type": "Agreement", + "event_type": "BILLING.SUBSCRIPTION.CANCELLED", + "summary": "A billing subscription was cancelled", + "resource": { + "id": "I-PE7JWXKGVN0R", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + }, + "plan": { + "curr_code": "USD", + "links": [], + "payment_definitions": [ + { + "type": "TRIAL", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "5.00" + }, + "cycles": "5", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "1.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + }, + { + "type": "REGULAR", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "10.00" + }, + "cycles": "15", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "2.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + } + ], + "merchant_preferences": { + "setup_fee": { + "value": "0.00" + }, + "auto_bill_amount": "YES", + "max_fail_attempts": "21" + } + }, + "payer": { + "payment_method": "paypal", + "status": "verified", + "payer_info": { + "email": "coolbuyer@example.com", + "first_name": "Cool", + "last_name": "Buyer", + "payer_id": "XLHKRXRA4H7QY", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + } + } + }, + "agreement_details": { + "outstanding_balance": { + "value": "0.00" + }, + "num_cycles_remaining": "5", + "num_cycles_completed": "0", + "last_payment_date": "2016-04-28T11:29:54Z", + "last_payment_amount": { + "value": "1.00" + }, + "final_payment_due_date": "2017-11-30T10:00:00Z", + "failed_payment_count": "0" + }, + "description": "update desc", + "state": "Cancelled", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/billing-agreements/I-PE7JWXKGVN0R", + "rel": "self", + "method": "GET" + } + ], + "start_date": "2016-04-30T07:00:00Z" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-6TD369808N914414D-1YJ376786E892292F", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-6TD369808N914414D-1YJ376786E892292F/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.CANCELLED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.CREATED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.CREATED.json new file mode 100644 index 0000000..2d24223 --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.CREATED.json @@ -0,0 +1,149 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1995", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e37372*Host=ccg13amqunphttpdeliveryd56", + "client_pid": "708179", + "content-type": "application/json", + "correlation-id": "17884c792681f", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "4604d360-ba1e-11ed-b26e-4700f011de08", + "paypal-transmission-sig": "UoWA6+seL6TCWr+o8Od2bTSEnNeor/HSbotB7qcYNBXWL6/s/GbS0I91Gg6RUf0ZtHfbW5MlfI8Kzufu9BdUP4fsNxdOLrSk4E/vLj/mNBkvLv1IrZh/ZcOGSM68c4FBlL2mkQCJdjp7iSgxNrAU3Uk4KgtUH14mGxR8zvR9iQeeLSoOA/AH846xwKbylxq0as7gQHfhgqR25rjnOlvESUiJewZx6ZguZMkMQlqCBciAE0R1KdBDgxZ8Rvu+P6/YFgI3HUwmyCUTNaZTNgqQt9VZpbQjWkflb6qctJUTVWLn5wteHhG46eC6ZTZyF8vYyswbqbQqTyFMR2UD5AgqVA==", + "paypal-transmission-time": "2023-03-03T23:51:10Z", + "x-b3-spanid": "f1ee2342940f8fcf", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-19973937YW279670F-02S63370HL636500Y", + "event_version": "1.0", + "create_time": "2016-04-28T11:29:31Z", + "resource_type": "Agreement", + "event_type": "BILLING.SUBSCRIPTION.CREATED", + "summary": "A billing subscription was created", + "resource": { + "id": "I-PE7JWXKGVN0R", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + }, + "plan": { + "curr_code": "USD", + "links": [], + "payment_definitions": [ + { + "type": "TRIAL", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "5.00" + }, + "cycles": "5", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "1.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + }, + { + "type": "REGULAR", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "10.00" + }, + "cycles": "15", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "2.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + } + ], + "merchant_preferences": { + "setup_fee": { + "value": "0.00" + }, + "auto_bill_amount": "YES", + "max_fail_attempts": "21" + } + }, + "payer": { + "payment_method": "paypal", + "status": "verified", + "payer_info": { + "email": "coolbuyer@example.com", + "first_name": "Cool", + "last_name": "Buyer", + "payer_id": "XLHKRXRA4H7QY", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + } + } + }, + "agreement_details": { + "outstanding_balance": { + "value": "0.00" + }, + "num_cycles_remaining": "5", + "num_cycles_completed": "0", + "final_payment_due_date": "2017-11-30T10:00:00Z", + "failed_payment_count": "0" + }, + "description": "desc", + "state": "Pending", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/billing-agreements/I-PE7JWXKGVN0R", + "rel": "self", + "method": "GET" + } + ], + "start_date": "2016-04-30T07:00:00Z" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-19973937YW279670F-02S63370HL636500Y", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-19973937YW279670F-02S63370HL636500Y/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.CREATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.EXPIRED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.EXPIRED.json new file mode 100644 index 0000000..f722544 --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.EXPIRED.json @@ -0,0 +1,115 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1858", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e3992e*Host=ccg14amqunphttpdeliveryd14", + "client_pid": "763312", + "content-type": "application/json", + "correlation-id": "935e2dfa05f35", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "4925c270-ba1e-11ed-89ca-b71bfd0b813f", + "paypal-transmission-sig": "ZDTn0v/sZ3+LweerJ8omVwsnQVWepYVgXxM55pYzEDt8Qcnte7REnfbeHQtFtGtBoEWc/p2ntu3cMD0qnO1SU1ttO08uq9bVnQubdcc8BGYFJLTZbUVumzNSoGmcHoB9nScTY+qF+kBPPQXawzJHIQtIu1xyABoEflGJvFGR7YuKVZr1i0vAhtG1riLfTe6K77WjLVxTmFrBC1JdnZ9IBCcSDUBKyGtEl/DFJev5zyHjXCs7v1+WhQNZGAMJvHOPiHojYWHrtPMEQGsW5tTopTNV9eKgwzoeduFPKgfZrVo12nw4ehm0EaGc0p33cv3siN0f1pzrNAKT1F8cS9RAKg==", + "paypal-transmission-time": "2023-03-03T23:51:15Z", + "x-b3-spanid": "3530d1aa54d7793a", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-UY687577TY25889J9-2R6T55435R66168Y6", + "create_time": "2018-19-12T22:20:32.000Z", + "event_type": "BILLING.SUBSCRIPTION.EXPIRED", + "event_version": "1.0", + "resource_type": "subscription", + "resource_version": "2.0", + "summary": "A billing agreement has expired.", + "resource": { + "id": "I-BW452GLLEP1G", + "status": "EXPIRED", + "status_update_time": "2018-12-10T21:20:49Z", + "plan_id": "P-5ML4271244454362WXNWU5NQ", + "start_time": "2018-11-01T00:00:00Z", + "quantity": "20", + "shipping_amount": { + "currency_code": "USD", + "value": "10.00" + }, + "subscriber": { + "name": { + "given_name": "John", + "surname": "Doe" + }, + "email_address": "customer@example.com", + "shipping_address": { + "name": { + "full_name": "John Doe" + }, + "address": { + "address_line_1": "2211 N First Street", + "address_line_2": "Building 17", + "admin_area_2": "San Jose", + "admin_area_1": "CA", + "postal_code": "95131", + "country_code": "US" + } + } + }, + "auto_renewal": true, + "billing_info": { + "outstanding_balance": { + "currency_code": "USD", + "value": "10.00" + }, + "cycle_executions": [ + { + "tenure_type": "TRIAL", + "sequence": 1, + "cycles_completed": 1, + "cycles_remaining": 0, + "current_pricing_scheme_version": 1 + }, + { + "tenure_type": "REGULAR", + "sequence": 2, + "cycles_completed": 1, + "cycles_remaining": 0, + "current_pricing_scheme_version": 1 + } + ], + "last_payment": { + "amount": { + "currency_code": "USD", + "value": "500.00" + }, + "time": "2018-12-01T01:20:49Z" + }, + "next_billing_time": "2019-01-01T00:20:49Z", + "final_payment_time": "2020-01-01T00:20:49Z", + "failed_payments_count": 2 + }, + "create_time": "2018-12-10T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G", + "rel": "self", + "method": "GET" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-UY687577TY25889J9-2R6T55435R66168Y6", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-UY687577TY25889J9-2R6T55435R66168Y6/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.EXPIRED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.PAYMENT.FAILED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.PAYMENT.FAILED.json new file mode 100644 index 0000000..9bdfba3 --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.PAYMENT.FAILED.json @@ -0,0 +1,129 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2370", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e34230*Host=ccg13amqunphttpdeliveryd37", + "client_pid": "775226", + "content-type": "application/json", + "correlation-id": "66d2aac69842b", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "4bf7ce30-ba1e-11ed-8c49-d5ed14aef4b1", + "paypal-transmission-sig": "J0zVAJHvfk5kB80TShebVnsi70T18afMB4nT+0pRRlF21aqc/hahC5a8SU1pdB1HSre1FvZtBW2vAekraoqYwd7ur17iyoEBNyT2ofa32wXEDmZeUS7jDH2en8UTLAqbZ+k3DINwWPebgHIgBmP8d2hgbXin7+xYDctQFlFQThMeAshQxJKYGOkTsH7bUrWtcVcgb2gkJJfUYuyYASEGBy9xTWi1pkHt7WmM2OBBxtaGJo8i2eSf8fejU2BI7VLga3bQFKuTdQEmtReZWoWRKyL2hxM93ZEFJ30Slzcrm//GRdEzeGJBEGYuogGodTltFFEdaNeFZdI+JMeXo7VFPQ==", + "paypal-transmission-time": "2023-03-03T23:51:20Z", + "x-b3-spanid": "12258d7a1b42b227", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-77687562XN25889J2-8Y6T55435R66168T4", + "create_time": "2019-01-01T01:20:54.000Z", + "event_type": "BILLING.SUBSCRIPTION.PAYMENT.FAILED", + "event_version": "1.0", + "resource_type": "subscription", + "resource_version": "2.0", + "summary": "Subscription payment failed", + "resource": { + "id": "I-BW452GLLEP1G", + "status": "ACTIVE", + "status_update_time": "2018-12-10T21:20:49Z", + "plan_id": "P-5ML4271244454362WXNWU5NQ", + "start_time": "2018-11-01T00:00:00Z", + "quantity": "20", + "shipping_amount": { + "currency_code": "USD", + "value": "10.00" + }, + "subscriber": { + "name": { + "given_name": "John", + "surname": "Doe" + }, + "email_address": "customer@example.com", + "payer_id": "2J6QB8YJQSJRJ", + "shipping_address": { + "name": { + "full_name": "John Doe" + }, + "address": { + "address_line_1": "2211 N First Street", + "address_line_2": "Building 17", + "admin_area_2": "San Jose", + "admin_area_1": "CA", + "postal_code": "95131", + "country_code": "US" + } + } + }, + "billing_info": { + "outstanding_balance": { + "currency_code": "USD", + "value": "10.00" + }, + "cycle_executions": [ + { + "tenure_type": "TRIAL", + "sequence": 1, + "cycles_completed": 1, + "cycles_remaining": 0, + "current_pricing_scheme_version": 1 + }, + { + "tenure_type": "REGULAR", + "sequence": 2, + "cycles_completed": 1, + "cycles_remaining": 0, + "current_pricing_scheme_version": 1 + } + ], + "last_payment": { + "amount": { + "currency_code": "USD", + "value": "500.00" + }, + "time": "2018-12-01T01:20:49Z" + }, + "last_failed_payment": { + "amount": { + "currency_code": "USD", + "value": "500.00" + }, + "time": "2019-01-01T01:20:49Z", + "reason_code": "PAYMENT_DENIED", + "next_payment_retry_date": "2019-01-06T01:20:49Z" + }, + "next_billing_time": "2019-01-01T00:20:49Z", + "final_payment_time": "2020-01-01T00:20:49Z", + "failed_payments_count": 2 + }, + "create_time": "2018-10-20T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G?fields=last_failed_payment", + "rel": "self", + "method": "GET" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-77687562XN25889J2-8Y6T55435R66168T4", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-77687562XN25889J2-8Y6T55435R66168T4/resend", + "rel": "resend", + "method": "POST" + }, + { + "href": "https://api.paypal.com/v1/billing/subscriptions/I-BW452GLLEP1G", + "rel": "subscription", + "method": "GET" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.PAYMENT.FAILED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.RE-ACTIVATED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.RE-ACTIVATED.json new file mode 100644 index 0000000..db4bce9 --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.RE-ACTIVATED.json @@ -0,0 +1,154 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2128", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e39366*Host=ccg13amqunphttpdeliveryd26", + "client_pid": "769475", + "content-type": "application/json", + "correlation-id": "edf62a3dd97ff", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "4efcf7e0-ba1e-11ed-9552-9babbd01d13a", + "paypal-transmission-sig": "nStQQFzoNp4sRtorQQSDfbjj7L4efDHwdcBNpVHAsBnIr7RwwMWayz62QMtF3jhwfJwMfobA6wrs+a8QJzik3s2H8nRqh9SW9jfcu3xWj6bk0VT0qx6lGvg+oVKPJct9GFHJWx4a3H9l1b1vnvWuA56Bm/nTvQbAMAQxem373J+o0h+lvYPi66XUAu+AwWr8TWsEi8wxYYqsZ+aa0FcuTVoCEd8MS6MRy9tzXiZdb5xBBm/VNq3xXrqufDLmxXKh1CrvViMZB9gwN8fjdSUXDIm4gOVx0LxJFe+uddN0320uIqNhR3X5H5xwe/SE4L3mwSJcoSrDav9UiiyKOwfNhg==", + "paypal-transmission-time": "2023-03-03T23:51:25Z", + "x-b3-spanid": "c17d3c8668470309", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-8KT47529P7696805Y-3CS72897S14937140", + "event_version": "1.0", + "create_time": "2016-04-28T11:41:01Z", + "resource_type": "Agreement", + "event_type": "BILLING.SUBSCRIPTION.RE-ACTIVATED", + "summary": "A billing subscription was reactivated", + "resource": { + "id": "I-PE7JWXKGVN0R", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + }, + "plan": { + "curr_code": "USD", + "links": [], + "payment_definitions": [ + { + "type": "TRIAL", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "5.00" + }, + "cycles": "5", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "1.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + }, + { + "type": "REGULAR", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "10.00" + }, + "cycles": "15", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "2.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + } + ], + "merchant_preferences": { + "setup_fee": { + "value": "0.00" + }, + "auto_bill_amount": "YES", + "max_fail_attempts": "21" + } + }, + "payer": { + "payment_method": "paypal", + "status": "verified", + "payer_info": { + "email": "coolbuyer@example.com", + "first_name": "Cool", + "last_name": "Buyer", + "payer_id": "XLHKRXRA4H7QY", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + } + } + }, + "agreement_details": { + "outstanding_balance": { + "value": "0.00" + }, + "num_cycles_remaining": "5", + "num_cycles_completed": "0", + "next_billing_date": "2016-04-30T07:00:00Z", + "last_payment_date": "2016-04-28T11:29:54Z", + "last_payment_amount": { + "value": "1.00" + }, + "final_payment_due_date": "2017-11-30T10:00:00Z", + "failed_payment_count": "0" + }, + "description": "desc", + "state": "Active", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/billing-agreements/I-PE7JWXKGVN0R", + "rel": "self", + "method": "GET" + } + ], + "start_date": "2016-04-30T07:00:00Z" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-8KT47529P7696805Y-3CS72897S14937140", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-8KT47529P7696805Y-3CS72897S14937140/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.RE-ACTIVATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.SUSPENDED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.SUSPENDED.json new file mode 100644 index 0000000..8e19bff --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.SUSPENDED.json @@ -0,0 +1,153 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2083", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e3f572*Host=ccg14amqunphttpdeliveryd46", + "client_pid": "761921", + "content-type": "application/json", + "correlation-id": "f6e5d463df567", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "58edad30-ba1e-11ed-a42f-c5267af5ab60", + "paypal-transmission-sig": "eS9blYRTmTAptEoqlQ+Tv/9d4/EpxRGiyOX9v4t0s9gHOmRzHLr1fLyBsZD+IZixI5QAMe3JMszLOcjPrfAlBYkXWvToREUsuwlLVeWJkB4zlFyanQxX+z/5h//6tKKlxPaKUJglkHU3JLY6YcanvZ3HRxe237Ngtum+6xYO41q2EYxSuP+cKSCLBcY0LaDRO5M6Zwz+lCKLax0lSBZym7YrZqSVbAux2wqvhWgeXlFwnR4NS2+NHewZ23z4H3w/0+EyYIX/UgtUu8+HdvkkaakUUD21gW4QneAEx0Gs3AVXK5FxTuarCyX01IesrVGSnBdTCZHIg1lhV4XHSPpFAw==", + "paypal-transmission-time": "2023-03-03T23:51:42Z", + "x-b3-spanid": "50ff6b21e56a0184", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-0RD44774E41721427-487281337V896051W", + "event_version": "1.0", + "create_time": "2016-04-28T11:37:14Z", + "resource_type": "Agreement", + "event_type": "BILLING.SUBSCRIPTION.SUSPENDED", + "summary": "A billing subscription was suspended", + "resource": { + "id": "I-PE7JWXKGVN0R", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + }, + "plan": { + "curr_code": "USD", + "links": [], + "payment_definitions": [ + { + "type": "TRIAL", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "5.00" + }, + "cycles": "5", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "1.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + }, + { + "type": "REGULAR", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "10.00" + }, + "cycles": "15", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "2.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + } + ], + "merchant_preferences": { + "setup_fee": { + "value": "0.00" + }, + "auto_bill_amount": "YES", + "max_fail_attempts": "21" + } + }, + "payer": { + "payment_method": "paypal", + "status": "verified", + "payer_info": { + "email": "coolbuyer@example.com", + "first_name": "Cool", + "last_name": "Buyer", + "payer_id": "XLHKRXRA4H7QY", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + } + } + }, + "agreement_details": { + "outstanding_balance": { + "value": "0.00" + }, + "num_cycles_remaining": "5", + "num_cycles_completed": "0", + "last_payment_date": "2016-04-28T11:29:54Z", + "last_payment_amount": { + "value": "1.00" + }, + "final_payment_due_date": "1971-07-30T10:00:00Z", + "failed_payment_count": "0" + }, + "description": "desc", + "state": "Suspended", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/billing-agreements/I-PE7JWXKGVN0R", + "rel": "self", + "method": "GET" + } + ], + "start_date": "2016-04-30T07:00:00Z" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-0RD44774E41721427-487281337V896051W", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-0RD44774E41721427-487281337V896051W/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.SUSPENDED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/BILLING.SUBSCRIPTION.UPDATED.json b/providers/paypal/1.0/BILLING.SUBSCRIPTION.UPDATED.json new file mode 100644 index 0000000..b816123 --- /dev/null +++ b/providers/paypal/1.0/BILLING.SUBSCRIPTION.UPDATED.json @@ -0,0 +1,153 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2086", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e4356e*Host=ccg13amqunphttpdeliveryd22", + "client_pid": "766546", + "content-type": "application/json", + "correlation-id": "b51e908e399be", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "5ba5c850-ba1e-11ed-b26e-4700f011de08", + "paypal-transmission-sig": "cLP3Nk1bmFwbnJhNQ1I2+j2U5sxGftSmmB0lrIrR3TSiS9sfbVyvxdBIRj3V9AmJKUgcvr8lMwEhXQN42WTlLUJWKdZIh9QXmihYMHUna8AMzxV14OcBm3Y9O+Ngu4FWudr3EE/VPtQLkoxIgHRGljpLvOgz71ufRGLZGUzRZOtNVx000CPAHwtwLyfCS4JYR6MF26tWoJRagwQ7jflU9aQlgA5DYvxAlHsSZ5gI96CadIU/0tW+huYnJM7loJLwUOIiPHWBEn+eMEIkEiLRuo7C+N3etuiMf3oDHaobirnEhTjmmMyAKrucBwv06l+pzx+Yv1GZeGdDRwfDtCm45w==", + "paypal-transmission-time": "2023-03-03T23:51:46Z", + "x-b3-spanid": "872d5fc27a42d9ca", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-7BW55401AV391063H-02P24463AR970092S", + "event_version": "1.0", + "create_time": "2016-04-28T11:43:08Z", + "resource_type": "Agreement", + "event_type": "BILLING.SUBSCRIPTION.UPDATED", + "summary": "A billing subscription was updated", + "resource": { + "id": "I-PE7JWXKGVN0R", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + }, + "plan": { + "curr_code": "USD", + "links": [], + "payment_definitions": [ + { + "type": "TRIAL", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "5.00" + }, + "cycles": "5", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "1.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + }, + { + "type": "REGULAR", + "frequency": "Month", + "frequency_interval": "1", + "amount": { + "value": "10.00" + }, + "cycles": "15", + "charge_models": [ + { + "type": "TAX", + "amount": { + "value": "2.00" + } + }, + { + "type": "SHIPPING", + "amount": { + "value": "1.00" + } + } + ] + } + ], + "merchant_preferences": { + "setup_fee": { + "value": "0.00" + }, + "auto_bill_amount": "YES", + "max_fail_attempts": "21" + } + }, + "payer": { + "payment_method": "paypal", + "status": "verified", + "payer_info": { + "email": "coolbuyer@example.com", + "first_name": "Cool", + "last_name": "Buyer", + "payer_id": "XLHKRXRA4H7QY", + "shipping_address": { + "recipient_name": "Cool Buyer", + "line1": "3rd st", + "line2": "cool", + "city": "San Jose", + "state": "CA", + "postal_code": "95112", + "country_code": "US" + } + } + }, + "agreement_details": { + "outstanding_balance": { + "value": "0.00" + }, + "num_cycles_remaining": "5", + "num_cycles_completed": "0", + "last_payment_date": "2016-04-28T11:29:54Z", + "last_payment_amount": { + "value": "1.00" + }, + "final_payment_due_date": "1971-07-30T10:00:00Z", + "failed_payment_count": "0" + }, + "description": "update desc", + "state": "Suspended", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/billing-agreements/I-PE7JWXKGVN0R", + "rel": "self", + "method": "GET" + } + ], + "start_date": "2016-04-30T07:00:00Z" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-7BW55401AV391063H-02P24463AR970092S", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-7BW55401AV391063H-02P24463AR970092S/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "BILLING.SUBSCRIPTION.UPDATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CATALOG.PRODUCT.CREATED.json b/providers/paypal/1.0/CATALOG.PRODUCT.CREATED.json new file mode 100644 index 0000000..e239dcb --- /dev/null +++ b/providers/paypal/1.0/CATALOG.PRODUCT.CREATED.json @@ -0,0 +1,64 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1057", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e3dfa6*Host=ccg14amqunphttpdeliveryd39", + "client_pid": "761914", + "content-type": "application/json", + "correlation-id": "d3a3ebfe3dbf4", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "5ea1f150-ba1e-11ed-a5f7-a56ac798bf6f", + "paypal-transmission-sig": "bO3qgys2KPjDTXm/4ti5GzhkGC/+YnxppjPdYUVHCq7P5JNfsvXw+6d9VEZncj6453vwuCBwDaHaEcm2hV3b9DWCiBCzqwByfecxd+iV8nNKUdJYzWXuTXmsGlzmtuVzZd6dZsS+IgjUlKTOpS++WqmSLnyWJMzJ9S2DZvqn9YCrknbI79bTmq0A/l4zxC10VoxRo1iwdWId+zxAVNVc0NlZHJhpMNs7lWgi9YmAsK0DEfFLHcBWDVPFvKXZkViDrg/Gk/ro9U7AWSTO4kavMyQ8mZX+tSAc1AaSLuJMj+MzYayIo0z+RqHZKVCTpp9bWhXTjCaQd2K5DdXjpj7DEQ==", + "paypal-transmission-time": "2023-03-03T23:51:51Z", + "x-b3-spanid": "c079798047992471", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-55TG7562XN2588878-8YH955435R661687G", + "create_time": "2018-12-19T22:20:32.000Z", + "event_type": "CATALOG.PRODUCT.CREATED", + "event_version": "1.0", + "resource_type": "product", + "resource_version": "2.0", + "summary": "Product created", + "resource": { + "id": "72255d4849af8ed6e0df1173", + "name": "Video Streaming Service", + "description": "Video streaming service", + "type": "SERVICE", + "category": "SAAS", + "image_url": "https://example.com/streaming.jpg", + "home_url": "https://example.com/home", + "create_time": "2018-12-10T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/catalogs/products/72255d4849af8ed6e0df1173", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/catalogs/products/72255d4849af8ed6e0df1173", + "rel": "edit", + "method": "PATCH" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CATALOG.PRODUCT.CREATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CATALOG.PRODUCT.UPDATED.json b/providers/paypal/1.0/CATALOG.PRODUCT.UPDATED.json new file mode 100644 index 0000000..a9dc0e6 --- /dev/null +++ b/providers/paypal/1.0/CATALOG.PRODUCT.UPDATED.json @@ -0,0 +1,64 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1055", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e3f752*Host=ccg14amqunphttpdeliveryd37", + "client_pid": "764189", + "content-type": "application/json", + "correlation-id": "b229fe9a4534b", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "60fa1220-ba1e-11ed-b284-5163cdac11a1", + "paypal-transmission-sig": "HTiHrgr2Qp4XIsMHKKnVMROFgX9ZDer5oVhnrG6guDzGAabEO6UZvTOkAqltyZRtGAVhuYAxQ/wxNsLadnVE4rfPGhZp8OfY9Qk6by4WNhMkaKgb7OIBj3ataVZ8bMU/uOc+ve9tg2rmusZWDjzGJGNWrrAgpP6cxVkQr5V0d44At/LLI2G3CWZkZAiw/55e2FDPxuAnq9U66+jl1Ioe1J9GwzqmTuVxs7mPvKObwVNf1lOkB8Ko/4ijWbsM0QvAvM2rzJeCUsaGb3sbP9jwAXxQBb7oQb6LQ+XIDAubCvkuMV1jqQ0qts9gM257zbOzDmqvy5SC/qcCI9EaoJmPdA==", + "paypal-transmission-time": "2023-03-03T23:51:55Z", + "x-b3-spanid": "8e5ea768f6be199e", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-55TG7562XN2588878-8YH955435R661687G", + "create_time": "2018-12-19T22:20:32.000Z", + "event_type": "CATALOG.PRODUCT.UPDATED", + "event_version": "1.0", + "resource_type": "product", + "resource_version": "2.0", + "summary": "Product updated", + "resource": { + "id": "PROD-VFGB2314GFDE7658N", + "name": "Video Streaming Service", + "description": "Video streaming service", + "type": "SERVICE", + "category": "SAAS", + "image_url": "https://example.com/streaming.jpg", + "home_url": "https://example.com/home", + "create_time": "2018-12-10T21:20:49Z", + "update_time": "2018-12-10T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v1/catalogs/products/72255d4849af8ed6e0df1173", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/catalogs/products/72255d4849af8ed6e0df1173", + "rel": "edit", + "method": "PATCH" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CATALOG.PRODUCT.UPDATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CHECKOUT.CHECKOUT.BUYER-APPROVED.json b/providers/paypal/1.0/CHECKOUT.CHECKOUT.BUYER-APPROVED.json new file mode 100644 index 0000000..4600abc --- /dev/null +++ b/providers/paypal/1.0/CHECKOUT.CHECKOUT.BUYER-APPROVED.json @@ -0,0 +1,44 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1473", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e203fc*Host=ccg13amqunphttpdeliveryd4", + "client_pid": "770183", + "content-type": "application/json", + "correlation-id": "7aa54eb41e894", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "0d3f9790-ba1e-11ed-9150-2f866594276d", + "paypal-transmission-sig": "QSAXlIIUdEu8atHfhbnwpnxKI444ZX+xNb2jNi/Yj05bV5uR3EpWhq1y89SVxKLPXSdZocC0ibstVA9Dycd4XJTHo1BkYLkMfwBCDf7F3W6aQnMjkGST+FiUNT6etYtIsWQhRcH+k/J5krNj5pmabfOZQ/b1oPQHsDA62ctokZchUCkjjJEMVX7b5rHvJIFJa+2BQnBj2EUHdDVsz3MoU43uxqMjK1sIYsVDltOG1Dx+fgbjv4aGkHv6xkapnUGrad31eclbmfG/J2PQ5rqnY/lhq6g+fnD9UtDxq9gC8PXBHa2tIMPAUNMnK1Z/orCshYUTteYZc82B28staFPn/Q==", + "paypal-transmission-time": "2023-03-03T23:49:35Z", + "x-b3-spanid": "16fa6c3ed35f4113", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-6W4482673W002281V-61985753LP2332451", + "create_time": "2018-19-12T22:20:32.000Z", + "event_type": "CHECKOUT.CHECKOUT.BUYER-APPROVED", + "event_version": "1.0", + "resource_type": "payment", + "summary": "Checkout Payment is created and approved by buyer.", + "resource": { + "id": "EC-7JW39463WG7174715", + "payload": "payment_type=instant&payment_date=10%3A46%3A54%20Apr%2028%2C%202019%20PDT&payment_status=Completed&address_status=confirmed&payer_status=verified&first_name=John&last_name=Smith&payer_email=buyer@paypalsandbox.com&payer_id=TESTBUYERID01&address_name=John%20Smith&address_country=United%20States&address_country_code=US&address_zip=95131&address_state=CA&address_city=San%20Jose&address_street=123%20any%20street&business=seller@paypalsandbox.com&receiver_email=seller@paypalsandbox.com&receiver_id=seller@paypalsandbox.com&residence_country=US&item_name1=something&item_number1=AK-1234&tax=2.02&mc_currency=USD&mc_fee=0.44&mc_gross=12.34&mc_gross_1=12.34&mc_handling=2.06&mc_handling1=1.67&mc_shipping=3.02&mc_shipping1=1.02&txn_type=cart&txn_id=274113719¬ify_version=2.1&custom=xyz123&invoice=abc1234&test_ipn=1&verify_sign=AmoLQMSQnFNTX4UH11dp7XvPK.4bAfd10dnRIZeo9cONJNn0b9NquIGb" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-6W4482673W002281V-61985753LP2332451", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-6W4482673W002281V-61985753LP2332451/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CHECKOUT.CHECKOUT.BUYER-APPROVED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CHECKOUT.ORDER.APPROVED.json b/providers/paypal/1.0/CHECKOUT.ORDER.APPROVED.json new file mode 100644 index 0000000..7d00dd7 --- /dev/null +++ b/providers/paypal/1.0/CHECKOUT.ORDER.APPROVED.json @@ -0,0 +1,90 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1416", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e46390*Host=ccg14amqunphttpdeliveryd50", + "client_pid": "762622", + "content-type": "application/json", + "correlation-id": "6d86a402e064e", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "65f03660-ba1e-11ed-b284-5163cdac11a1", + "paypal-transmission-sig": "dn4KcrSaxCEXd8I5yrHQWJtQ4FySM1Bfsob4dBTBo7FSGrNJYQF2YjiX1pkKI+/MvPHWPIA62aWIT5dqxl1RLxvuYmZOf1O6SRx5XVcil9zotqdAADDsC/7V91qb5Qh6mMUv/Hut11ny0ZEAJoUsc88O/XVchuwuDYbYU+WhCmdUywnposyyoddELfd/TSWv3BsW9a+K0/iUU3T2Yg3o7mxSP0jPlv/WiwAOqv7EABhkhdLlZIOznJVOwSeDp8W9Z3XiNpy1kWDR26YWqeM0RSjCq1k9CjHMjIGKm2SN8KymTKzE44eblh/Onm5LXXeiuOyQ636fnZOp5nyU91+O0Q==", + "paypal-transmission-time": "2023-03-03T23:52:04Z", + "x-b3-spanid": "9f4a678094f242d4", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-COC11055RA711503B-4YM959094A144403T", + "create_time": "2018-04-16T21:21:49.000Z", + "event_type": "CHECKOUT.ORDER.APPROVED", + "resource_type": "checkout-order", + "resource_version": "2.0", + "summary": "An order has been approved by buyer", + "resource": { + "id": "5O190127TN364715T", + "status": "APPROVED", + "intent": "CAPTURE", + "payer": { + "name": { + "given_name": "John", + "surname": "Doe" + }, + "email_address": "customer@example.com", + "payer_id": "QYR5Z8XDVJNXQ" + }, + "purchase_units": [ + { + "reference_id": "d9f80740-38f0-11e8-b467-0ed5f89f718b", + "amount": { + "currency_code": "USD", + "value": "100.00" + }, + "payee": { + "email_address": "merchant@example.com" + }, + "shipping": { + "method": "United States Postal Service", + "address": { + "address_line_1": "2211 N First Street", + "address_line_2": "Building 17", + "admin_area_2": "San Jose", + "admin_area_1": "CA", + "postal_code": "95131", + "country_code": "US" + } + } + } + ], + "create_time": "2018-04-01T21:18:49Z", + "update_time": "2018-04-01T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v2/checkout/orders/5O190127TN364715T", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v2/checkout/orders/5O190127TN364715T/capture", + "method": "POST" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-COC11055RA711503B-4YM959094A144403T", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-COC11055RA711503B-4YM959094A144403T/resend", + "rel": "resend", + "method": "POST" + } + ], + "event_version": "1.0" + }, + "topic": "CHECKOUT.ORDER.APPROVED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CHECKOUT.ORDER.COMPLETED.json b/providers/paypal/1.0/CHECKOUT.ORDER.COMPLETED.json new file mode 100644 index 0000000..dc2a0a5 --- /dev/null +++ b/providers/paypal/1.0/CHECKOUT.ORDER.COMPLETED.json @@ -0,0 +1,139 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "2340", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e493d8*Host=ccg14amqunphttpdeliveryd47", + "client_pid": "760827", + "content-type": "application/json", + "correlation-id": "d7b5e9cb06c81", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "689abcf0-ba1e-11ed-8635-fb7d730e54d3", + "paypal-transmission-sig": "IymBh75Dezm92b8XACF4mrXPWN8STab98czZHmd9BKrx0ty6SgJV/tkMmRORgebw/sXnvbgXSQDjv/kXrOsLWAR/A4jeU6ClIVKdfxaXeD4AJV6ufvepeQtfd91iClE1f2NSAKDrMCGmFtsfm/6XS9oTsHa/EGPH5ircl++7as3EfcTIMibDcieTpXIrdBJygrybMw4jNnV3inWD3UQ8ejhUCcKNICnMozAuQL0geWCURdvShrZZM0cKoukgK0oWNHecyVKjT81Dzh/2VCSFqazpOV3mCGGUo72le8LrisorDAha5KUsIf5iUrmpLHeFdWAfAlgqFrYU5xPvFD8obg==", + "paypal-transmission-time": "2023-03-03T23:52:08Z", + "x-b3-spanid": "51240d0a74d272b9", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-COC11055RA711503B-4YM959094A144403T", + "create_time": "2018-04-16T21:21:49.000Z", + "event_type": "CHECKOUT.ORDER.COMPLETED", + "resource_type": "checkout-order", + "resource_version": "2.0", + "summary": "Checkout Order Completed", + "resource": { + "id": "5O190127TN364715T", + "status": "COMPLETED", + "intent": "CAPTURE", + "gross_amount": { + "currency_code": "USD", + "value": "100.00" + }, + "payer": { + "name": { + "given_name": "John", + "surname": "Doe" + }, + "email_address": "buyer@example.com", + "payer_id": "QYR5Z8XDVJNXQ" + }, + "purchase_units": [ + { + "reference_id": "d9f80740-38f0-11e8-b467-0ed5f89f718b", + "amount": { + "currency_code": "USD", + "value": "100.00" + }, + "payee": { + "email_address": "seller@example.com" + }, + "shipping": { + "method": "United States Postal Service", + "address": { + "address_line_1": "2211 N First Street", + "address_line_2": "Building 17", + "admin_area_2": "San Jose", + "admin_area_1": "CA", + "postal_code": "95131", + "country_code": "US" + } + }, + "payments": { + "captures": [ + { + "id": "3C679366HH908993F", + "status": "COMPLETED", + "amount": { + "currency_code": "USD", + "value": "100.00" + }, + "seller_protection": { + "status": "ELIGIBLE", + "dispute_categories": [ + "ITEM_NOT_RECEIVED", + "UNAUTHORIZED_TRANSACTION" + ] + }, + "final_capture": true, + "seller_receivable_breakdown": { + "gross_amount": { + "currency_code": "USD", + "value": "100.00" + }, + "paypal_fee": { + "currency_code": "USD", + "value": "3.00" + }, + "net_amount": { + "currency_code": "USD", + "value": "97.00" + } + }, + "create_time": "2018-04-01T21:20:49Z", + "update_time": "2018-04-01T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v2/payments/captures/3C679366HH908993F", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v2/payments/captures/3C679366HH908993F/refund", + "rel": "refund", + "method": "POST" + } + ] + } + ] + } + } + ], + "create_time": "2018-04-01T21:18:49Z", + "update_time": "2018-04-01T21:20:49Z", + "links": [ + { + "href": "https://api.paypal.com/v2/checkout/orders/5O190127TN364715T", + "rel": "self", + "method": "GET" + } + ] + }, + "links": [ + { + "href": "https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-COC11055RA711503B-4YM959094A144403T", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.sandbox.paypal.com/v1/notifications/webhooks-events/WH-COC11055RA711503B-4YM959094A144403T/resend", + "rel": "resend", + "method": "POST" + } + ], + "zts": 1494957670, + "event_version": "1.0" + }, + "topic": "CHECKOUT.ORDER.COMPLETED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CHECKOUT.ORDER.SAVED.json b/providers/paypal/1.0/CHECKOUT.ORDER.SAVED.json new file mode 100644 index 0000000..e61727a --- /dev/null +++ b/providers/paypal/1.0/CHECKOUT.ORDER.SAVED.json @@ -0,0 +1,82 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1260", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e4ad8c*Host=ccg14amqunphttpdeliveryd66", + "client_pid": "763871", + "content-type": "application/json", + "correlation-id": "26a1589f267c6", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "6b1fe130-ba1e-11ed-9ef6-d38729134cb6", + "paypal-transmission-sig": "gzPWDX/yJ5H1M/OIMiuHH6XzXMT05jy5JFopFr1hmDUxD7+pbevI6gcZSHOdW2FXAFZTF+iRbgzE0ny2lTLny0I/kGaiJ82nRsNNxz1XtchCC+LphRFpMTqSfO1CZWMLS4a1VWe8A//W899nWCmK8uBvuVwmpjbOhn2D1B0i627mKPT6fLiyT9mriUXD7/dOrRRVrV0CZh5tFdJyOWZ8wDIm7gqSfU60EJgLiR+mAgVtw1WtaX+IEBX9xVkTv/SpYkdattH9TBppRL5rNlEnghinLD2/xlO7Ve9g3RfsevSRCAizyAo3e9izbs7XwswsB8fakCK0B37cFkM4PzEKWQ==", + "paypal-transmission-time": "2023-03-03T23:52:12Z", + "x-b3-spanid": "8f603af310e885a6", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-55TG7562XN2588878-8YH955435R661687G", + "create_time": "2018-05-03T22:20:32.000Z", + "event_type": "CHECKOUT.ORDER.SAVED", + "event_version": "1.0", + "resource_type": "order", + "resource_version": "2.0", + "summary": "Order 9NK63094MA726991F for 100 USD has been saved.", + "resource": { + "id": "9NK63094MA726991F", + "intent": "AUTHORIZE", + "purchase_units": [ + { + "reference_id": "REDFWE35G", + "amount": { + "currency_code": "USD", + "value": "100.00" + }, + "payee": { + "email_address": "pbehara-seller@paypal.com", + "merchant_id": "WDMEWZ63SR74G" + } + } + ], + "create_time": "2019-03-06T21:42:35Z", + "links": [ + { + "href": "https://api.paypal.com/v2/checkout/orders/9NK63094MA726991F", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/checkoutnow?token=9NK63094MA726991F", + "rel": "approve", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v2/checkout/orders/9NK63094MA726991F", + "rel": "update", + "method": "PATCH" + }, + { + "href": "https://api.paypal.com/v2/checkout/orders/9NK63094MA726991F/save", + "rel": "save", + "method": "POST" + } + ], + "status": "SAVED" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CHECKOUT.ORDER.SAVED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CHECKOUT.ORDER.VOIDED.json b/providers/paypal/1.0/CHECKOUT.ORDER.VOIDED.json new file mode 100644 index 0000000..7f45458 --- /dev/null +++ b/providers/paypal/1.0/CHECKOUT.ORDER.VOIDED.json @@ -0,0 +1,82 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1261", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e49aa4*Host=ccg13amqunphttpdeliveryd42", + "client_pid": "772760", + "content-type": "application/json", + "correlation-id": "1e499050764f4", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "6dcd26e0-ba1e-11ed-b9b7-69139b55be60", + "paypal-transmission-sig": "YAt1roNA8zKecx+5+DLtjiNk+Vjwwbu+IQqLwBfBdboSKKFXoipQvj2EszkmIDX5Fee8HGT3ufzrDkQoJbFiZY5enaLgxB8Lm9zv673BIY86slYOAk1ixhfrNpz3bqU/31cCQVJttG5O0z76R9GezYMCbm+Q9iQVkR4Gw92MabPzXHX31NaJn9DssJHV+DDqqJKmmVAHJnPw05merbjDs+eQ0tA2jQgRsaJt7KdBNTAbSTjLesHhh81qQPwsJYXDScm9G0TMW9kWHfA0HNFYICeLeBwrv3HZHjpXCZMGeRVSWLc3aNzvgv7DkzISxp1pHyt5h935S89cH6Q3304pKQ==", + "paypal-transmission-time": "2023-03-03T23:52:17Z", + "x-b3-spanid": "e3e54ed340b26941", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-55TG7562XN2588878-8YH955435R661687G", + "create_time": "2018-05-03T22:20:32.000Z", + "event_type": "CHECKOUT.ORDER.VOIDED", + "event_version": "1.0", + "resource_type": "order", + "resource_version": "2.0", + "summary": "An order 9NK63094MA726991F for 100 USD was voided.", + "resource": { + "id": "9NK63094MA726991F", + "intent": "AUTHORIZE", + "purchase_units": [ + { + "reference_id": "REDFWE35G", + "amount": { + "currency_code": "USD", + "value": "100.00" + }, + "payee": { + "email_address": "pbehara-seller@paypal.com", + "merchant_id": "WDMEWZ63SR74G" + } + } + ], + "create_time": "2019-03-06T21:42:35Z", + "status": "VOIDED", + "links": [ + { + "href": "https://api.paypal.com/v2/checkout/orders/9NK63094MA726991F", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/checkoutnow?token=9NK63094MA726991F", + "rel": "approve", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v2/checkout/orders/9NK63094MA726991F", + "rel": "update", + "method": "PATCH" + }, + { + "href": "https://api.paypal.com/v2/checkout/orders/9NK63094MA726991F/save", + "rel": "save", + "method": "POST" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-55TG7562XN2588878-8YH955435R661687G/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CHECKOUT.ORDER.VOIDED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CUSTOMER-SUPPORT.CHARGEBACK.DECISION-RESPONDED.json b/providers/paypal/1.0/CUSTOMER-SUPPORT.CHARGEBACK.DECISION-RESPONDED.json new file mode 100644 index 0000000..1ce9314 --- /dev/null +++ b/providers/paypal/1.0/CUSTOMER-SUPPORT.CHARGEBACK.DECISION-RESPONDED.json @@ -0,0 +1,99 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1631", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e43e6a*Host=ccg14amqunphttpdeliveryd40", + "client_pid": "764846", + "content-type": "application/json", + "correlation-id": "8f57e30262ee7", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "72b0d490-ba1e-11ed-aae9-bfc5d90cc1da", + "paypal-transmission-sig": "Dy3H4ZMaVOtjQqCoKuqurt1XVRvlTLx9rf5/AP3VHb8Yxc0ZbGH6bcKZF5KmhRh7qcb+DIfNKfM7Kr4nYETHcYltQ7z0sXOueEZcvqezXiNsTIbEZHvIAv+cQEA6VuVNk7V4vbsgDO5elltdgnJIvP32Pu4PhzcIikH+fohV5LiG24yvLA6bkVs91LpODoqmyq+XY28l2+4rqokLxLQR72Wp0MMBT6aRTKS7rgNHGtzmhx7Ih7d0gw5sCZeDuUvKZHBvnpu9KJ7xjfucjX7jNzexAGwHIqn4BeJIbAOe4GiUnbVTOCHbJGjrxjNN+WuDfjVgGxph38NDnxvNC07YBg==", + "paypal-transmission-time": "2023-03-03T23:52:25Z", + "x-b3-spanid": "c83b4523cde72ef", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-14672365205054426-9R575015BN3466209", + "event_version": "1.0", + "create_time": "2021-07-05T09:31:15.000Z", + "resource_type": "chargeback", + "event_type": "CUSTOMER-SUPPORT.CHARGEBACK.DECISION-RESPONDED", + "summary": "Chargeback decision response sent to tenant successfully.", + "resource": { + "transaction_id": null, + "id": "BTCBP96", + "stage": "CHARGEBACK", + "amount": { + "currency_code": "USD", + "value": "150" + }, + "originated_time": "2021-06-21T03:00:05Z", + "received_time": "2021-06-23T05:55:05Z", + "processor_reference_number": "WORLDLINE", + "response_by_time": "2021-07-09T13:30:07Z", + "contestation": { + "evidences": [ + { + "document_id": "001", + "document_name": "contestation document", + "document_source": "TENANT" + }, + { + "document_id": "002", + "document_name": "compelling evidence proof of delivery", + "document_source": "SELLER" + } + ], + "compelling_evidences": [ + { + "evidence_type": "PROOF_OF_DELIVERY" + }, + { + "evidence_type": "PROOF_OF_SAME_MERCHANDISE_NONDISPUTED", + "supporting_details": [ + { + "name": "ARN", + "value": "123abc" + }, + { + "name": "TRANSACTION_DATE", + "value": "2021-06-14" + }, + { + "name": "PHYSICAL_ADDRESS", + "value": "Seattle, WA" + } + ] + } + ], + "rebuttal_evidences": [ + { + "evidence_type": "SIGNED_ORDER_FORM" + } + ] + }, + "decision_notes": "We are contesting this chargeback", + "external_transaction_id": "567GssErT50", + "case_id": "345BhiJoLL", + "external_case_id": "NzM4MTAx123", + "decision": "CONTEST" + }, + "links": [ + { + "href": "https://msmaster.g.devqa.gcp.dev.paypalinc.com:14084/v1/notifications/webhooks-events/WH-14672365205054426-9R575015BN3466209", + "rel": "self", + "method": "GET" + }, + { + "href": "https://msmaster.g.devqa.gcp.dev.paypalinc.com:14084/v1/notifications/webhooks-events/WH-14672365205054426-9R575015BN3466209/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CUSTOMER-SUPPORT.CHARGEBACK.DECISION-RESPONDED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CUSTOMER.DISPUTE.CREATED.json b/providers/paypal/1.0/CUSTOMER.DISPUTE.CREATED.json new file mode 100644 index 0000000..933cf0e --- /dev/null +++ b/providers/paypal/1.0/CUSTOMER.DISPUTE.CREATED.json @@ -0,0 +1,83 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1396", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e2721a*Host=ccg14amqunphttpdeliveryd47", + "client_pid": "760267", + "content-type": "application/json", + "correlation-id": "f0a9bcd1c3a20", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "12caf6f0-ba1e-11ed-8e1c-256216f79c11", + "paypal-transmission-sig": "krwAsHOnNUtYsqIAJQEQTgjSIeVdByhyQje27fXo4tKwaTCT7RLUGUaK9S2F595nM3LRd3jPjyDvtDSlEKGQX/eWkduyzMi8OpJjDRCwm/QkKMFNkUHtwmnjK2imd7cztpJgjFnU/g4sUz4WUessE7DgAoUKtjT2VG5usidY5SfYdTQ4ag/N4us8qFgp4jpubuCuBgi3NCyoKaxh5FVNCEyjV3HKBTKj1DPAr3bwdkMEuUIGcsisq+qa1M5Fqixk09W6SulKTDpNP4+3+TB9JsBAI5kR/CKvFoiP45RsGr1VmQLXTN3TOCyJpsyFC55nKf4X00Up+U+Ona9a6qehKQ==", + "paypal-transmission-time": "2023-03-03T23:49:44Z", + "x-b3-spanid": "24c1e9041a5ea4dc", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-4M0448861G563140B-9EX36365822141321", + "event_version": "1.0", + "create_time": "2018-06-21T13:36:33.000Z", + "resource_type": "dispute", + "event_type": "CUSTOMER.DISPUTE.CREATED", + "summary": "A new dispute opened with Case # PP-000-042-663-135", + "resource": { + "dispute_id": "PP-000-042-663-135", + "create_time": "2018-06-21T13:35:44.000Z", + "update_time": "2018-06-21T13:35:44.000Z", + "disputed_transactions": [ + { + "seller_transaction_id": "00D10444LD479031K", + "seller": { + "merchant_id": "RD465XN5VS364", + "name": "Test Store" + }, + "items": [], + "seller_protection_eligible": true + } + ], + "reason": "MERCHANDISE_OR_SERVICE_NOT_RECEIVED", + "status": "OPEN", + "dispute_amount": { + "currency_code": "USD", + "value": "3.00" + }, + "dispute_life_cycle_stage": "INQUIRY", + "dispute_channel": "INTERNAL", + "messages": [ + { + "posted_by": "BUYER", + "time_posted": "2018-06-21T13:35:52.000Z", + "content": "qwqwqwq" + } + ], + "links": [ + { + "href": "https://api.paypal.com/v1/customer/disputes/PP-000-042-663-135", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/customer/disputes/PP-000-042-663-135/send-message", + "rel": "send_message", + "method": "POST" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-4M0448861G563140B-9EX36365822141321", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-4M0448861G563140B-9EX36365822141321/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CUSTOMER.DISPUTE.CREATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CUSTOMER.MANAGED-ACCOUNT.UPDATED.json b/providers/paypal/1.0/CUSTOMER.MANAGED-ACCOUNT.UPDATED.json new file mode 100644 index 0000000..86ee04e --- /dev/null +++ b/providers/paypal/1.0/CUSTOMER.MANAGED-ACCOUNT.UPDATED.json @@ -0,0 +1,277 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "4733", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e237d2*Host=ccg14amqunphttpdeliveryd18", + "client_pid": "761923", + "content-type": "application/json", + "correlation-id": "5e82bedfcbe34", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "16fe8e80-ba1e-11ed-a43c-7bbaa77c6dea", + "paypal-transmission-sig": "Htt7OSJ78RBzMAMHoAZdCsftVfAHeYUcGcFFG4Ek5l3ffoant99155FUn9kiLNopDxqcwZoDj4aVN/4XhI0dsGj5oETlOPqUXhC0IPL8Nn+2BP62YvFuYwYnDI6A4oG/q/WbgHg1TtmFe4+lPlXzQ1DZAQYKkTTFbPwQRbuGPt5eFGGolE6M8T9i8EOoMkJ6WA97/Zy/5Jxy0z1xQpoxAOEH2yRZfYtmsSyJPzqMicRXFkl9L6T84UoYkYxGsHpLjueDBwd6Pq0/k12vElj3E+Km8KRRJj+4+6Ckv43/iFYAIRxF/24hbU65sijyPLy66E0suSA+ia/QGaR4Mxg2Pg==", + "paypal-transmission-time": "2023-03-03T23:49:51Z", + "x-b3-spanid": "d5451fdbc4219a51", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-3AE50806EM5305732-8C457463XB353952R", + "event_version": "1.0", + "create_time": "2018-05-24T07:18:28.264Z", + "resource_type": "managed-accounts", + "event_type": "CUSTOMER.MANAGED-ACCOUNT.UPDATED", + "summary": "A merchant account was updated.", + "resource": { + "payer_id": "7G4EPEEPEF74L", + "external_id": "demo-201@shopify.com", + "country_code": "US", + "email_id": "UNIQUE@GENERATED.com", + "name": { + "prefix": "Mr.", + "given_name": "John", + "surname": "Collins", + "middle_name": "Davis", + "suffix": "Jr" + }, + "addresses": [ + { + "type": "HOME", + "address_line_1": "150 E San Fernando St", + "address_line_2": "apt #1", + "admin_area_1": "CA", + "admin_area_2": "San Jose", + "postal_code": "95112", + "country_code": "US" + } + ], + "phones": [ + { + "type": "MOBILE", + "country_code": "1", + "national_number": "4089679174" + } + ], + "identifications": [ + { + "type": "DRIVERS_LICENSE", + "identifier": "G1111111", + "issuer": { + "country_code": "US", + "jurisdiction": "CA", + "authority": "DMV CA" + } + } + ], + "tax_id": { + "type": "SOCIAL_SECURITY_NUMBER", + "identifier": "123456789", + "issuer": { + "country_code": "US", + "authority": "IRS" + } + }, + "citizenship": "US", + "date_of_birth": "1990-01-01", + "business_info": { + "type": "INDIVIDUAL", + "names": [ + { + "type": "LEGAL", + "business_name": "Demo 201 Inc." + } + ], + "addresses": [ + { + "type": "WORK", + "address_line_1": "585 Franklin Str", + "address_line_2": "apt #1", + "admin_area_1": "CA", + "admin_area_2": "Mountain View", + "postal_code": "94041", + "country_code": "US" + } + ], + "email_address": "customer-service@demo201.com", + "phones": [ + { + "type": "CUSTOMER_SERVICE", + "country_code": "1", + "national_number": "4089673333" + } + ], + "identifications": [ + { + "type": "TAX_IDENTIFICATION_NUMBER", + "identifier": "111234501", + "issuer": { + "country_code": "US", + "authority": "IRS" + } + } + ], + "date_of_incorporation": "2001-01-17", + "business_category": { + "merchant_category_code": "3011" + }, + "website": "https://www.demo201.com", + "average_monthly_volume": { + "minimum_amount": { + "currency_code": "USD", + "value": "1000.00" + }, + "maximum_amount": { + "currency_code": "USD", + "value": "2000.00" + } + }, + "stakeholders": [ + { + "id": "ext_stakeholer_01", + "ownership_percentage": "100.0", + "type": "BENEFICIAL_OWNER", + "name": { + "prefix": "Mr.", + "given_name": "John", + "surname": "Collins", + "middle_name": "Davis", + "suffix": "Jr" + }, + "citizenship": "US", + "date_of_birth": "1990-01-01", + "addresses": [ + { + "address_line_1": "150 E San Fernando St", + "address_line_2": "apt #1", + "admin_area_1": "CA", + "admin_area_2": "San Jose", + "postal_code": "95112", + "country_code": "US" + } + ], + "phones": [ + { + "country_code": "1", + "national_number": "4089679174" + } + ], + "identifications": [ + { + "type": "DRIVERS_LICENSE", + "identifier": "G1111111", + "issuer": { + "country_code": "US", + "jurisdiction": "CA", + "authority": "DMV CA" + } + } + ], + "tax_id": { + "type": "SOCIAL_SECURITY_NUMBER", + "identifier": "123456789", + "issuer": { + "country_code": "US", + "authority": "IRS" + } + } + } + ] + }, + "primary_currency_code": "USD", + "secondary_currency_codes": [ + "CAD" + ], + "financial_instruments": { + "banks": [ + { + "mandate": { + "acceptance_time": "2018-05-12T01:23:45.678Z", + "accepted": true + }, + "id": "BA-KTJ7Z4FBMELZA", + "last_4_digits": "0937", + "account_number_type": "BASIC_BANK_ACCOUNT_NUMBER", + "account_type": "CHECKING", + "routing_number": "081500875", + "bank_name": "Wells Fargo Bank", + "bic": "WFBIUS6WFFX", + "account_holder_details": { + "name": "John Davis Collins", + "type": "BUSINESS" + } + } + ] + }, + "cc_soft_descriptor": "DEMO-201", + "terms_and_conditions_acceptance": { + "acceptance_time": "2018-05-12T01:23:45.678Z", + "accepted": true + }, + "organization": "us/shops", + "user_id": "demo-201FB", + "capabilities": [ + { + "name": "WITHDRAW_MONEY", + "status": "SUSPENDED", + "conditions": { + "threshold": "AMOUNT", + "threshold_value": "5000.00 USD", + "remaining_value": "1000.00 USD" + }, + "required_fields": [ + { + "name": "date_of_birth", + "link": { + "rel": "edit", + "href": "https://api.paypal.com/v2/customer/managed-accounts/7G4EPEEPEF74L", + "method": "PATCH" + } + } + ], + "required_documents": [ + { + "name": "PASSPORT", + "link": { + "rel": "upload", + "href": "https://api.paypal.com/v1/customer/supporting-documents/7G4EPEEPEF74LFG/upload", + "method": "POST" + } + } + ] + } + ], + "regulatory_obligations": [ + { + "name": "MARKETPLACES_KYC", + "status": "COMPLETED" + } + ], + "links": [ + { + "rel": "self", + "href": "https://api.paypal.com/v2/customer/managed-accounts/7G4EPEEPEF74L", + "method": "PATCH" + }, + { + "rel": "edit", + "href": "https://api.paypal.com/v2/customer/managed-accounts/7G4EPEEPEF74L", + "method": "PATCH" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notfications/webhooks-events/WH-3AE50806EM5305732-8C457463XB353952R", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notfications/webhooks-events/WH-3AE50806EM5305732-8C457463XB353952R/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CUSTOMER.MANAGED-ACCOUNT.UPDATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/CUSTOMER.PAYOUT.COMPLETED.json b/providers/paypal/1.0/CUSTOMER.PAYOUT.COMPLETED.json new file mode 100644 index 0000000..b86784a --- /dev/null +++ b/providers/paypal/1.0/CUSTOMER.PAYOUT.COMPLETED.json @@ -0,0 +1,56 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "949", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e4e04a*Host=ccg13amqunphttpdeliveryd34", + "client_pid": "651891", + "content-type": "application/json", + "correlation-id": "0b53b22b6f914", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "83684f70-ba1e-11ed-a5f7-a56ac798bf6f", + "paypal-transmission-sig": "B7LpyBWXRUNrNeXoSh2TWNz0g1A0/qk1ggSljcrh/uPuhyaK+FEsXp6FqLzI3E+QY2/bsZF1Z75XBJiij2o8Ga+bMpFnmUV58vntJEzhCaC1D3SyL1Dag4pHwT3LkIogUJQMOubsWcu/qeGW2JE53hzfIFxFBvbxDEfYb3hHInHDwaYRBcZKV0zsyL7HmXNbZ19p1Iz/sQaNfP43dsl4q7nvMZBNaqj9znXIRHhoVwxJys2eNTB/LdD5xjIy73bp6VczQMCx9+TCdvhTiYR37p1oIUwZQ+MUHo9yw3O/YENAVUnIoH810FCos9v8qFX+2TGtyzN3+22yKMK6N61f6A==", + "paypal-transmission-time": "2023-03-03T23:52:53Z", + "x-b3-spanid": "75de47b3374e37be", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-29H04174VA171590Y-15T39252MK897181P", + "event_version": "1.0", + "create_time": "2018-06-29T18:39:07.118Z", + "resource_type": "payouts", + "event_type": "CUSTOMER.PAYOUT.COMPLETED", + "summary": "Payout has completed.", + "resource": { + "id": "4324324DSFDSFDSF", + "merchant_id": "ZLFUUPW93YVFY", + "destination": { + "id": "CC-CBYJLKC9HGN7S", + "type": "FINANCIAL_INSTRUMENT_ID" + }, + "amount": { + "currency_code": "USD", + "value": "1500.00" + }, + "payout_status": { + "status": "COMPLETED" + }, + "create_time": "2018-06-29T18:38:38.000Z" + }, + "links": [ + { + "href": "https://stage2ma112402.pp-devqa-userstages.us-central1.gcp.dev.paypalinc.com:14084/v1/notifications/webhooks-events/WH-29H04174VA171590Y-15T39252MK897181P", + "rel": "self", + "method": "GET" + }, + { + "href": "https://stage2ma112402.pp-devqa-userstages.us-central1.gcp.dev.paypalinc.com:14084/v1/notifications/webhooks-events/WH-29H04174VA171590Y-15T39252MK897181P/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "CUSTOMER.PAYOUT.COMPLETED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/MERCHANT.ONBOARDING.COMPLETED.json b/providers/paypal/1.0/MERCHANT.ONBOARDING.COMPLETED.json new file mode 100644 index 0000000..9dd1638 --- /dev/null +++ b/providers/paypal/1.0/MERCHANT.ONBOARDING.COMPLETED.json @@ -0,0 +1,38 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "559", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e4bdf4*Host=ccg13amqunphttpdeliveryd6", + "client_pid": "167487", + "content-type": "application/json", + "correlation-id": "f41634d47ba6b", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "7f2c2c60-ba1e-11ed-ad84-09d4771a2e1a", + "paypal-transmission-sig": "QLnHj4AabUr3S/3yGP0/otWAJddFGhocASxIF57FsdST2O6517uCWpDR9JOw7HIwngITPGz4bYhxjI8+P9RLEiOUA/pR/Enj4eDkMD4qgM4Mo57apPtPcjdj5h7y1CmuIMbJjTC8weXW26YHkZAs5GooZnPRBR5xm8cRqWzwmuCVAdhu1WU3J6W8WrJvX3mCRDZn8oyoJuIXc0XK87imeeqWmYBh9mLqG2Au9MeYOD+eMilQ69t2eOonB9kWqsmoz5kgDxTCHxj/44JMaX4L0wwBbBJaN18nOEznVehrkwd6lmrA0a4ElCWjqlP2csjZdyZyKLjeQDDZ5hbyKpKhKw==", + "paypal-transmission-time": "2023-03-03T23:52:46Z", + "x-b3-spanid": "a1f179b009e5afdd", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-2WR32451HC0233532-67976317FL4543714", + "create_time": "2016-08-01T21:41:28Z", + "resource_type": "merchant-onboarding", + "event_type": "MERCHANT.ONBOARDING.COMPLETED", + "resource": { + "merchant_id": "ELAMYJUN78D6G", + "partner_client_id": "AdZ3f8z-zIFM6t6Yilxvk3q4Iwx4ITRBjGR07q9wPJWms0z3G4ohajp7LdvpaLCeVLBmp5aVQ717YIw0", + "links": [ + { + "href": "https://uri.paypal.com/v1/customer/partners/QX4A9KG89BHLN/merchant-integrations/Y7MGFXVS8VHYU", + "rel": "self", + "method": "GET", + "description": "Get the merchant status information of merchants onboarded by this partner" + } + ] + } + }, + "topic": "MERCHANT.ONBOARDING.COMPLETED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/PAYMENT.SALE.COMPLETED.json b/providers/paypal/1.0/PAYMENT.SALE.COMPLETED.json new file mode 100644 index 0000000..8f22f8b --- /dev/null +++ b/providers/paypal/1.0/PAYMENT.SALE.COMPLETED.json @@ -0,0 +1,72 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1263", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e5b092*Host=ccg13amqunphttpdeliveryd65", + "client_pid": "19218", + "content-type": "application/json", + "correlation-id": "90ca05ca559c5", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "8dc4e5f0-ba1e-11ed-981f-630f4c7537a9", + "paypal-transmission-sig": "SuRXs4DIW2/Tnt9DbbinkNGIpnjT6OnLrmCOAZNzSy6CHnBK+D8D5GX8Mtkww8Wh5MbYTqVXfsck0s8x6zxSi6jvsW4DG80PK/OAp4u9waJclS76swwWZgGXv/DS0/mPePkPj3bhQwDuhdIqv7CU08EVD1QirMRUuKfLaFOqp6kE7RfZQhGx3orkU6wrYVdIJ/dy3nVHJ03esMQBh46eKiTM19ZiYXEp2mriDMXOKuiTZBZM3qIZCXU8ggqhGF41B56qZlRaR5UeKUF/eTDBNeBNUvPh3rp0biol1vz4i0Ujg5UCtuH/cfqnGA7rFs7Sju5DkIOdRzutxXRxcpPPTA==", + "paypal-transmission-time": "2023-03-03T23:53:10Z", + "x-b3-spanid": "1ae9c8fed03065c5", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-2WR32451HC0233532-67976317FL4543714", + "event_version": "1.0", + "create_time": "2014-10-23T17:23:52Z", + "resource_type": "sale", + "event_type": "PAYMENT.SALE.COMPLETED", + "summary": "A successful sale payment was made for $ 0.48 USD", + "resource": { + "id": "80021663DE681814L", + "create_time": "2014-10-23T17:22:56Z", + "update_time": "2014-10-23T17:23:04Z", + "amount": { + "total": "0.48", + "currency": "USD" + }, + "payment_mode": "ECHECK", + "state": "completed", + "protection_eligibility": "ELIGIBLE", + "protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE", + "clearing_time": "2014-10-30T07:00:00Z", + "parent_payment": "PAY-1PA12106FU478450MKRETS4A", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/sale/80021663DE681814L", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/payments/sale/80021663DE681814L/refund", + "rel": "refund", + "method": "POST" + }, + { + "href": "https://api.paypal.com/v1/payments/payment/PAY-1PA12106FU478450MKRETS4A", + "rel": "parent_payment", + "method": "GET" + } + ] + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2WR32451HC0233532-67976317FL4543714", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2WR32451HC0233532-67976317FL4543714/resend", + "rel": "resend", + "method": "POST" + } + ] + }, + "topic": "PAYMENT.SALE.COMPLETED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/PAYMENTS.PAYMENT.CREATED.json b/providers/paypal/1.0/PAYMENTS.PAYMENT.CREATED.json new file mode 100644 index 0000000..3cedb26 --- /dev/null +++ b/providers/paypal/1.0/PAYMENTS.PAYMENT.CREATED.json @@ -0,0 +1,114 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1875", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e5be3e*Host=ccg14amqunphttpdeliveryd57", + "client_pid": "762903", + "content-type": "application/json", + "correlation-id": "7fe32506e782e", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "9190e210-ba1e-11ed-bff1-7d56760e7310", + "paypal-transmission-sig": "P9mnBYeDanD0MPvHL6pCa5bGNkFBRZ6qp8ziPsNUZippw9NgpBg1M5ZKeGf8fCcSHe12MIBFTeKB6ZzaErB6wE2kpbFX5XvmMV+DkgyNBDxZo6S2DYaWmQ/VQVKGyzW1MAhJSMrWBxvawK9NAlSZgZgbz8/IlbyEtAbHBo22pfRUveGIOSQU1GBAqRcMNsyPYBkg3R4JoCzFjKEK7bMhOqj0RqecaZlq/olU3+7ekOuU2359b2yx4Ayih8m74UE/nGtMHgrEDlmsbnEQcx4qIMIohps8odwt60WMEOGxBN1Pgx4nstHzAq/hF272l7paxr73KkeRBQ7Y6npWO7iYeQ==", + "paypal-transmission-time": "2023-03-03T23:53:17Z", + "x-b3-spanid": "81f79d7bad2c8162", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-6W4482673W002281V-61985753LP2332451", + "event_type": "PAYMENTS.PAYMENT.CREATED", + "resource_type": "payment", + "summary": "Checkout payment is created and approved by buyer", + "create_time": "2015-05-11T21:45:15Z", + "resource": { + "id": "PAY-13V79659LS5126423KVISFPI", + "intent": "sale", + "update_time": "2019-01-25T00:12:08Z", + "payer": { + "payment_method": "paypal", + "status": "UNVERIFIED", + "payer_info": { + "email": "customer@example.com", + "first_name": "John", + "last_name": "Doe", + "payer_id": "MKPXKVHEHVCYU", + "shipping_address": { + "recipient_name": "John Doe", + "line1": "2211 N. 1st Street", + "city": "San Jose", + "state": "CA", + "postal_code": "95131", + "country_code": "US" + }, + "country_code": "US" + } + }, + "transactions": [ + { + "amount": { + "total": "4.13", + "currency": "EUR", + "details": { + "subtotal": "4.00", + "tax": "0.13", + "handling_fee": "0.00" + } + }, + "payee": { + "merchant_id": "2WVGFDAU8TB78", + "email": "merchant@example.com" + }, + "description": "This is a PayPal transaction", + "item_list": { + "shipping_address": { + "recipient_name": "John Doe", + "line1": "2211 N. 1st Street", + "city": "San Jose", + "state": "CA", + "postal_code": "95131", + "country_code": "US" + } + }, + "related_resources": [] + } + ], + "create_time": "2019-01-25T00:11:05Z", + "links": [ + { + "href": "https://api.paypal.com/v1/payments/PAY-13V79659LS5126423KVISFPI", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/payments/PAY-13V79659LS5126423KVISFPI/execute", + "rel": "execute", + "method": "POST" + }, + { + "href": "https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-6BY44209VL795183H", + "rel": "approval_url", + "method": "REDIRECT" + } + ], + "state": "created" + }, + "links": [ + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-6W4482673W002281V-61985753LP2332451", + "rel": "self", + "method": "GET", + "encType": "application/json" + }, + { + "href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-6W4482673W002281V-61985753LP2332451/resend", + "rel": "resend", + "method": "POST", + "encType": "application/json" + } + ], + "event_version": "1.0" + }, + "topic": "PAYMENTS.PAYMENT.CREATED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/TAXES.REPORTS.DELIVERED.json b/providers/paypal/1.0/TAXES.REPORTS.DELIVERED.json new file mode 100644 index 0000000..9f8d279 --- /dev/null +++ b/providers/paypal/1.0/TAXES.REPORTS.DELIVERED.json @@ -0,0 +1,84 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1952", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e5b7ea*Host=ccg14amqunphttpdeliveryd8", + "client_pid": "764546", + "content-type": "application/json", + "correlation-id": "47d06fdd8ac92", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "9802f7f0-ba1e-11ed-bc3e-fb8dfbb8a217", + "paypal-transmission-sig": "DsTwmth/uGwsaGqvpuhpeOwMI5CNJZMVHgDIhjj4jOcJWYMGI6d2Q7PtfXOXYn8tV7X5niJIq+VSt+i8jCHZiPTU53JQYAKX6A+T8HvqMKHl6mavnHy6y58hRhEVmYonpx2nqteAT2A6MQSPrOo0n0U7dVf77zxx+VDCMV3lqiGOaj4RSWOnzFOPKgnGXffFE2szoIYHVOok91Hp9s33+oKiNRZKiMPhu5ACzKd8lNvnQhMUIHEwndqJrhPXNpBGs0g8HjA4a7/cKQebAmN5seGMe2LPYUZD0/ProXC4xDVq6fXywGnan1uXzjbEsJQxIQedbhAON3VVpvvvUTIxMw==", + "paypal-transmission-time": "2023-03-03T23:53:28Z", + "x-b3-spanid": "cbe311a1b6310de9", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-COC11055RA711503B-4YM959094A144403T", + "event_type": "TAXES.REPORTS.DELIVERED", + "resource_type": "TAX-REPORT", + "resource": { + "id": "11EB-45D4-5A0062D0-90A2-64639F99100A", + "tenant_name": "VENMO", + "fiscal_year_ending_date": "2020-12-31", + "total_segment": 1, + "mode": "INITIAL", + "status": "GENERATION_COMPLETED", + "configuration": { + "report_config_group_id": "1006", + "report_config_id": "1009", + "major_type": "1099K", + "minor_type": "FEDERAL", + "version_number": "1.0", + "report_name": "SUMMARY", + "tenant_name": "VENMO" + }, + "segments": [ + { + "id": "11EB-45D4-6298B412-8DF2-2C2C7CA71900", + "sequence": 1, + "name": "95530618_1099K_2020_1688337239197326490_1608744006975.pdf", + "source_type": "DMS", + "links": [ + { + "href": "/v2/content/documents/CMP-044-4b23279f-58e4-4dd8-bf5e-8c267ea3ed0f/files/1/download", + "rel": "segment", + "method": "GET" + } + ] + } + ], + "recipients": [ + { + "user": { + "id": "11EB-45D4-5A0062D1-B71C-C0DCE3E4E435", + "external_id": "1688337239197326490", + "tenant_name": "VENMO", + "status": "DELIVERY_COMPLETED", + "segments": [ + { + "id": "11EB-45D4-6298B412-8DF2-2C2C7CA71900", + "status": "DELIVERY_COMPLETED" + }, + { + "id": "11EB-45D4-6298B412-8DF2-2C2C7CA71700", + "status": "DELIVERY_COMPLETED" + } + ] + } + } + ], + "links": [ + { + "href": "/v1/taxes/reports/11EB-45D4-5A0062D0-90A2-64639F99100A", + "rel": "self", + "method": "GET" + } + ] + } + }, + "topic": "TAXES.REPORTS.DELIVERED" +} \ No newline at end of file diff --git a/providers/paypal/1.0/VAULT.CREDIT-CARD.CREATED.json b/providers/paypal/1.0/VAULT.CREDIT-CARD.CREATED.json new file mode 100644 index 0000000..d2252a4 --- /dev/null +++ b/providers/paypal/1.0/VAULT.CREDIT-CARD.CREATED.json @@ -0,0 +1,64 @@ +{ + "headers": { + "user-agent": "PayPal/AUHD-214.0-58031014", + "content-length": "1111", + "accept": "application/json, text/plain, */*", + "cal_poolstack": "amqunphttpdeliveryd:UNPHTDLVRYHA*CalThreadId=0*TopLevelTxnStartTime=186a9e2972c*Host=ccg14amqunphttpdeliveryd58", + "client_pid": "764671", + "content-type": "application/json", + "correlation-id": "0fcc2887789f9", + "paypal-auth-algo": "SHA256withRSA", + "paypal-auth-version": "v2", + "paypal-cert-url": "https://api.paypal.com/v1/notifications/certs/CERT-360caa42-fca2a594-38317689", + "paypal-transmission-id": "1ac27450-ba1e-11ed-a8c3-d774a01be652", + "paypal-transmission-sig": "LIoxCCBxrbnePbTRsdba4DZDxEWsWOcM48f2wH0g9mnjCxQS4F8LQLzsJuHy109JTtBz1+9Vn33IjFmJeyxCNbFlG5mc7O+PkMg76Bi2ERYHzkEycB9+J+QS/ttX2Jhvs1EEepqOiJapFadWt+y8d3C6uSBAVG5pnjMeuLgbyXXh2FeqoXeA5GmZotQETBrwLDfjDdUue+sB/OnAxIQgVBeQ0pO+nGrfHPsIV4WzJCxQc0F+tQRskWG/5+8dCXamQQOJkjuDW9RZhOpWpV3vIuczjSdh2I+1wfg6uMjHkpN4piejzm4da/Mta+cdeceZO31BVHgWQJ5+nX0vebODGw==", + "paypal-transmission-time": "2023-03-03T23:49:57Z", + "x-b3-spanid": "a0a43c9ef64b55e", + "accept-encoding": "gzip" + }, + "body": { + "id": "WH-2WR32451HC0233532-67976317FL4543714", + "create_time": "2015-07-20T21:41:28Z", + "resource_type": "vault-credit-card", + "event_type": "VAULT.CREDIT-CARD.CREATED", + "summary": "A credit card was created", + "resource": { + "id ": "CARD - 2 XR99321JH288614BK7SF2ZY ", + "state ": "ok ", + "type ": "amex ", + "number ": "xxxxxxxxxxx4009 ", + "expire_month ": "7 ", + "expire_year ": "2027 ", + "first_name ": "Cool ", + "last_name ": "Buyer ", + "billing_address ": { + "line1 ": "2211 N First Street ", + "city ": "San Jose ", + "state ": "CA ", + "postal_code ": "95131 ", + "country_code ": "US " + }, + "valid_until ": "2019 - 09 - 22 T00: 00: 00 Z ", + "create_time ": "2016 - 09 - 22 T22: 38: 31 Z ", + "update_time ": "2016 - 09 - 22 T22: 38: 31 Z ", + "links ": [ + { + "href ": "https: //api.paypal.com/v1/vault/credit-card/CARD-2XR99321JH288614BK7SF2ZY", + "rel": "self", + "method": "GET" + }, + { + "href": "https://api.paypal.com/v1/vault/credit-card/CARD-2XR99321JH288614BK7SF2ZY", + "rel": "delete", + "method": "DELETE" + }, + { + "href": "https://api.paypal.com/v1/vault/credit-card/CARD-2XR99321JH288614BK7SF2ZY", + "rel": "patch", + "method": "PATCH" + } + ] + } + }, + "topic": "VAULT.CREDIT-CARD.CREATED" +} \ No newline at end of file diff --git a/providers/paypal/index.json b/providers/paypal/index.json new file mode 100644 index 0000000..5d67e58 --- /dev/null +++ b/providers/paypal/index.json @@ -0,0 +1,7 @@ +{ + "label": "Paypal", + "configs": { + "latest_version": "1.0", + "topic_identifier": "event_type" + } + } diff --git a/providers/stripe/2022-11-15/checkout.session.completed.json b/providers/stripe/2022-11-15/checkout.session.completed.json new file mode 100644 index 0000000..9272bbe --- /dev/null +++ b/providers/stripe/2022-11-15/checkout.session.completed.json @@ -0,0 +1,105 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "2579", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834000,v1=0b144c08dca0ce58f56f8810da96ea76a3977f09966b624199d23e6dd0cedc1e,v0=135a50a00bfa300eb6f8078bc41ea7681c151a472d56264b774aea58a710e360", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT6E0b6fckueSlc4GyvIi", + "object": "event", + "api_version": "2022-11-15", + "created": 1677834000, + "data": { + "object": { + "id": "cs_test_a1CagZ1XmCLIZb3ME6r06G1h8ygwbbbMw8Nqk0R86MWMT4dmCjDiUYfQDr", + "object": "checkout.session", + "after_expiration": null, + "allow_promotion_codes": false, + "amount_subtotal": 0, + "amount_total": 0, + "automatic_tax": { + "enabled": false, + "status": null + }, + "billing_address_collection": "auto", + "cancel_url": "https://stripe.com", + "client_reference_id": null, + "consent": null, + "consent_collection": { + "promotions": "none", + "terms_of_service": "none" + }, + "created": 1677833849, + "currency": "usd", + "custom_fields": [], + "custom_text": { + "shipping_address": null, + "submit": null + }, + "customer": "cus_NSPHp4fOlXGw8P", + "customer_creation": "if_required", + "customer_details": { + "address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": "hook@me.com", + "name": "Martin", + "phone": null, + "tax_exempt": "none", + "tax_ids": [] + }, + "customer_email": null, + "expires_at": 1677920249, + "invoice": "in_1MhUT5E0b6fckueSfPlY05Fw", + "invoice_creation": null, + "livemode": false, + "locale": "auto", + "metadata": {}, + "mode": "subscription", + "payment_intent": null, + "payment_link": "plink_1MhUOwE0b6fckueSjmvf9Yea", + "payment_method_collection": "always", + "payment_method_options": {}, + "payment_method_types": [ + "card" + ], + "payment_status": "paid", + "phone_number_collection": { + "enabled": false + }, + "recovered_from": null, + "setup_intent": null, + "shipping_address_collection": null, + "shipping_options": [], + "status": "complete", + "submit_type": "auto", + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "success_url": "https://stripe.com", + "total_details": { + "amount_discount": 0, + "amount_shipping": 0, + "amount_tax": 0 + }, + "url": null, + "shipping_cost": null, + "shipping_details": null + } + }, + "livemode": false, + "pending_webhooks": 3, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "checkout.session.completed" + }, + "topic": "checkout.session.completed" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/customer.created.json b/providers/stripe/2022-11-15/customer.created.json new file mode 100644 index 0000000..1870891 --- /dev/null +++ b/providers/stripe/2022-11-15/customer.created.json @@ -0,0 +1,64 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "1209", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834000,v1=88be7cd92b5f996793e22cb8a61832b4eb9d38f908f713b7e7d0871f3adce0d2,v0=c628ab28bc12c749e99f95be8e72ff7888edfbb2f0496dd1d995115159b43368", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT6E0b6fckueSqWR0Bec4", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833998, + "data": { + "object": { + "id": "cus_NSPHp4fOlXGw8P", + "object": "customer", + "address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "balance": 0, + "created": 1677833998, + "currency": null, + "default_source": null, + "delinquent": false, + "description": null, + "discount": null, + "email": "hook@me.com", + "invoice_prefix": "3DAA104C", + "invoice_settings": { + "custom_fields": null, + "default_payment_method": null, + "footer": null, + "rendering_options": null + }, + "livemode": false, + "metadata": {}, + "name": "Martin", + "next_invoice_sequence": 2, + "phone": null, + "preferred_locales": [ + "en-US" + ], + "shipping": null, + "tax_exempt": "none", + "test_clock": null + } + }, + "livemode": false, + "pending_webhooks": 3, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "customer.created" + }, + "topic": "customer.created" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/customer.subscription.created.json b/providers/stripe/2022-11-15/customer.subscription.created.json new file mode 100644 index 0000000..44fa86e --- /dev/null +++ b/providers/stripe/2022-11-15/customer.subscription.created.json @@ -0,0 +1,172 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "5012", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834421,v1=16e5aa287323199b0975222f32be64636cab6505e421849c98750d637ae0422f,v0=ec99892b71c7cd2e17b6417ed69918166c9625550bfb2c0c3ae88b63a9b86898", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUZtE0b6fckueSDaOf1oJ8", + "object": "event", + "api_version": "2022-11-15", + "created": 1677834420, + "data": { + "object": { + "id": "sub_1MhUZrE0b6fckueSZfQ2Ytz6", + "object": "subscription", + "application": null, + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing_cycle_anchor": 1680426419, + "billing_thresholds": null, + "cancel_at": null, + "cancel_at_period_end": false, + "canceled_at": null, + "cancellation_details": { + "comment": null, + "feedback": null, + "reason": null + }, + "collection_method": "charge_automatically", + "created": 1677834419, + "currency": "usd", + "current_period_end": 1680426419, + "current_period_start": 1677834419, + "customer": "cus_NSPOMxl5eL01qM", + "days_until_due": null, + "default_payment_method": "pm_1MhUZoE0b6fckueSNbTLQLkm", + "default_source": null, + "default_tax_rates": [], + "description": null, + "discount": null, + "ended_at": null, + "items": { + "object": "list", + "data": [ + { + "id": "si_NSPOg1R6mHTgyg", + "object": "subscription_item", + "billing_thresholds": null, + "created": 1677834419, + "metadata": {}, + "plan": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 700, + "amount_decimal": "700", + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "custom_unit_amount": null, + "livemode": false, + "lookup_key": null, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 700, + "unit_amount_decimal": "700" + }, + "quantity": 10, + "subscription": "sub_1MhUZrE0b6fckueSZfQ2Ytz6", + "tax_rates": [] + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_1MhUZrE0b6fckueSZfQ2Ytz6" + }, + "latest_invoice": "in_1MhUZrE0b6fckueSp9LCa3Rr", + "livemode": false, + "metadata": {}, + "next_pending_invoice_item_invoice": null, + "on_behalf_of": null, + "pause_collection": null, + "payment_settings": { + "payment_method_options": null, + "payment_method_types": null, + "save_default_payment_method": "off" + }, + "pending_invoice_item_interval": null, + "pending_setup_intent": null, + "pending_update": null, + "plan": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 700, + "amount_decimal": "700", + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "quantity": 10, + "schedule": null, + "start_date": 1677834419, + "status": "trialing", + "test_clock": null, + "transfer_data": null, + "trial_end": 1680426419, + "trial_settings": { + "end_behavior": { + "missing_payment_method": "cancel" + } + }, + "trial_start": 1677834419 + } + }, + "livemode": false, + "pending_webhooks": 4, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "customer.subscription.created" + }, + "topic": "customer.subscription.created" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/customer.updated.json b/providers/stripe/2022-11-15/customer.updated.json new file mode 100644 index 0000000..180e3ef --- /dev/null +++ b/providers/stripe/2022-11-15/customer.updated.json @@ -0,0 +1,67 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "1269", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834000,v1=56967e6ca0a5a004bdec9410386cd16740ac958020ea88f87f2b53231432c5a2,v0=c07ee4495e8497928b6fb0541d09d8805a6942f4cdeb4b6a77360ac188a077bf", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT6E0b6fckueSfmuGgXWq", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833999, + "data": { + "object": { + "id": "cus_NSPHp4fOlXGw8P", + "object": "customer", + "address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "balance": 0, + "created": 1677833998, + "currency": "usd", + "default_source": null, + "delinquent": false, + "description": null, + "discount": null, + "email": "hook@me.com", + "invoice_prefix": "3DAA104C", + "invoice_settings": { + "custom_fields": null, + "default_payment_method": null, + "footer": null, + "rendering_options": null + }, + "livemode": false, + "metadata": {}, + "name": "Martin", + "next_invoice_sequence": 2, + "phone": null, + "preferred_locales": [ + "en-US" + ], + "shipping": null, + "tax_exempt": "none", + "test_clock": null + }, + "previous_attributes": { + "currency": null + } + }, + "livemode": false, + "pending_webhooks": 3, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "customer.updated" + }, + "topic": "customer.updated" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/invoice.created.json b/providers/stripe/2022-11-15/invoice.created.json new file mode 100644 index 0000000..2055aee --- /dev/null +++ b/providers/stripe/2022-11-15/invoice.created.json @@ -0,0 +1,207 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "6393", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834001,v1=0cc726480c7abf66de6a18f8adb71131ea7d7ac190b0058808d11b97643d326d,v0=af259eb5ecbd9c175541d7c2011a9bbb06c671824017b7032727515d16121fde", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT7E0b6fckueStwy86nfu", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833999, + "data": { + "object": { + "id": "in_1MhUT5E0b6fckueSfPlY05Fw", + "object": "invoice", + "account_country": "US", + "account_name": "Rodriq", + "account_tax_ids": null, + "amount_due": 0, + "amount_paid": 0, + "amount_remaining": 0, + "amount_shipping": 0, + "application": null, + "application_fee_amount": null, + "attempt_count": 0, + "attempted": true, + "auto_advance": false, + "automatic_tax": { + "enabled": false, + "status": null + }, + "billing_reason": "subscription_create", + "charge": null, + "collection_method": "charge_automatically", + "created": 1677833999, + "currency": "usd", + "custom_fields": null, + "customer": "cus_NSPHp4fOlXGw8P", + "customer_address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "customer_email": "hook@me.com", + "customer_name": "Martin", + "customer_phone": null, + "customer_shipping": null, + "customer_tax_exempt": "none", + "customer_tax_ids": [], + "default_payment_method": null, + "default_source": null, + "default_tax_rates": [], + "description": null, + "discount": null, + "discounts": [], + "due_date": null, + "ending_balance": 0, + "footer": null, + "from_invoice": null, + "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG?s=ap", + "invoice_pdf": "https://pay.stripe.com/invoice/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG/pdf?s=ap", + "last_finalization_error": null, + "latest_revision": null, + "lines": { + "object": "list", + "data": [ + { + "id": "il_1MhUT5E0b6fckueSJCaQVbIe", + "object": "line_item", + "amount": 0, + "amount_excluding_tax": 0, + "currency": "usd", + "description": "Trial period for Meetin Grande", + "discount_amounts": [], + "discountable": true, + "discounts": [], + "livemode": false, + "metadata": {}, + "period": { + "end": 1680425999, + "start": 1677833999 + }, + "plan": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 700, + "amount_decimal": "700", + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "custom_unit_amount": null, + "livemode": false, + "lookup_key": null, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 700, + "unit_amount_decimal": "700" + }, + "proration": false, + "proration_details": { + "credited_items": null + }, + "quantity": 11, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subscription_item": "si_NSPHIHu3GFH1sj", + "tax_amounts": [], + "tax_rates": [], + "type": "subscription", + "unit_amount_excluding_tax": "0" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1MhUT5E0b6fckueSfPlY05Fw/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "3DAA104C-0001", + "on_behalf_of": null, + "paid": true, + "paid_out_of_band": false, + "payment_intent": null, + "payment_settings": { + "default_mandate": null, + "payment_method_options": null, + "payment_method_types": null + }, + "period_end": 1677833999, + "period_start": 1677833999, + "post_payment_credit_notes_amount": 0, + "pre_payment_credit_notes_amount": 0, + "quote": null, + "receipt_number": null, + "rendering_options": null, + "shipping_cost": null, + "shipping_details": null, + "starting_balance": 0, + "statement_descriptor": null, + "status": "paid", + "status_transitions": { + "finalized_at": 1677833999, + "marked_uncollectible_at": null, + "paid_at": 1677833999, + "voided_at": null + }, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subtotal": 0, + "subtotal_excluding_tax": 0, + "tax": null, + "test_clock": null, + "total": 0, + "total_discount_amounts": [], + "total_excluding_tax": 0, + "total_tax_amounts": [], + "transfer_data": null, + "webhooks_delivered_at": null + } + }, + "livemode": false, + "pending_webhooks": 5, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "invoice.created" + }, + "topic": "invoice.created" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/invoice.finalized.json b/providers/stripe/2022-11-15/invoice.finalized.json new file mode 100644 index 0000000..d9d564d --- /dev/null +++ b/providers/stripe/2022-11-15/invoice.finalized.json @@ -0,0 +1,207 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "6395", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834001,v1=e36c1d6e92c6151bcea7688f7b71adaad209145bc1cfe0348dbbae9537bfd62c,v0=9501fc1f8d800349c04e3211b2704a429268349073966d1c1923aeb9c3ccb6f6", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT7E0b6fckueS9G2IKvN4", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833999, + "data": { + "object": { + "id": "in_1MhUT5E0b6fckueSfPlY05Fw", + "object": "invoice", + "account_country": "US", + "account_name": "Rodriq", + "account_tax_ids": null, + "amount_due": 0, + "amount_paid": 0, + "amount_remaining": 0, + "amount_shipping": 0, + "application": null, + "application_fee_amount": null, + "attempt_count": 0, + "attempted": true, + "auto_advance": false, + "automatic_tax": { + "enabled": false, + "status": null + }, + "billing_reason": "subscription_create", + "charge": null, + "collection_method": "charge_automatically", + "created": 1677833999, + "currency": "usd", + "custom_fields": null, + "customer": "cus_NSPHp4fOlXGw8P", + "customer_address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "customer_email": "hook@me.com", + "customer_name": "Martin", + "customer_phone": null, + "customer_shipping": null, + "customer_tax_exempt": "none", + "customer_tax_ids": [], + "default_payment_method": null, + "default_source": null, + "default_tax_rates": [], + "description": null, + "discount": null, + "discounts": [], + "due_date": null, + "ending_balance": 0, + "footer": null, + "from_invoice": null, + "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG?s=ap", + "invoice_pdf": "https://pay.stripe.com/invoice/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG/pdf?s=ap", + "last_finalization_error": null, + "latest_revision": null, + "lines": { + "object": "list", + "data": [ + { + "id": "il_1MhUT5E0b6fckueSJCaQVbIe", + "object": "line_item", + "amount": 0, + "amount_excluding_tax": 0, + "currency": "usd", + "description": "Trial period for Meetin Grande", + "discount_amounts": [], + "discountable": true, + "discounts": [], + "livemode": false, + "metadata": {}, + "period": { + "end": 1680425999, + "start": 1677833999 + }, + "plan": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 700, + "amount_decimal": "700", + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "custom_unit_amount": null, + "livemode": false, + "lookup_key": null, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 700, + "unit_amount_decimal": "700" + }, + "proration": false, + "proration_details": { + "credited_items": null + }, + "quantity": 11, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subscription_item": "si_NSPHIHu3GFH1sj", + "tax_amounts": [], + "tax_rates": [], + "type": "subscription", + "unit_amount_excluding_tax": "0" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1MhUT5E0b6fckueSfPlY05Fw/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "3DAA104C-0001", + "on_behalf_of": null, + "paid": true, + "paid_out_of_band": false, + "payment_intent": null, + "payment_settings": { + "default_mandate": null, + "payment_method_options": null, + "payment_method_types": null + }, + "period_end": 1677833999, + "period_start": 1677833999, + "post_payment_credit_notes_amount": 0, + "pre_payment_credit_notes_amount": 0, + "quote": null, + "receipt_number": null, + "rendering_options": null, + "shipping_cost": null, + "shipping_details": null, + "starting_balance": 0, + "statement_descriptor": null, + "status": "paid", + "status_transitions": { + "finalized_at": 1677833999, + "marked_uncollectible_at": null, + "paid_at": 1677833999, + "voided_at": null + }, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subtotal": 0, + "subtotal_excluding_tax": 0, + "tax": null, + "test_clock": null, + "total": 0, + "total_discount_amounts": [], + "total_excluding_tax": 0, + "total_tax_amounts": [], + "transfer_data": null, + "webhooks_delivered_at": null + } + }, + "livemode": false, + "pending_webhooks": 4, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "invoice.finalized" + }, + "topic": "invoice.finalized" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/invoice.paid.json b/providers/stripe/2022-11-15/invoice.paid.json new file mode 100644 index 0000000..f65dbe2 --- /dev/null +++ b/providers/stripe/2022-11-15/invoice.paid.json @@ -0,0 +1,207 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "6390", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834001,v1=6f37be3a6d50e9d5cf69b1ca056941a682e8af0a226547164570dde58e080f66,v0=05872a599766d775f9653959b28a8c181c748573abbdb66b35ee0d903eb8d011", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT7E0b6fckueShdwYrsWN", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833999, + "data": { + "object": { + "id": "in_1MhUT5E0b6fckueSfPlY05Fw", + "object": "invoice", + "account_country": "US", + "account_name": "Rodriq", + "account_tax_ids": null, + "amount_due": 0, + "amount_paid": 0, + "amount_remaining": 0, + "amount_shipping": 0, + "application": null, + "application_fee_amount": null, + "attempt_count": 0, + "attempted": true, + "auto_advance": false, + "automatic_tax": { + "enabled": false, + "status": null + }, + "billing_reason": "subscription_create", + "charge": null, + "collection_method": "charge_automatically", + "created": 1677833999, + "currency": "usd", + "custom_fields": null, + "customer": "cus_NSPHp4fOlXGw8P", + "customer_address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "customer_email": "hook@me.com", + "customer_name": "Martin", + "customer_phone": null, + "customer_shipping": null, + "customer_tax_exempt": "none", + "customer_tax_ids": [], + "default_payment_method": null, + "default_source": null, + "default_tax_rates": [], + "description": null, + "discount": null, + "discounts": [], + "due_date": null, + "ending_balance": 0, + "footer": null, + "from_invoice": null, + "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG?s=ap", + "invoice_pdf": "https://pay.stripe.com/invoice/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG/pdf?s=ap", + "last_finalization_error": null, + "latest_revision": null, + "lines": { + "object": "list", + "data": [ + { + "id": "il_1MhUT5E0b6fckueSJCaQVbIe", + "object": "line_item", + "amount": 0, + "amount_excluding_tax": 0, + "currency": "usd", + "description": "Trial period for Meetin Grande", + "discount_amounts": [], + "discountable": true, + "discounts": [], + "livemode": false, + "metadata": {}, + "period": { + "end": 1680425999, + "start": 1677833999 + }, + "plan": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 700, + "amount_decimal": "700", + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "custom_unit_amount": null, + "livemode": false, + "lookup_key": null, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 700, + "unit_amount_decimal": "700" + }, + "proration": false, + "proration_details": { + "credited_items": null + }, + "quantity": 11, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subscription_item": "si_NSPHIHu3GFH1sj", + "tax_amounts": [], + "tax_rates": [], + "type": "subscription", + "unit_amount_excluding_tax": "0" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1MhUT5E0b6fckueSfPlY05Fw/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "3DAA104C-0001", + "on_behalf_of": null, + "paid": true, + "paid_out_of_band": false, + "payment_intent": null, + "payment_settings": { + "default_mandate": null, + "payment_method_options": null, + "payment_method_types": null + }, + "period_end": 1677833999, + "period_start": 1677833999, + "post_payment_credit_notes_amount": 0, + "pre_payment_credit_notes_amount": 0, + "quote": null, + "receipt_number": null, + "rendering_options": null, + "shipping_cost": null, + "shipping_details": null, + "starting_balance": 0, + "statement_descriptor": null, + "status": "paid", + "status_transitions": { + "finalized_at": 1677833999, + "marked_uncollectible_at": null, + "paid_at": 1677833999, + "voided_at": null + }, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subtotal": 0, + "subtotal_excluding_tax": 0, + "tax": null, + "test_clock": null, + "total": 0, + "total_discount_amounts": [], + "total_excluding_tax": 0, + "total_tax_amounts": [], + "transfer_data": null, + "webhooks_delivered_at": null + } + }, + "livemode": false, + "pending_webhooks": 4, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "invoice.paid" + }, + "topic": "invoice.paid" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/invoice.payment_succeeded.json b/providers/stripe/2022-11-15/invoice.payment_succeeded.json new file mode 100644 index 0000000..d5f3983 --- /dev/null +++ b/providers/stripe/2022-11-15/invoice.payment_succeeded.json @@ -0,0 +1,207 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "6403", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834001,v1=c666fbe321e1a56ca55b842df19f273279ccd344aab34102506f7dfde1bdace7,v0=edb711444722d850b85a2047dbb2bac24735a971f267d3ea9b1881d000962764", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT7E0b6fckueSTtEJC9R4", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833999, + "data": { + "object": { + "id": "in_1MhUT5E0b6fckueSfPlY05Fw", + "object": "invoice", + "account_country": "US", + "account_name": "Rodriq", + "account_tax_ids": null, + "amount_due": 0, + "amount_paid": 0, + "amount_remaining": 0, + "amount_shipping": 0, + "application": null, + "application_fee_amount": null, + "attempt_count": 0, + "attempted": true, + "auto_advance": false, + "automatic_tax": { + "enabled": false, + "status": null + }, + "billing_reason": "subscription_create", + "charge": null, + "collection_method": "charge_automatically", + "created": 1677833999, + "currency": "usd", + "custom_fields": null, + "customer": "cus_NSPHp4fOlXGw8P", + "customer_address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "customer_email": "hook@me.com", + "customer_name": "Martin", + "customer_phone": null, + "customer_shipping": null, + "customer_tax_exempt": "none", + "customer_tax_ids": [], + "default_payment_method": null, + "default_source": null, + "default_tax_rates": [], + "description": null, + "discount": null, + "discounts": [], + "due_date": null, + "ending_balance": 0, + "footer": null, + "from_invoice": null, + "hosted_invoice_url": "https://invoice.stripe.com/i/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG?s=ap", + "invoice_pdf": "https://pay.stripe.com/invoice/acct_1IvKcSE0b6fckueS/test_YWNjdF8xSXZLY1NFMGI2ZmNrdWVTLF9OU1BIM0pMOHVzalNXcGNINFpUM29ucVhrQm80M1F3LDY4Mzc0ODAx0200k1WbLvaG/pdf?s=ap", + "last_finalization_error": null, + "latest_revision": null, + "lines": { + "object": "list", + "data": [ + { + "id": "il_1MhUT5E0b6fckueSJCaQVbIe", + "object": "line_item", + "amount": 0, + "amount_excluding_tax": 0, + "currency": "usd", + "description": "Trial period for Meetin Grande", + "discount_amounts": [], + "discountable": true, + "discounts": [], + "livemode": false, + "metadata": {}, + "period": { + "end": 1680425999, + "start": 1677833999 + }, + "plan": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "plan", + "active": true, + "aggregate_usage": null, + "amount": 700, + "amount_decimal": "700", + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "tiers_mode": null, + "transform_usage": null, + "trial_period_days": null, + "usage_type": "licensed" + }, + "price": { + "id": "price_1M3wjkE0b6fckueSKPgfRMSG", + "object": "price", + "active": true, + "billing_scheme": "per_unit", + "created": 1668409544, + "currency": "usd", + "custom_unit_amount": null, + "livemode": false, + "lookup_key": null, + "metadata": {}, + "nickname": null, + "product": "prod_MnXpcVDdQq8wCY", + "recurring": { + "aggregate_usage": null, + "interval": "month", + "interval_count": 1, + "trial_period_days": null, + "usage_type": "licensed" + }, + "tax_behavior": "unspecified", + "tiers_mode": null, + "transform_quantity": null, + "type": "recurring", + "unit_amount": 700, + "unit_amount_decimal": "700" + }, + "proration": false, + "proration_details": { + "credited_items": null + }, + "quantity": 11, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subscription_item": "si_NSPHIHu3GFH1sj", + "tax_amounts": [], + "tax_rates": [], + "type": "subscription", + "unit_amount_excluding_tax": "0" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1MhUT5E0b6fckueSfPlY05Fw/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "3DAA104C-0001", + "on_behalf_of": null, + "paid": true, + "paid_out_of_band": false, + "payment_intent": null, + "payment_settings": { + "default_mandate": null, + "payment_method_options": null, + "payment_method_types": null + }, + "period_end": 1677833999, + "period_start": 1677833999, + "post_payment_credit_notes_amount": 0, + "pre_payment_credit_notes_amount": 0, + "quote": null, + "receipt_number": null, + "rendering_options": null, + "shipping_cost": null, + "shipping_details": null, + "starting_balance": 0, + "statement_descriptor": null, + "status": "paid", + "status_transitions": { + "finalized_at": 1677833999, + "marked_uncollectible_at": null, + "paid_at": 1677833999, + "voided_at": null + }, + "subscription": "sub_1MhUT5E0b6fckueSYAo1LoiF", + "subtotal": 0, + "subtotal_excluding_tax": 0, + "tax": null, + "test_clock": null, + "total": 0, + "total_discount_amounts": [], + "total_excluding_tax": 0, + "total_tax_amounts": [], + "transfer_data": null, + "webhooks_delivered_at": null + } + }, + "livemode": false, + "pending_webhooks": 5, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "invoice.payment_succeeded" + }, + "topic": "invoice.payment_succeeded" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/payment_link.created.json b/providers/stripe/2022-11-15/payment_link.created.json new file mode 100644 index 0000000..719ebc8 --- /dev/null +++ b/providers/stripe/2022-11-15/payment_link.created.json @@ -0,0 +1,87 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "2045", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677833742,v1=0062ea65f7c68206a317c96696680357aeb7ca34deaecabbe8c7c9b294dca4a9,v0=257caec276b5607d2bd55aab638af30bd0f1e64e4ade313f9de084f8f976e287", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUOwE0b6fckueScE3ilVdk", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833742, + "data": { + "object": { + "id": "plink_1MhUOwE0b6fckueSjmvf9Yea", + "object": "payment_link", + "active": true, + "after_completion": { + "hosted_confirmation": { + "custom_message": null + }, + "type": "hosted_confirmation" + }, + "allow_promotion_codes": false, + "application_fee_amount": null, + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing_address_collection": "auto", + "consent_collection": { + "promotions": "none", + "terms_of_service": "none" + }, + "currency": "usd", + "custom_fields": [], + "custom_text": { + "shipping_address": null, + "submit": null + }, + "customer_creation": "if_required", + "invoice_creation": { + "enabled": false, + "invoice_data": { + "account_tax_ids": null, + "custom_fields": null, + "description": null, + "footer": null, + "metadata": {}, + "rendering_options": null + } + }, + "livemode": false, + "metadata": {}, + "on_behalf_of": null, + "payment_intent_data": null, + "payment_method_collection": "always", + "payment_method_types": null, + "phone_number_collection": { + "enabled": false + }, + "shipping_address_collection": null, + "shipping_options": [], + "submit_type": "auto", + "subscription_data": { + "description": null, + "trial_period_days": 30 + }, + "tax_id_collection": { + "enabled": false + }, + "transfer_data": null, + "url": "https://buy.stripe.com/test_fZebKI0dz4Gf9Bm14h" + } + }, + "livemode": false, + "pending_webhooks": 10, + "request": { + "id": "req_yw1O7LbtRDYxgG", + "idempotency_key": "f6a8093e-63be-4656-a4a4-a08659ce719d" + }, + "type": "payment_link.created" + }, + "topic": "payment_link.created" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/payment_link.updated.json b/providers/stripe/2022-11-15/payment_link.updated.json new file mode 100644 index 0000000..2a394cb --- /dev/null +++ b/providers/stripe/2022-11-15/payment_link.updated.json @@ -0,0 +1,90 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "2104", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677835395,v1=5f221637be25f66460cc2eb0f5910ebc805c1695b27e9c5feb37166457b73fe7,v0=e10f659a45129dc3a3a12f571b5ec92486559ea698b7d8e93bd850ca354597a1", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUpbE0b6fckueS04UJ4Hhr", + "object": "event", + "api_version": "2022-11-15", + "created": 1677835395, + "data": { + "object": { + "id": "plink_1MZqEkE0b6fckueSGoXNsufx", + "object": "payment_link", + "active": false, + "after_completion": { + "hosted_confirmation": { + "custom_message": null + }, + "type": "hosted_confirmation" + }, + "allow_promotion_codes": false, + "application_fee_amount": null, + "application_fee_percent": null, + "automatic_tax": { + "enabled": false + }, + "billing_address_collection": "auto", + "consent_collection": { + "promotions": "none", + "terms_of_service": "none" + }, + "currency": "usd", + "custom_fields": [], + "custom_text": { + "shipping_address": null, + "submit": null + }, + "customer_creation": "if_required", + "invoice_creation": { + "enabled": false, + "invoice_data": { + "account_tax_ids": null, + "custom_fields": null, + "description": null, + "footer": null, + "metadata": {}, + "rendering_options": null + } + }, + "livemode": false, + "metadata": {}, + "on_behalf_of": null, + "payment_intent_data": null, + "payment_method_collection": "always", + "payment_method_types": null, + "phone_number_collection": { + "enabled": false + }, + "shipping_address_collection": null, + "shipping_options": [], + "submit_type": "auto", + "subscription_data": { + "description": null, + "trial_period_days": null + }, + "tax_id_collection": { + "enabled": false + }, + "transfer_data": null, + "url": "https://buy.stripe.com/test_4gw3ece4p1u3aFq4gr" + }, + "previous_attributes": { + "active": true + } + }, + "livemode": false, + "pending_webhooks": 8, + "request": { + "id": "req_dxXueNGdjQ9B47", + "idempotency_key": "5411e769-c2a9-4315-9965-ca16afded864" + }, + "type": "payment_link.updated" + }, + "topic": "payment_link.updated" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/payment_method.attached.json b/providers/stripe/2022-11-15/payment_method.attached.json new file mode 100644 index 0000000..a8c3fd6 --- /dev/null +++ b/providers/stripe/2022-11-15/payment_method.attached.json @@ -0,0 +1,73 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "1444", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834000,v1=6e3115e6bc21ef1429650157d6f7aec4977bf31b68dbc366796f14b3af39a75d,v0=7930ce7ff1997380e61f27566cfd5e8cc6f243fc2dc5a50ad6d48530797347bc", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUT6E0b6fckueSb5uPJGPA", + "object": "event", + "api_version": "2022-11-15", + "created": 1677833998, + "data": { + "object": { + "id": "pm_1MhUT1E0b6fckueSV6KgiBFn", + "object": "payment_method", + "billing_details": { + "address": { + "city": null, + "country": "CM", + "line1": null, + "line2": null, + "postal_code": null, + "state": null + }, + "email": "hook@me.com", + "name": "Martin", + "phone": null + }, + "card": { + "brand": "visa", + "checks": { + "address_line1_check": null, + "address_postal_code_check": null, + "cvc_check": "pass" + }, + "country": "US", + "exp_month": 12, + "exp_year": 2023, + "fingerprint": "iMCe31XWVrH1fujS", + "funding": "credit", + "generated_from": null, + "last4": "4242", + "networks": { + "available": [ + "visa" + ], + "preferred": null + }, + "three_d_secure_usage": { + "supported": true + }, + "wallet": null + }, + "created": 1677833996, + "customer": "cus_NSPHp4fOlXGw8P", + "livemode": false, + "metadata": {}, + "type": "card" + } + }, + "livemode": false, + "pending_webhooks": 3, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "payment_method.attached" + }, + "topic": "payment_method.attached" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/setup_intent.created.json b/providers/stripe/2022-11-15/setup_intent.created.json new file mode 100644 index 0000000..a2bbdaf --- /dev/null +++ b/providers/stripe/2022-11-15/setup_intent.created.json @@ -0,0 +1,58 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "1279", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834418,v1=7f2e02db5722411b119bfb3fd6e550c31547dfa90e063d7aa2e8608b6b333502,v0=5d5461c575d27dd7c45b96f1ea47924e22bd29d147f219b56e972706d9e2020c", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUZqE0b6fckueSDMcrg1zt", + "object": "event", + "api_version": "2022-11-15", + "created": 1677834417, + "data": { + "object": { + "id": "seti_1MhUZpE0b6fckueSO1ROP6RG", + "object": "setup_intent", + "application": null, + "cancellation_reason": null, + "client_secret": "seti_1MhUZpE0b6fckueSO1ROP6RG_secret_NSPOCUAQ6cVd3xDNuz1SvYqodrJrHqh", + "created": 1677834417, + "customer": null, + "description": null, + "flow_directions": null, + "last_setup_error": null, + "latest_attempt": "setatt_1MhUZpE0b6fckueSuPUf8BpQ", + "livemode": false, + "mandate": null, + "metadata": {}, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "payment_method_options": { + "card": { + "mandate_options": null, + "network": null, + "request_three_d_secure": "automatic" + } + }, + "payment_method_types": [ + "card" + ], + "single_use_mandate": null, + "status": "succeeded", + "usage": "off_session" + } + }, + "livemode": false, + "pending_webhooks": 3, + "request": { + "id": "req_JFbK69aRBjemw9", + "idempotency_key": "58143ed3-e3a0-4a99-a612-8647a7d911b8" + }, + "type": "setup_intent.created" + }, + "topic": "setup_intent.created" +} \ No newline at end of file diff --git a/providers/stripe/2022-11-15/setup_intent.succeeded.json b/providers/stripe/2022-11-15/setup_intent.succeeded.json new file mode 100644 index 0000000..6d0d2ea --- /dev/null +++ b/providers/stripe/2022-11-15/setup_intent.succeeded.json @@ -0,0 +1,58 @@ +{ + "headers": { + "user-agent": "Stripe/1.0 (+https://stripe.com/docs/webhooks)", + "content-length": "1306", + "accept": "application/json, text/plain, */*", + "content-type": "application/json; charset=utf-8", + "stripe-signature": "t=1677834418,v1=c85be8bf080db5d7a091f03c2dfcde91f62c37ab72344b3ef7f7fbd11b429fe0,v0=29b726d4847e11e71090dcead2d3af9145832a6039322f873548ab2e36bfd422", + "accept-encoding": "gzip" + }, + "body": { + "id": "evt_1MhUZqE0b6fckueSGwHOxNw6", + "object": "event", + "api_version": "2022-11-15", + "created": 1677834418, + "data": { + "object": { + "id": "seti_1MhUZpE0b6fckueSO1ROP6RG", + "object": "setup_intent", + "application": null, + "cancellation_reason": null, + "client_secret": "seti_1MhUZpE0b6fckueSO1ROP6RG_secret_NSPOCUAQ6cVd3xDNuz1SvYqodrJrHqh", + "created": 1677834417, + "customer": null, + "description": null, + "flow_directions": null, + "last_setup_error": null, + "latest_attempt": "setatt_1MhUZpE0b6fckueSuPUf8BpQ", + "livemode": false, + "mandate": null, + "metadata": {}, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1MhUZoE0b6fckueSNbTLQLkm", + "payment_method_options": { + "card": { + "mandate_options": null, + "network": null, + "request_three_d_secure": "automatic" + } + }, + "payment_method_types": [ + "card" + ], + "single_use_mandate": null, + "status": "succeeded", + "usage": "off_session" + } + }, + "livemode": false, + "pending_webhooks": 3, + "request": { + "id": "req_JFbK69aRBjemw9", + "idempotency_key": "58143ed3-e3a0-4a99-a612-8647a7d911b8" + }, + "type": "setup_intent.succeeded" + }, + "topic": "setup_intent.succeeded" +} \ No newline at end of file diff --git a/providers/stripe/index.json b/providers/stripe/index.json new file mode 100644 index 0000000..2540006 --- /dev/null +++ b/providers/stripe/index.json @@ -0,0 +1,7 @@ +{ + "label": "Stripe", + "configs": { + "latest_version": "2022-11-15", + "topic_identifier": "type" + } + }