# Vodafone/Airtel Ghana Billing

### <mark style="color:green;">`GET`</mark> `/yourdomain`

Vodafone Ghana and Airtel have recently changed the flow of their billing. They now handle all billing confirmation; meaning the flow starts when a billing request comes in.

#### Example

```hsts
<Your DR endpoint>?ORIGINATOR=<Shortcode>&KEYWORD=<Keyword>&MESSAGE_TEXT=MNO+BILLED%3A+SILENT+BILLING+MESSAGE&CHANGED=False&VALUE=<Amount>&RCPT=2021-07-28T02%3A02%3A56.811855&RESULT=1&PROVIDER=vodafonegh&RECEIPTED=2021-07-28T02%3A02%3A56.811855&RECIPIENT=<MSISDN>&ID=<Mobivate sepcific reference ID>&SENT=2021-07-28T02%3A01%3A50
```

**Body**

| Parameter     | Type    | Example                              | Description                                                   |
| ------------- | ------- | ------------------------------------ | ------------------------------------------------------------- |
| originator    | integer | 12345                                | The associated shortcode for your service.                    |
| keyword       | string  | mv-100620006                         | Your unqiue Mobivate keyword for your service.                |
| message\_text | string  | MNO+BILLED%3A+SILENT+BILLING+MESSAGE | Your URL encoded message.                                     |
| changed       | boolean | FALSE                                | Indicates whether or not the notification has been modified.  |
| amount        | integer | 0                                    | Cost of the message.                                          |
| rcpt          | string  | 2021-07-28T02%3A02%3A56.811855       | URL encoded date timestamp of when the message was receipted. |
| result        | integer | 1                                    | Indicates the result of the message.                          |
| receipted     | string  | 2021-07-28T02%3A02%3A56.811855       | URL encoded date timestamp of when the message was receipted. |
| recipient     | integer | XX7432104492                         | The recipient you want to send this message to.               |
| id            | string  | 939ec52e333fbf124a87845d3a5d72e1     | Your unique message ID.                                       |
| sent          | string  | 2021-07-28T02%3A02%3A56.811855       | URL encoded date timestamp of when this message was sent.     |

**Output**

```json
{
 "ORIGINATOR": "61412345678",
 "KEYWORD": "mv-100620006",
 "MESSAGE_TEXT": "MNO+BILLED%3A+SILENT+BILLING+MESSAGE",
 "CHANGED": "False",
 "AMOUNT": "0",
 "RCPT": "2021-07-28T02%3A02%3A56.811855",
 "RESULT": "1",
 "RECEIPTED": "2021-07-28T02%3A02%3A56.811855",
 "RECIPIENT": "1987654",
 "ID": "939ec52e333fbf124a87845d3a5d72e1",
 "SENT": "2021-07-28T02%3A01%3A50"
}
```

<figure><img src="/files/HU5ta9mKzGeiWtcjUPPW" alt=""><figcaption><p>New Vodafone Ghana and Airtel billing diagram</p></figcaption></figure>

The next step would be to send the content Via a free SMS using the [Send SMS via HTTP method](/use-cases/send-sms-via-http-mt-example.md) mentioned previously.&#x20;

{% hint style="danger" %}
Please note the amount must be set to **0** or Vodafone will reject the message.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.mobivate.com/use-cases/vodafone-airtel-ghana-billing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
