curl --location --request POST 'https://your-api-server.com' \
--header 'User-Agent: SXPay-Webhook/1.0' \
--header 'x-sxpay-signature;' \
--header 'x-sxpay-timestamp;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "7b1e3e7f-1a23-4c55-8ef1-b12cd3fae7c1",
"type": "payment_link.status_changed",
"createdAt": "2024-12-05T18:32:12.000Z",
"data": {
"id": "01KDKM3H65KCYAVMJTM8TBV8Y6",
"title": "Payment Title",
"description": "Payment Description",
"externalReference": "4ebd0208-8328-5d69-8c44-ec50939c0967",
"status": "INACTIVE",
"previousStatus": "ACTIVE",
"isMultiUse": false,
"expiresAt": "2025-01-31T23:59:59.000Z",
"amount": 129.9,
"currency": "USD",
"url": "https://app.sxdigitalpay.com/quote/[merchantShortName]/[paymentLinkId]",
"shortUrl": "https://sxpay.me/[paymentLinkShortId]",
"metadata": null,
"createdAt": "2024-12-05T18:20:00.000Z"
}
}'