Accept mobile money payments from your customers with the Merchant Account API. You can receive money from all the major Mobile Money providers in Ghana: MTN, Vodafone, Airtel and Tigo.

Sample Request

POST /merchants/HMXXXXXXXX/receive/mobilemoney HTTP/1.1
Host: api.hubtel.com
Accept: application/json
Content-Type: application/json
Authorization: Basic endjeLsBe8HMobnhza250G4=
Cache-Control: no-cache
{  
   "CustomerName": "Customer Name",  
   "CustomerMsisdn": "23327XXXXXXX",  
   "CustomerEmail": "customeremail@gmail.com",  
   "Channel": "tigo-gh",  
   "Amount": 0.8,  
   "PrimaryCallbackUrl": "http://myapi.hostname.com/callback",  
   "Description": "T Shirt",  
  "Token": "", #6 digit token for Vodafone cash  
  "ClientReference": "3jL2KlUy3vt21"
}

Sample Response

"ResponseCode": "0001",  
"Data": {
  "AmountAfterCharges": 2.9,    
  "TransactionId": "49aeaa6bc41b4dd3a4c525a7da3b8c05",    
  "ClientReference": "3jL2KlUy3vt21",    
  "Description": "Request has been accepted. A callback will be sent on final state.",    
  "ExternalTransactionId": "",    
  "Amount": 3,    
  "Charges": 0.1  
}


Explore the full API reference

Did this answer your question?