Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update commission-created.json

Kiran K3870d3c3b525
diff --git a/apps/web/lib/webhook/sample-events/commission-created.json b/apps/web/lib/webhook/sample-events/commission-created.json
index 52c9069260..a50d1c7975 100644
--- a/apps/web/lib/webhook/sample-events/commission-created.json
+++ b/apps/web/lib/webhook/sample-events/commission-created.json
@@ -1,5 +1,5 @@
{
- "id": "cm_1JZQHG30696MDWAAP8H09AADE",
+ "id": "cm_1K09DJTBCRT24P6BRD515CK29",
"type": "sale",
"amount": 50000,
"earnings": 10000,
@@ -8,42 +8,19 @@
"invoiceId": null,
"description": null,
"quantity": 1,
- "createdAt": "2025-07-09T12:10:19.649Z",
- "updatedAt": "2025-07-09T12:10:20.039Z",
+ "userId": "cludszk1h0000wmd2e0ea2b0p",
+ "createdAt": "2025-07-16T10:48:14.722Z",
+ "updatedAt": "2025-07-16T10:48:14.960Z",
"partner": {
- "id": "cm6v2l38p000zubyl5fly3i7w",
+ "id": "pn_1K06X6FX2GRB31NCM2VVCGJ72",
"name": "Matthew Hayden",
"email": "[email protected]",
- "companyName": "",
- "profileType": "individual",
"image": null,
- "description": "I'm a content creator who works with brands to grow their business.",
- "country": "US",
- "status": "approved",
- "stripeConnectId": "acct_1Ri8yePKFVxAW5Pv",
- "paypalEmail": null,
- "payoutsEnabledAt": "2025-07-07T06:22:01.000Z",
- "invoiceSettings": {},
- "minWithdrawalAmount": 7500,
- "createdAt": "2025-07-05T05:34:41.334Z",
- "website": null,
- "websiteTxtRecord": null,
- "websiteVerifiedAt": null,
- "youtube": null,
- "youtubeVerifiedAt": null,
- "youtubeSubscriberCount": 0,
- "youtubeViewCount": 0,
- "twitter": null,
- "twitterVerifiedAt": null,
- "linkedin": null,
- "linkedinVerifiedAt": null,
- "instagram": null,
- "instagramVerifiedAt": null,
- "tiktok": null,
- "tiktokVerifiedAt": null
+ "payoutsEnabledAt": null,
+ "country": "US"
},
"customer": {
- "id": "cus_1JZQHFT1780BDFAHV5QG0K6G0",
+ "id": "cus_1K09DJDEACR47NPYC93RM43WF",
"externalId": "TaMD05AnuyqeI",
"name": "David",
"email": "[email protected]",
@@ -51,6 +28,6 @@
"country": "US",
"sales": 1,
"saleAmount": 50000,
- "createdAt": "2025-07-09T12:10:10.856Z"
+ "createdAt": "2025-07-16T10:48:01.739Z"
}
}