Skip to content

Commit bc73c2b

Browse files
feat: more detailed partner webhooks
1 parent a590fa1 commit bc73c2b

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

server-partner-program/purchase-webhooks.mdx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,25 @@ of the setup process.
7070
{
7171
"id": 5362597, // Internal ID of the package purchased. This should be a stable identifier.
7272
"name": "Purple Prison (Hearts)", // Name of the package purchased.
73-
"quantity": 1 // Quantity purchased
73+
"quantity": 1, // Quantity purchased
74+
"paidIntoWallet": 9.84, // How much Lunar Client received after fees/taxes/etc.
75+
"cosmeticSplits": [
76+
{
77+
"partner": {
78+
"id": 23,
79+
"name": "Purple Prison"
80+
},
81+
"percent": 0.5,
82+
"payout": 4.92
83+
}
84+
]
7485
},
7586
{
7687
"id": 5362600,
7788
"name": "Purple Prison Necklace",
78-
"quantity": 1
89+
"quantity": 1,
90+
"paidIntoWallet": 9.84,
91+
"cosmeticSplits": []
7992
}
8093
],
8194
"customer": {

0 commit comments

Comments
 (0)