From 1fa8a7411f2344bc77f77fd6def7705f1e71c4f6 Mon Sep 17 00:00:00 2001 From: Jason Wu Date: Fri, 10 Oct 2025 10:59:01 +1100 Subject: [PATCH 1/2] MAPI-1637: $billingUnit parameter adding --- spec/openapi.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/openapi.yaml b/spec/openapi.yaml index f6e39e7..1f72000 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -377,7 +377,7 @@ tags: Delivery Reports may carry an additional charge. For pricing, please contact your Account Manager or Support Team (support@app.sinch.com). - To include billing units in your delivery receipts via webhook, ensure the "Show Billing Units" feature is enabled for your account. + To include billing units in your delivery receipts via webhook, ensure the switch "Enable billing units in Delivery Reports and Callbacks” is enabled in API settings in your account. For delivery reports or changes in the status of a message, the POST request to the specified URL will be as follows: @@ -3541,6 +3541,7 @@ paths: | **Message Content**| $mtContent, $messageContent, $esc.json($!mtContent) *- when used in `JSON` encoded `template`*| `Hi Derp` | `DR` `MO` `MO MMS` | | **Reply Content**| $moContent, $replyContent, $esc.json($!moContent) *- when used in `JSON` encoded `template`*| `Hello Derpina` | `MO` `MO MMS` | | **Retry Count**| $retryCount| `1` | `DR` `MO` `MO MMS` | + | **Billing Unit**| $billingUnits| `1` | `DR` | #### Message Statuses From ca02764b9430aea98c198dc133326f8bc21ec123 Mon Sep 17 00:00:00 2001 From: Jason Wu Date: Fri, 10 Oct 2025 12:04:47 +1100 Subject: [PATCH 2/2] MAPI-1637: $billingUnit parameter adding --- spec/openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/openapi.yaml b/spec/openapi.yaml index 1f72000..57da06e 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -377,7 +377,7 @@ tags: Delivery Reports may carry an additional charge. For pricing, please contact your Account Manager or Support Team (support@app.sinch.com). - To include billing units in your delivery receipts via webhook, ensure the switch "Enable billing units in Delivery Reports and Callbacks” is enabled in API settings in your account. + To include billing units in your delivery receipts via Webhooks, ensure that the switch "Enable billing units in Delivery Reports and Callbacks” is enabled in the API settings of your account. For delivery reports or changes in the status of a message, the POST request to the specified URL will be as follows: