From 7176d104772bc8eb9211887825c7415fa5bed754 Mon Sep 17 00:00:00 2001 From: Paulus Sugiarto Date: Fri, 30 Jan 2026 15:10:24 +1100 Subject: [PATCH 1/2] SUPPORT-20206: Update DR schema to include billing_units --- spec/openapi.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/spec/openapi.yaml b/spec/openapi.yaml index a734901..b568204 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -391,6 +391,7 @@ tags: "date_received":"2016-11-03T11:49:02.807Z", "status":"delivered", "delay":0, + "billing_units":1, "submitted_date":"2016-11-03T11:49:01.551Z", "original_text":"Hello world!", "message_id":"389dc1a8-62a4-4110-ba61-af94806c006f", @@ -439,6 +440,8 @@ tags: * **Message ID**: ID of the original message. * **Vendor Account ID**: The account used to submit the original message. The vendor will always be `SinchEU` + + * **Billing Units**: The number of billing units charged for the message. * **Error Code**: A status code which provides additional information about the message status: @@ -2084,7 +2087,7 @@ paths: "date_received": "2017-05-20T06:30:37.642Z", "status": "enroute", "delay": 0, - "billing_units": 0, + "billing_units": 1, "submitted_date": "2017-05-20T06:30:37.639Z", "original_text": "My first message!", "message_id": "d781dcab-d9d8-4fb2-9e03-872f07ae94ba", @@ -2104,7 +2107,7 @@ paths: "date_received": "2017-05-21T01:46:42.579Z", "status": "enroute", "delay": 0, - "billing_units": 0, + "billing_units": 1, "submitted_date": "2017-05-21T01:46:42.574Z", "original_text": "My second message!", "message_id": "fbb3b3f5-b702-4d8b-ab44-65b2ee39a281", @@ -6707,6 +6710,7 @@ components: date_received: '2017-05-20T06:30:37.642Z' status: enroute delay: 0 + billing_units: 1 submitted_date: '2017-05-20T06:30:37.639Z' original_text: My first message! message_id: d781dcab-d9d8-4fb2-9e03-872f07ae94ba @@ -6722,6 +6726,7 @@ components: date_received: '2017-05-21T01:46:42.579Z' status: submitted delay: 0 + billing_units: 1 submitted_date: '2017-05-21T01:46:42.574Z' original_text: My second message! message_id: fbb3b3f5-b702-4d8b-ab44-65b2ee39a281 From 644e7841d9dbc646d95251f4348bfc969592a8f1 Mon Sep 17 00:00:00 2001 From: Paulus Sugiarto Date: Fri, 30 Jan 2026 15:55:15 +1100 Subject: [PATCH 2/2] SUPPORT-20206: Moved billing units up in the bullet list --- spec/openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/openapi.yaml b/spec/openapi.yaml index b568204..c7d6dc6 100644 --- a/spec/openapi.yaml +++ b/spec/openapi.yaml @@ -432,6 +432,8 @@ tags: * `failed`: The message has failed. Reasons may include no active routes to destination or undeliverable by downstream provider. * **Delay**: _Deprecated, no longer in use_ + + * **Billing Units**: The number of billing units charged for the message. * **Submitted Date**: Date time status of the message changed in UTC. For a delivered DR this may indicate the time at which the message was received on the handset. @@ -440,8 +442,6 @@ tags: * **Message ID**: ID of the original message. * **Vendor Account ID**: The account used to submit the original message. The vendor will always be `SinchEU` - - * **Billing Units**: The number of billing units charged for the message. * **Error Code**: A status code which provides additional information about the message status: