MTN Group Usage Consumption Report API

The usageConsumptionReport API from MTN Group — 2 operation(s) for usageconsumptionreport.

Operations 2

GET /usageConsumptionSummary/{id} Retrieves a usage consumption summary of a subscriber #
GET /usageConsumptionDetailedReport/{id} Retrieves a usage consumption Detailed Report of a subscriber #

Documentation

📖
Documentation
https://developers.mtn.com/products/account-decisioning
📖
APIReference
https://developers.mtn.com/products/account-decisioning
📖
Documentation
https://developers.mtn.com/products/tmf-customer-bill-management
📖
APIReference
https://developers.mtn.com/products/tmf-customer-bill-management
📖
Documentation
https://developers.mtn.com/products/mtn-customer-loans-api-v1
📖
APIReference
https://developers.mtn.com/products/mtn-customer-loans-api-v1
📖
Documentation
https://developers.mtn.com/products/subscriber-details
📖
APIReference
https://developers.mtn.com/products/subscriber-details
📖
Documentation
https://developers.mtn.com/products/subscriber-type
📖
APIReference
https://developers.mtn.com/products/subscriber-type
📖
Documentation
https://developers.mtn.com/products/provisioning
📖
APIReference
https://developers.mtn.com/products/provisioning
📖
Documentation
https://developers.mtn.com/products/unified-balance-v1
📖
APIReference
https://developers.mtn.com/products/unified-balance-v1
📖
Documentation
https://developers.mtn.com/products/tmf-resourceinventorymanagement-tmf639
📖
APIReference
https://developers.mtn.com/products/tmf-resourceinventorymanagement-tmf639
📖
Documentation
https://developers.mtn.com/products/sales-management
📖
APIReference
https://developers.mtn.com/products/sales-management
📖
Documentation
https://developers.mtn.com/products/service-activation-and-configuration
📖
APIReference
https://developers.mtn.com/products/service-activation-and-configuration
📖
Documentation
https://developers.mtn.com/products/service-ordering
📖
APIReference
https://developers.mtn.com/products/service-ordering
📖
Documentation
https://developers.mtn.com/products/bss-tt-oauth-v1
📖
APIReference
https://developers.mtn.com/products/bss-tt-oauth-v1
📖
Documentation
https://developers.mtn.com/products/balance-management-v1
📖
APIReference
https://developers.mtn.com/products/balance-management-v1
📖
Documentation
https://developers.mtn.com/products/callmeback-v1
📖
APIReference
https://developers.mtn.com/products/callmeback-v1
📖
Documentation
https://developers.mtn.com/products/callmeback-v2
📖
APIReference
https://developers.mtn.com/products/callmeback-v2
📖
Documentation
https://developers.mtn.com/products/rcs-communication
📖
APIReference
https://developers.mtn.com/products/rcs-communication
📖
Documentation
https://developers.mtn.com/products/communication-management-v1
📖
APIReference
https://developers.mtn.com/products/communication-management-v1
📖
Documentation
https://developers.mtn.com/products/tmf681-communication-management
📖
APIReference
https://developers.mtn.com/products/tmf681-communication-management
📖
Documentation
https://developers.mtn.com/products/ayo-preapproval
📖
APIReference
https://developers.mtn.com/products/ayo-preapproval
📖
Documentation
https://developers.mtn.com/products/content-push
📖
APIReference
https://developers.mtn.com/products/content-push
📖
Documentation
https://developers.mtn.com/products/mtn-customer-bill-management
📖
APIReference
https://developers.mtn.com/products/mtn-customer-bill-management
📖
Documentation
https://developers.mtn.com/products/customer-billing-token-v1
📖
APIReference
https://developers.mtn.com/products/customer-billing-token-v1
📖
Documentation
https://developers.mtn.com/products/mtn-nigeria-data-gifting-v1
📖
APIReference
https://developers.mtn.com/products/mtn-nigeria-data-gifting-v1
📖
Documentation
https://developers.mtn.com/products/mtn-nigeria-customer-datashare
📖
APIReference
https://developers.mtn.com/products/mtn-nigeria-customer-datashare
📖
Documentation
https://developers.mtn.com/products/customer-delivery-booking
📖
APIReference
https://developers.mtn.com/products/customer-delivery-booking
📖
Documentation
https://developers.mtn.com/products/customer-identification-v1
📖
APIReference
https://developers.mtn.com/products/customer-identification-v1
📖
Documentation
https://developers.mtn.com/products/kyc-consent
📖
APIReference
https://developers.mtn.com/products/kyc-consent
📖
Documentation
https://developers.mtn.com/products/customer-loyalty-management
📖
APIReference
https://developers.mtn.com/products/customer-loyalty-management
📖
Documentation
https://developers.mtn.com/products/customer-management-coe-za-preprod
📖
APIReference
https://developers.mtn.com/products/customer-management-coe-za-preprod
📖
Documentation
https://developers.mtn.com/products/customer-pin-management-v2
📖
APIReference
https://developers.mtn.com/products/customer-pin-management-v2
📖
Documentation
https://developers.mtn.com/products/customer-promotion
📖
APIReference
https://developers.mtn.com/products/customer-promotion
📖
Documentation
https://developers.mtn.com/products/customer-survey
📖
APIReference
https://developers.mtn.com/products/customer-survey
📖
Documentation
https://developers.mtn.com/products/customer-data-transfer-ng-prod
📖
APIReference
https://developers.mtn.com/products/customer-data-transfer-ng-prod
📖
Documentation
https://developers.mtn.com/products/mtn-customer-datatransfer
📖
APIReference
https://developers.mtn.com/products/mtn-customer-datatransfer
📖
Documentation
https://developers.mtn.com/products/device-swap-v1
📖
APIReference
https://developers.mtn.com/products/device-swap-v1
📖
Documentation
https://developers.mtn.com/products/tmf-720-digital-identity-management
📖
APIReference
https://developers.mtn.com/products/tmf-720-digital-identity-management
📖
Documentation
https://developers.mtn.com/products/digital-partner-management
📖
APIReference
https://developers.mtn.com/products/digital-partner-management
📖
Documentation
https://developers.mtn.com/products/document-managment
📖
APIReference
https://developers.mtn.com/products/document-managment
📖
Documentation
https://developers.mtn.com/products/tmf-document-management-tmf667
📖
APIReference
https://developers.mtn.com/products/tmf-document-management-tmf667
📖
Documentation
https://developers.mtn.com/products/tmf688-event-management
📖
APIReference
https://developers.mtn.com/products/tmf688-event-management
📖
Documentation
https://developers.mtn.com/products/eec-token-management
📖
APIReference
https://developers.mtn.com/products/eec-token-management
📖
Documentation
https://developers.mtn.com/products/insurance
📖
APIReference
https://developers.mtn.com/products/insurance
📖
Documentation
https://developers.mtn.com/products/iot-device-management
📖
APIReference
https://developers.mtn.com/products/iot-device-management
📖
Documentation
https://developers.mtn.com/products/hcm-v1
📖
APIReference
https://developers.mtn.com/products/hcm-v1
📖
Documentation
https://developers.mtn.com/products/logback-v1
📖
APIReference
https://developers.mtn.com/products/logback-v1
📖
Documentation
https://developers.mtn.com/products/tmf-loyalty-management-tmf658
📖
APIReference
https://developers.mtn.com/products/tmf-loyalty-management-tmf658
📖
Documentation
https://developers.mtn.com/products/rcs-capability
📖
APIReference
https://developers.mtn.com/products/rcs-capability
📖
Documentation
https://developers.mtn.com/products/medallia-sms-v2
📖
APIReference
https://developers.mtn.com/products/medallia-sms-v2
📖
Documentation
https://developers.mtn.com/products/advertising-v2
📖
APIReference
https://developers.mtn.com/products/advertising-v2
📖
Documentation
https://developers.mtn.com/products/mtn-advertising-api-v1
📖
APIReference
https://developers.mtn.com/products/mtn-advertising-api-v1
📖
Documentation
https://developers.mtn.com/products/mobile-customer-information
📖
APIReference
https://developers.mtn.com/products/mobile-customer-information
📖
Documentation
https://developers.mtn.com/products/withdrawals-v1
📖
APIReference
https://developers.mtn.com/products/withdrawals-v1
📖
Documentation
https://developers.mtn.com/products/momo-verification
📖
APIReference
https://developers.mtn.com/products/momo-verification
📖
Documentation
https://developers.mtn.com/products/ayoaccountholderinfo
📖
APIReference
https://developers.mtn.com/products/ayoaccountholderinfo
📖
Documentation
https://developers.mtn.com/products/agent-profile
📖
APIReference
https://developers.mtn.com/products/agent-profile
📖
Documentation
https://developers.mtn.com/products/customer-account-management-v1
📖
APIReference
https://developers.mtn.com/products/customer-account-management-v1
📖
Documentation
https://developers.mtn.com/products/mtn-customer-kyc-api-v1-product
📖
APIReference
https://developers.mtn.com/products/mtn-customer-kyc-api-v1-product
📖
Documentation
https://developers.mtn.com/products/customer-kyc-verification
📖
APIReference
https://developers.mtn.com/products/customer-kyc-verification
📖
Documentation
https://developers.mtn.com/products/loans-v2
📖
APIReference
https://developers.mtn.com/products/loans-v2
📖
Documentation
https://developers.mtn.com/products/mtn-customer-locations-api-v1
📖
APIReference
https://developers.mtn.com/products/mtn-customer-locations-api-v1
📖
Documentation
https://developers.mtn.com/products/customer-management
📖
APIReference
https://developers.mtn.com/products/customer-management
📖
Documentation
https://developers.mtn.com/products/mtn-customer-plans-api-v2
📖
APIReference
https://developers.mtn.com/products/mtn-customer-plans-api-v2
📖
Documentation
https://developers.mtn.com/products/mtn-customer-profiles-api-v2-product
📖
APIReference
https://developers.mtn.com/products/mtn-customer-profiles-api-v2-product
📖
Documentation
https://developers.mtn.com/products/risk-management
📖
APIReference
https://developers.mtn.com/products/risk-management
📖
Documentation
https://developers.mtn.com/products/mtn-customer-score
📖
APIReference
https://developers.mtn.com/products/mtn-customer-score
📖
Documentation
https://developers.mtn.com/products/simverification
📖
APIReference
https://developers.mtn.com/products/simverification
📖
Documentation
https://developers.mtn.com/products/mtn-subscription-api-v2
📖
APIReference
https://developers.mtn.com/products/mtn-subscription-api-v2
📖
Documentation
https://developers.mtn.com/products/g2m
📖
APIReference
https://developers.mtn.com/products/g2m
📖
Documentation
https://developers.mtn.com/products/oauth-v1
📖
APIReference
https://developers.mtn.com/products/oauth-v1
📖
Documentation
https://developers.mtn.com/products/merchant-provisioning-v1
📖
APIReference
https://developers.mtn.com/products/merchant-provisioning-v1
📖
Documentation
https://developers.mtn.com/products/mtn-sms-api-v1
📖
APIReference
https://developers.mtn.com/products/mtn-sms-api-v1
📖
Documentation
https://developers.mtn.com/products/ussd
📖
APIReference
https://developers.mtn.com/products/ussd
📖
Documentation
https://developers.mtn.com/products/mtn-product-offering-api-v2
📖
APIReference
https://developers.mtn.com/products/mtn-product-offering-api-v2
📖
Documentation
https://developers.mtn.com/products/mtn-product-offering-api-v3
📖
APIReference
https://developers.mtn.com/products/mtn-product-offering-api-v3
📖
Documentation
https://developers.mtn.com/products/mtn-ng-retailer-productivity-tracking-v1
📖
APIReference
https://developers.mtn.com/products/mtn-ng-retailer-productivity-tracking-v1
📖
Documentation
https://developers.mtn.com/products/tmf633-shopping-cart-management
📖
APIReference
https://developers.mtn.com/products/tmf633-shopping-cart-management
📖
Documentation
https://developers.mtn.com/products/siebel
📖
APIReference
https://developers.mtn.com/products/siebel
📖
Documentation
https://developers.mtn.com/products/tmf-party-management
📖
APIReference
https://developers.mtn.com/products/tmf-party-management
📖
Documentation
https://developers.mtn.com/products/tmf-usage-management-tmf635
📖
APIReference
https://developers.mtn.com/products/tmf-usage-management-tmf635
📖
Documentation
https://developers.mtn.com/products/usage-management
📖
APIReference
https://developers.mtn.com/products/usage-management
📖
Documentation
https://developers.mtn.com/products/mtnid-getinfo
📖
APIReference
https://developers.mtn.com/products/mtnid-getinfo
📖
Documentation
https://developers.mtn.com/products/notification-production
📖
APIReference
https://developers.mtn.com/products/notification-production
📖
Documentation
https://developers.mtn.com/products/notification-v2
📖
APIReference
https://developers.mtn.com/products/notification-v2
📖
Documentation
https://developers.mtn.com/products/order-fulfillment
📖
APIReference
https://developers.mtn.com/products/order-fulfillment
📖
Documentation
https://developers.mtn.com/products/tmf-party-interaction-tmf683
📖
APIReference
https://developers.mtn.com/products/tmf-party-interaction-tmf683
📖
Documentation
https://developers.mtn.com/products/mtn-party-management
📖
APIReference
https://developers.mtn.com/products/mtn-party-management
📖
Documentation
https://developers.mtn.com/products/rwanda-party-management
📖
APIReference
https://developers.mtn.com/products/rwanda-party-management
📖
Documentation
https://developers.mtn.com/products/payment-methods-management-sa
📖
APIReference
https://developers.mtn.com/products/payment-methods-management-sa
📖
Documentation
https://developers.mtn.com/products/payments-v1
📖
APIReference
https://developers.mtn.com/products/payments-v1
📖
Documentation
https://developers.mtn.com/products/tmf-prepay-balance-management-tmf654
📖
APIReference
https://developers.mtn.com/products/tmf-prepay-balance-management-tmf654
📖
Documentation
https://developers.mtn.com/products/product-catalog-coe
📖
APIReference
https://developers.mtn.com/products/product-catalog-coe
📖
Documentation
https://developers.mtn.com/products/product-catalog-management-v1
📖
APIReference
https://developers.mtn.com/products/product-catalog-management-v1
📖
Documentation
https://developers.mtn.com/products/product-catalogue-management
📖
APIReference
https://developers.mtn.com/products/product-catalogue-management
📖
Documentation
https://developers.mtn.com/products/tmf-product-catalog-tmf620
📖
APIReference
https://developers.mtn.com/products/tmf-product-catalog-tmf620
📖
Documentation
https://developers.mtn.com/products/product-ordering-coe
📖
APIReference
https://developers.mtn.com/products/product-ordering-coe
📖
Documentation
https://developers.mtn.com/products/tmf-product-ordering-tmf622
📖
APIReference
https://developers.mtn.com/products/tmf-product-ordering-tmf622
📖
Documentation
https://developers.mtn.com/products/resource-config-v1
📖
APIReference
https://developers.mtn.com/products/resource-config-v1
📖
Documentation
https://developers.mtn.com/products/tmf-resource-ordering-tmf652
📖
APIReference
https://developers.mtn.com/products/tmf-resource-ordering-tmf652
📖
Documentation
https://developers.mtn.com/products/tmf-service-activation-tmf678
📖
APIReference
https://developers.mtn.com/products/tmf-service-activation-tmf678
📖
Documentation
https://developers.mtn.com/products/job-card-management
📖
APIReference
https://developers.mtn.com/products/job-card-management
📖
Documentation
https://developers.mtn.com/products/ticket
📖
APIReference
https://developers.mtn.com/products/ticket
📖
Documentation
https://developers.mtn.com/products/mtn-sms-interface
📖
APIReference
https://developers.mtn.com/products/mtn-sms-interface
📖
Documentation
https://developers.mtn.com/products/sms-v3-api
📖
APIReference
https://developers.mtn.com/products/sms-v3-api
📖
Documentation
https://developers.mtn.com/products/sim-management-staging
📖
APIReference
https://developers.mtn.com/products/sim-management-staging
📖
Documentation
https://developers.mtn.com/products/sim-swap-verification-v1
📖
APIReference
https://developers.mtn.com/products/sim-swap-verification-v1
📖
Documentation
https://developers.mtn.com/products/subscriber-management
📖
APIReference
https://developers.mtn.com/products/subscriber-management
📖
Documentation
https://developers.mtn.com/products/taxation-v1
📖
APIReference
https://developers.mtn.com/products/taxation-v1
📖
Documentation
https://developers.mtn.com/products/tmf-trouble-ticket-tmf621
📖
APIReference
https://developers.mtn.com/products/tmf-trouble-ticket-tmf621
📖
Documentation
https://developers.mtn.com/products/tmf629-customer-management
📖
APIReference
https://developers.mtn.com/products/tmf629-customer-management
📖
Documentation
https://developers.mtn.com/products/tmf637-product-inventory
📖
APIReference
https://developers.mtn.com/products/tmf637-product-inventory
📖
Documentation
https://developers.mtn.com/products/account-management-coe
📖
APIReference
https://developers.mtn.com/products/account-management-coe
📖
Documentation
https://developers.mtn.com/products/tmf-payment-management-tmf676
📖
APIReference
https://developers.mtn.com/products/tmf-payment-management-tmf676
📖
Documentation
https://developers.mtn.com/products/resource-pool-management
📖
APIReference
https://developers.mtn.com/products/resource-pool-management
📖
Documentation
https://developers.mtn.com/products/tmf-usage-consumption-tmf677
📖
APIReference
https://developers.mtn.com/products/tmf-usage-consumption-tmf677
📖
Documentation
https://developers.mtn.com/products/usage-consumption
📖
APIReference
https://developers.mtn.com/products/usage-consumption

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mtn-group-usageconsumptionreport-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mtn-group-usageconsumptionreport-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mtn Group Usage Consumption Report API
  version: '1.0'
  description: 'Operations tagged usageConsumptionReport across 2 of this provider''s published API definitions: mtn-group-tmf-usage-consumption-tmf677.yml, mtn-group-usage-consumption.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.mtn.com/usageConsumption/v1/
tags:
- name: usageConsumptionReport
paths:
  /usageConsumptionSummary/{id}:
    get:
      operationId: retrieveUsageConsumptionSummary
      summary: Retrieves a usage consumption summary of a subscriber
      description: This operation is used to retrieve usage consumption summary/report of a subscriber.
      tags:
      - usageConsumptionReport
      parameters:
      - name: transactionId
        in: header
        required: true
        description: Client generated Id to include for tracing requests.
        x-example: 6f0bece6-7df3-4da4-af02-5e7f16e5e6fc
        schema:
          type: string
      - name: countryCode
        in: header
        required: false
        description: Will be used internally by application
        schema:
          type: string
      - name: id
        required: true
        in: path
        description: 'Subscriber ID/ MSISDN of a customer for which usage consumption report to be fetched. example: 250789123456'
        x-example: '250788123456'
        schema:
          type: string
      - name: usageType
        required: false
        in: query
        description: Type of usage concerned by the bucket, such as voice, sms, data
        schema:
          type: string
          enum:
          - All
          - mainBalance
          - currencyBalance
          - Voice
          - Data
          - SMS
      - name: senderID
        required: false
        in: query
        description: Identifies the source system which integrates with MAD API
        schema:
          type: string
      - name: queryMode
        required: false
        in: query
        description: Query mode for which the request is to be returned, pass 0 or this will be assisgned a default value(0)
        schema:
          type: string
      - name: x-origin-channel-id
        required: false
        in: header
        description: The channel consuming the API e.g. chatbot
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/ResponseUsageConsumptionSummary'
        '400':
          description: Bad Request
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Method Not allowed
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal Server Error
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - OAuth2: []
      - ApiKeyAuth: []
    servers:
    - url: https://api.mtn.com/usageConsumption/v1/
  /usageConsumptionDetailedReport/{id}:
    get:
      operationId: retrieveUsageConsumptionDetailedReport
      summary: Retrieves a usage consumption Detailed Report of a subscriber
      description: This operation is used to retrieve usage consumption Detailed report of a subscriber.
      tags:
      - usageConsumptionReport
      parameters:
      - name: transactionId
        in: header
        required: true
        description: Client generated Id to include for tracing requests.
        x-example: 6f0bece6-7df3-4da4-af02-5e7f16e5e6fc
        schema:
          type: string
      - name: countryCode
        in: header
        required: false
        description: Will be used internally by application
        schema:
          type: string
      - name: id
        required: true
        in: path
        description: 'Subscriber ID/ MSISDN of a customer for which usage consumption report to be fetched. example: 250789123456'
        x-example: '250788123456'
        schema:
          type: string
      - name: usageType
        required: true
        in: query
        description: Type of usage concerned by the bucket, such as voice, sms, data
        schema:
          type: string
          enum:
          - All
          - mainBalance
          - currencyBalance
          - Voice
          - Data
          - SMS
      - name: senderID
        required: false
        in: query
        description: Identifies the source system which integrates with MAD API
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/ResponseUsageConsumptionDetailedReport'
        '400':
          description: Bad Request
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not Found
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Method Not allowed
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal Server Error
          content:
            application/json;charset=utf-8:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - OAuth2: []
      - ApiKeyAuth: []
    servers:
    - url: https://api.mtn.com/usageConsumption/v1/
components:
  schemas:
    Error:
      type: object
      title: Error
      required:
      - status
      - message
      properties:
        timestamp:
          type: string
          format: date-time
          description: Time stamp of the error
        status:
          type: string
          description: Status/Error code returned from the provider system
        error:
          type: string
          description: Status/Error description
        message:
          type: string
          description: More error details and corrective measures
        path:
          type: string
          description: the path that caused the error
    UsageVolumeBalance:
      type: object
      description: The balance (called UsageVolumeBalance in the SID model) defines the remaining allowed product usage quantity in terms of volume, time, currency or events. It corresponds to the initial allowed usage quantity minus the usage consumed on the bucket.
      properties:
        initialValue:
          $ref: '#/components/schemas/Quantity'
          description: Numeric initial value for the bucket given in the unit (for example 1.9). This numeric value could be used for calculation for example
        usedValue:
          $ref: '#/components/schemas/Quantity'
          description: Numeric used value for the bucket given in the unit (for example 1.9). This numeric value could be used for calculation for example
        remainingValue:
          $ref: '#/components/schemas/Quantity'
          description: Numeric remaining value for the bucket given in the unit (for example 1.9). This numeric value could be used for calculation for example
        validFor:
          $ref: '#/components/schemas/TimePeriod'
          description: Balance period between a start date time and an end date time. For prepaid bucket, the period of the balance is between the  effective date of the usage consumption report generation and the end date of the bucket. For postpaid bucket, the period of the balance is between the effective date of the usage consumption report generation and the next bill date.
        currencyId:
          type: string
          description: Currency ID
          example: '1185'
        currencyName:
          type: string
          description: Name of the currency
          example: SSD
    UsageConsumptionSummary:
      type: object
      description: An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example).
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        subscriberType:
          type: string
          description: Type of subscriber such as Prepaid, Postpaid, Hybrid etc.
          enum:
          - Prepaid
          - Postpaid
          - Hybrid
        usageType:
          type: string
          description: Type of usage concerned by the bucket, such as voice, sms, data
        bucket:
          type: array
          items:
            $ref: '#/components/schemas/UsageVolumeProduct'
          description: Bucket(s) included in the offer or option subscribed.
    TimePeriod:
      type: object
      description: A period of time, either as a deadline (endDateTime only) a startDateTime only, or both
      properties:
        endDateTime:
          type: string
          format: date-time
          description: End of the time period, using IETC-RFC-3339 format
        startDateTime:
          type: string
          format: date-time
          description: Start of the time period, using IETC-RFC-3339 format. If you define a start, you must also define an end
    Quantity:
      type: object
      description: An amount in a given unit
      properties:
        amount:
          default: 1
          type: number
          format: float
          description: Numeric value in a given unit
        units:
          type: string
          description: Unit
    UsageVolumeProduct:
      type: object
      description: A bucket (called UsageVolumeProduct in the SID model) represents a quantity of usage, as 2 hours national calls or 50 sms for example. It could be either a quantity or an amount in a currency (i.e. It could represent a fixed number of SMS, MMS, minutes of calls, quantity of data, number of events as well as a specific amount in a given currency). It requires one or more network products from which usages will debit the bucket.
      properties:
        id:
          type: string
          description: Unique identifier of the bucket
        name:
          type: string
          description: Bucket name
        description:
          type: string
          description: Description of the relative entity.
        type:
          type: string
          description: This is the type of relative entity.
        bucketBalance:
          type: array
          items:
            $ref: '#/components/schemas/UsageVolumeBalance'
    UsageConsumptionDetailedReport:
      type: object
      description: An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example).
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        subscriberType:
          type: string
          description: Type of subscriber such as Prepaid, Postpaid, Hybrid etc.
          enum:
          - Prepaid
          - Postpaid
          - Hybrid
        usageType:
          type: string
          description: Type of usage concerned by the bucket, such as voice, sms, data
        bucket:
          type: array
          items:
            $ref: '#/components/schemas/Bucket'
          description: Bucket(s) included in the offer or option subscribed.
    ResponseUsageConsumptionDetailedReport:
      type: object
      required:
      - resultCode
      - resultDescription
      - transactionId
      - data
      properties:
        resultCode:
          example: '0000'
          type: string
          description: Result code. Example- '0000'
        resultDescription:
          example: Success
          type: string
          description: Result message. Example- 'Successfully processed'
        transactionId:
          example: 6f0bece6-7df3-4da4-af02-5e7f16e5e6fc
          type: string
          description: Transaction id returned by the provider system.
        data:
          type: array
          items:
            $ref: '#/components/schemas/UsageConsumptionDetailedReport'
    Bucket:
      type: object
      description: An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example).
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        remainingAmount:
          $ref: '#/components/schemas/Quantity'
          description: Remaining balance of the entity
        activationDate:
          type: string
          format: date
          description: Activation date of the entity
        expiryDate:
          type: string
          format: date
          description: Expiry date of the entity
        bundleDetails:
          type: array
          items:
            $ref: '#/components/schemas/EntityRef'
          description: Bundle(s) included in the bucket or option subscribed.
        offerDetails:
          type: array
          items:
            $ref: '#/components/schemas/EntityRef'
          description: Offer(s) included in the bundle or option subscribed.
    ResponseUsageConsumptionSummary:
      type: object
      required:
      - resultCode
      - resultDescription
      - transactionId
      - data
      properties:
        resultCode:
          example: '0000'
          type: string
          description: Result code. Example- '0000'
        resultDescription:
          example: Success
          type: string
          description: Result message. Example- 'Successfully processed'
        transactionId:
          example: 6f0bece6-7df3-4da4-af02-5e7f16e5e6fc
          type: string
          description: Transaction id returned by the provider system.
        data:
          type: array
          items:
            $ref: '#/components/schemas/UsageConsumptionSummary'
    EntityRef:
      type: object
      description: An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example).
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        remainingAmount:
          $ref: '#/components/schemas/Quantity'
          description: Remaining balance of a bucket
        activationDate:
          type: string
          format: date
          description: Activation date of the bucket
        expiryDate:
          type: string
          format: date
          description: Expiry date of the bucket
        validity:
          type: string
          description: Validity of the entity
        recurring:
          type: boolean
          default: false
          description: Nature of entity, i.e., one-time or recurring.
        recurringDate:
          type: string
          format: date
          description: Recuuring date of the entity.
    UsageVolumeBalance_2:
      type: object
      description: The balance (called UsageVolumeBalance in the SID model) defines the remaining allowed product usage quantity in terms of volume, time, currency or events. It corresponds to the initial allowed usage quantity minus the usage consumed on the bucket.
      properties:
        initialValue:
          $ref: '#/components/schemas/Quantity'
          description: Numeric initial value for the bucket given in the unit (for example 1.9). This numeric value could be used for calculation for example
        usedValue:
          $ref: '#/components/schemas/Quantity'
          description: Numeric used value for the bucket given in the unit (for example 1.9). This numeric value could be used for calculation for example
        remainingValue:
          $ref: '#/components/schemas/Quantity'
          description: Numeric remaining value for the bucket given in the unit (for example 1.9). This numeric value could be used for calculation for example
        validFor:
          $ref: '#/components/schemas/TimePeriod'
          description: Balance period between a start date time and an end date time. For prepaid bucket, the period of the balance is between the  effective date of the usage consumption report generation and the end date of the bucket. For postpaid bucket, the period of the balance is between the effective date of the usage consumption report generation and the next bill date.
    UsageConsumptionSummary_2:
      type: object
      description: 'An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example). '
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        subscriberType:
          type: string
          description: Type of subscriber such as Prepaid, Postpaid, Hybrid etc.
          enum:
          - Prepaid
          - Postpaid
          - Hybrid
        usageType:
          type: string
          description: Type of usage concerned by the bucket, such as voice, sms, data
        bucket:
          type: array
          items:
            $ref: '#/components/schemas/UsageVolumeProduct'
          description: Bucket(s) included in the offer or option subscribed.
    UsageConsumptionDetailedReport_2:
      type: object
      description: 'An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example). '
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        subscriberType:
          type: string
          description: Type of subscriber such as Prepaid, Postpaid, Hybrid etc.
          enum:
          - Prepaid
          - Postpaid
          - Hybrid
        usageType:
          type: string
          description: Type of usage concerned by the bucket, such as voice, sms, data
        bucket:
          type: array
          items:
            $ref: '#/components/schemas/Bucket_2'
          description: Bucket(s) included in the offer or option subscribed.
    Bucket_2:
      type: object
      description: 'An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example). '
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        remainingAmount:
          $ref: '#/components/schemas/Quantity'
          description: Remaining balance of the entity
        activationDate:
          type: string
          format: date
          description: Activation date of the entity
        expiryDate:
          type: string
          format: date
          description: Expiry date of the entity
        bundleDetails:
          type: array
          items:
            $ref: '#/components/schemas/EntityRef_2'
          description: Bundle(s) included in the bucket or option subscribed.
        offerDetails:
          type: array
          items:
            $ref: '#/components/schemas/EntityRef_2'
          description: Offer(s) included in the bundle or option subscribed.
    EntityRef_2:
      type: object
      description: 'An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example). '
      properties:
        id:
          type: string
          description: Unique identifier
        type:
          type: string
          description: Type of unique identifier.
        description:
          type: string
          description: Description of the entity
        name:
          type: string
          description: Name of the entity.
        remainingAmount:
          $ref: '#/components/schemas/Quantity'
          description: Remaining balance of a bucket
        activationDate:
          type: string
          format: date
          description: Activation date of the bucket
        expiryDate:
          type: string
          format: date
          description: Expiry date of the bucket
        validity:
          type: string
          description: Validity of the entity
        recurring:
          type: boolean
          default: false
          description: Nature of entity, i.e., one-time or recurring.
        recurringDate:
          type: string
          format: date
          description: Recuuring date of the entity.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: X-API-Key
      in: header
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: https://api.mtn.com/v1/oauth/access_token
x-refined-from:
- mtn-group-tmf-usage-consumption-tmf677.yml
- mtn-group-usage-consumption.yml