From 252fef0a452186feea2a0c8bf9566ea150424bbf Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Oct 2026 17:41:59 +0000 Subject: [PATCH 1/2] modem-pay: add 1 doc-sourced sample (charge.succeeded) Copied as-is from hookdeck/webhook-registry samples-doc/providers/modem-pay (registry #128). The body's top-level `event` resolves to charge.succeeded, which matches the file name and the `topic` field. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01D7eqaQdKAUzQXRbGtym1PF --- providers/modem-pay/index.json | 13 +++++ .../modem-pay/latest/charge.succeeded.json | 47 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 providers/modem-pay/index.json create mode 100644 providers/modem-pay/latest/charge.succeeded.json diff --git a/providers/modem-pay/index.json b/providers/modem-pay/index.json new file mode 100644 index 0000000..bf6bbfe --- /dev/null +++ b/providers/modem-pay/index.json @@ -0,0 +1,13 @@ +{ + "label": "Modem Pay", + "configs": { + "latest_version": "latest", + "topic_identifier": "event" + }, + "provenance": { + "latest": { + "sourced_via": "docs", + "sourced_on": "2026-10-29" + } + } +} diff --git a/providers/modem-pay/latest/charge.succeeded.json b/providers/modem-pay/latest/charge.succeeded.json new file mode 100644 index 0000000..3e22476 --- /dev/null +++ b/providers/modem-pay/latest/charge.succeeded.json @@ -0,0 +1,47 @@ +{ + "headers": { + "content-type": "application/json" + }, + "body": { + "event": "charge.succeeded", + "payload": { + "id": "23419194-7324-4c2b-a74b-d8fba736e692", + "type": "payment", + "amount": 2500, + "currency": "GMD", + "payment_method": "qmoney", + "customer": "0f6e0912-2f2f-4d8b-bd68-ac8c97c44ae6", + "metadata": {}, + "status": "completed", + "payment_link_id": null, + "custom_fields_values": {}, + "business_id": "a10a51ae-05c8-406e-968c-7b1d309a77e0", + "account_id": "7788dd90-3801-47a6-8597-b46eaa0a7d7d", + "test_mode": true, + "customer_name": "Zypheron Kade", + "customer_phone": "7024725", + "customer_email": "calebchibuike110@gmail.com", + "createdAt": "2024-12-15T09:34:17.036Z", + "updatedAt": "2024-12-15T09:34:43.306Z", + "payment_account": ".... 9944", + "payment_metadata": { + "os": "MacOS", + "browser": "Firefox", + "ipAddress": "196.223.149.183", + "timestamp": "2024-12-15T09:34:43.266Z", + "deviceType": "Desktop", + "urlIPAddress": "https://db-ip.com/196.223.149.183", + "screenResolution": "1600x900" + }, + "payment_intent_id": "273ac751-369d-4198-8340-da480208bded", + "transaction_reference": "VOAO1CFEN7", + "payment_method_id": "4dbaaec5-7a16-4908-8fd9-c3d2bd24f739" + } + }, + "topic": "charge.succeeded", + "source": { + "type": "vendor-documentation", + "url": "https://docs.modempay.com/documentation/core/webhooks", + "retrieved": "2026-10-29" + } +} From 3add6c7992b30bdced062004a2699e58a94ec683 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 29 Oct 2026 17:43:03 +0000 Subject: [PATCH 2/2] modem-pay: replace PII in the charge.succeeded sample Mirrors the registry follow-up that makes the harvester export the sample with the customer email as customer@example.com and the IP as 192.0.2.183 (TEST-NET-1), in both payment_metadata.ipAddress and urlIPAddress. Nothing else changes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01D7eqaQdKAUzQXRbGtym1PF --- providers/modem-pay/latest/charge.succeeded.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/modem-pay/latest/charge.succeeded.json b/providers/modem-pay/latest/charge.succeeded.json index 3e22476..0140d25 100644 --- a/providers/modem-pay/latest/charge.succeeded.json +++ b/providers/modem-pay/latest/charge.succeeded.json @@ -20,17 +20,17 @@ "test_mode": true, "customer_name": "Zypheron Kade", "customer_phone": "7024725", - "customer_email": "calebchibuike110@gmail.com", + "customer_email": "customer@example.com", "createdAt": "2024-12-15T09:34:17.036Z", "updatedAt": "2024-12-15T09:34:43.306Z", "payment_account": ".... 9944", "payment_metadata": { "os": "MacOS", "browser": "Firefox", - "ipAddress": "196.223.149.183", + "ipAddress": "192.0.2.183", "timestamp": "2024-12-15T09:34:43.266Z", "deviceType": "Desktop", - "urlIPAddress": "https://db-ip.com/196.223.149.183", + "urlIPAddress": "https://db-ip.com/192.0.2.183", "screenResolution": "1600x900" }, "payment_intent_id": "273ac751-369d-4198-8340-da480208bded",