Skip to content

Callback: service activated

This endpoint is implemented by the merchant platform; the URL is configured during shop onboarding. Header xmh-hmc-signature. Success is HTTP 200 only (see authentication §4.2). The errCode in the response body is not parsed.

When a policy becomes effective, you may receive both this callback and the service-state callback (serviceState=3). Deduplicate by serviceOrderId.

For the full field reference see API reference · webhook serviceActivated. Do not send requests to the OpenAPI hosts.

Notes:

  • Includes guaranteeBegTime / guaranteeEndTime (RFC 3339).
  • insureItem is present when serviceType=PP; SP covers the whole order. Its fields follow the xmhOpenApiSdk.DItem JSON contract rather than a reduced ID-only object.
{
"platformOrderId": "6462084809006",
"serviceOrderId": "20251010XPP3310437F8F86",
"serviceType": "PP",
"guaranteeBegTime": "2026-08-04T10:15:30+08:00",
"guaranteeEndTime": "2027-08-04T10:15:30+08:00",
"insureItem": {
"itemId": "15925587542318",
"variantId": "48951949590830",
"skuId": "12345609",
"productId": "9434472513838",
"orderGoodsId": "6462084809006-item-1",
"itemName": "The Collection Snowboard: Liquid",
"ItemPicInfoMain": ["https://example.com/products/snowboard.jpg"],
"currency": "USD",
"unitNum": "1",
"isPackageItem": false,
"isPPItem": false,
"unitPrice": "100.00",
"preferentialPrice": "0.00",
"totalPrice": "100.00",
"totalPayPrice": "100.00",
"insuredPayPrice": "9.20",
"Properties": {"Color": "Black"},
"ppVariant": {
"variantId": "18DUD7SCT4800_100",
"name": "1 Year",
"price": "9.20",
"currency": "USD",
"currencySymbol": "$",
"properties": {
"Plan ID": "1 Year",
"Product": "The Collection Snowboard: Liquid",
"Reference": "15925587542318"
}
},
"serviceOrderIds": ["20251010XPP3310437F8F86"]
}
}