Skip to content

Commit 455475b

Browse files
Formatting fixes
1 parent f82066d commit 455475b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

server-partner-program/purchase-webhooks.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ There is currently no automatic process to configure a new webhook endpoint. Ple
1515

1616
## Webhook Signatures
1717

18-
It's important to verify the webhooks you're receiving are actually from Lunar Client. All webhooks will be sent with a `X-Signature` header, whose
18+
It's important to verify the webhooks you're receiving are actually from Lunar Client. All webhooks will be sent with an `X-Signature` header, whose
1919
value should be checked prior to accepting the webhook.
2020

2121
This value is generated by computing a SHA256 HMAC hash of the body of the webhook. The secret to verify with will be provided to you as part
@@ -37,9 +37,9 @@ of the setup process.
3737

3838
## Webhook Types
3939

40-
`store.purchase.completed` - A purchase has been completed, and a player has received your partnered product.
41-
`store.purchase.refunded` - A previously-completed purchase has been refunded by Lunar Client, and any partnered products have been removed.
42-
`store.purchase.disputed` - A previously-completed purchase has been disputed by the purchaser, and any partnered products have been removed.
40+
* `store.purchase.completed` - A purchase has been completed, and a player has received your partnered product.
41+
* `store.purchase.refunded` - A previously-completed purchase has been refunded by Lunar Client, and any partnered products have been removed.
42+
* `store.purchase.disputed` - A previously-completed purchase has been disputed by the purchaser, and any partnered products have been removed.
4343

4444
## Webhook Format
4545

@@ -53,17 +53,17 @@ of the setup process.
5353
{
5454
"id": 5362597, // Internal ID of the package purchased. This should be a stable identifier.
5555
"name": "Purple Prison (Hearts)", // Name of the package purchased.
56-
"quantity": 1, // Quantity purchased
56+
"quantity": 1 // Quantity purchased
5757
},
5858
{
5959
"id": 5362600,
6060
"name": "Purple Prison Necklace",
61-
"quantity": 1,
61+
"quantity": 1
6262
}
6363
],
6464
"customer": {
6565
"username": "macguy", // Minecraft username
66-
"uuid": "7471b8e8-27c2-4354-a7d2-bd6a82dc00a0", // Minecraft uuid, with dashes
66+
"uuid": "7471b8e8-27c2-4354-a7d2-bd6a82dc00a0" // Minecraft uuid, with dashes
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)