Skip to content

Commit 2b21146

Browse files
authored
Add new fields to sample Sponsors webhooks (#18548)
1 parent b381339 commit 2b21146

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

lib/webhooks/static/dotcom/sponsorship.created.payload.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
"description": "foo",
5151
"monthly_price_in_cents": 500,
5252
"monthly_price_in_dollars": 5,
53-
"name": "$5 a month"
53+
"name": "$5 a month",
54+
"is_one_time": false,
55+
"is_custom_amount": false
5456
}
5557
},
5658
"sender": {

lib/webhooks/static/dotcom/sponsorship.downgraded.payload.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
"description": "foo",
5151
"monthly_price_in_cents": 500,
5252
"monthly_price_in_dollars": 5,
53-
"name": "$5 a month"
53+
"name": "$5 a month",
54+
"is_one_time": false,
55+
"is_custom_amount": false
5456
}
5557
},
5658
"changes": {

0 commit comments

Comments
 (0)