Skip to content

Accept mobile money payments

Accept mobile money payments from MTN, Telecel, and AirtelTigo customers across Ghana with real-time settlement.

Mobile money is Ghana’s dominant payment method, accounting for over 70% of digital transactions. This guide shows you how to accept payments from MTN, Telecel, and AirtelTigo wallets through a three-phase flow: create an order, confirm customer intent with an OTP, then wait for payment authorization.

How it works

Mobile money payments can require more than one customer action. Create an order with executePayment set to true, inspect order.payment.nextAction, and present the requested confirmation or authorization experience. After each action, use the returned order state to decide whether to wait, request confirmation, or consider the payment paid.

Supported networks

Inttegro integrates with all three major networks in Ghana: MTN Mobile Money (24M+ wallets), Telecel Cash (8M+ wallets), and AirtelTigo Money (6M+ wallets). Inttegro automatically routes transactions based on phone number prefix—no network-specific integration needed.

Step 1: create the order

Creating an order bundles the customer, payment method, and line items into one request. Setting executePayment to true starts payment execution; the response tells you whether customer confirmation is required.

Create mobile money order

POST/orders/create
cURLbash
curl https://api.inttegro.com/orders/create \
  -H "Authorization: Bearer $INTTEGRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "request_meta": {
    "idempotency_key": "order_momo_2025_001"
  },
  "execute_payment": true,
  "customer_data": {
    "name": "Akosua Mensah",
    "email_address": "akosua@example.com",
    "phone_number": "+233244123456"
  },
  "payment_method_data": {
    "type": "mobile_money",
    "mobile_money": {
      "network": "mtn",
      "account_number": "0244123456"
    }
  },
  "line_items": [
    {
      "type": "product",
      "product": {
        "type": "digital",
        "name": "Premium Subscription - 1 Month",
        "quantity": 1,
        "price": {
          "currency": "ghs",
          "value": 5000
        }
      }
    }
  ]
}'
TypeScripttypescript
import {
  InttegroClient,
  PaymentMethodTypes,
  MobileMoneyNetworks,
  LineItemTypes,
  ProductTypes,
} from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.orders.create({
  requestMeta: {
    idempotencyKey: "order_momo_2025_001",
  },
  executePayment: true,
  customerData: {
    name: "Akosua Mensah",
    emailAddress: "akosua@example.com",
    phoneNumber: "+233244123456",
  },
  paymentMethodData: {
    type: PaymentMethodTypes.MobileMoney,
    mobileMoney: {
      network: MobileMoneyNetworks.MTN,
      accountNumber: "0244123456",
    },
  },
  lineItems: [
    {
      type: LineItemTypes.Product,
      product: {
        type: ProductTypes.Digital,
        name: "Premium Subscription - 1 Month",
        quantity: 1,
        price: {
          currency: "ghs",
          value: 5000,
        },
      },
    },
  ],
})
Gogo
package main

import (
  "context"
  "log"
  "os"

  inttegro "github.com/inttegro/inttegro-sdk-go/v14"
  "github.com/inttegro/inttegro-sdk-go/v14/customer"
  "github.com/inttegro/inttegro-sdk-go/v14/money"
  "github.com/inttegro/inttegro-sdk-go/v14/order"
  "github.com/inttegro/inttegro-sdk-go/v14/paymentmethod"
  "github.com/inttegro/inttegro-sdk-go/v14/price"
  "github.com/inttegro/inttegro-sdk-go/v14/product"
  "github.com/inttegro/inttegro-sdk-go/v14/request"
)

func main() {
  ctx := context.Background()
  client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))

  params := order.CreateParams{
    RequestMeta: &request.Meta{
      IdempotencyKey: "order_momo_2025_001",
    },
    ExecutePayment: inttegro.Bool(true),
    CustomerData: &customer.Data{
      Name: "Akosua Mensah",
      Email: "akosua@example.com",
      PhoneNumber: "+233244123456",
    },
    PaymentMethodData: &paymentmethod.Data{
      Type: paymentmethod.TypeMobileMoney,
      MobileMoney: &paymentmethod.MobileMoneyParams{
        Network: paymentmethod.MobileMoneyNetworkMTN,
        AccountNumber: "0244123456",
      },
    },
    LineItems: []order.LineItemParams{
      {
        Type: order.LineItemTypeProduct,
        Product: &order.ProductLineItemParams{
          Type: product.TypeDigital,
          Name: "Premium Subscription - 1 Month",
          Quantity: 1,
          Price: price.InlineParams{
            AmountParams: money.AmountParams{
              Currency: money.GHS,
              Value: 5000,
            },
          },
        },
      },
    },
  }
  result, err := client.Orders.Create(ctx, params)
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

import inttegro
from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.orders.create(inttegro.order.CreateNewCustomerInput(
  request_meta=inttegro.order.CreateNewCustomerInputRequestMeta(
    idempotency_key="order_momo_2025_001",
  ),
  execute_payment=True,
  customer_data=inttegro.customer.DataInput(
    name="Akosua Mensah",
    email_address="akosua@example.com",
    phone_number="+233244123456",
  ),
  payment_method_data=inttegro.payment_method.DataInput(
    type=inttegro.payment_method.Type.MOBILE_MONEY,
    mobile_money=inttegro.payment_method.DataInputMobileMoney(
      network=inttegro.payment_method.MobileMoneyNetwork.MTN,
      account_number="0244123456",
    ),
  ),
  line_items=[
    inttegro.product.LineItemInput(
      type=inttegro.order.LineItemType.PRODUCT,
      product=inttegro.product.InlineDetailsInput(
        type=inttegro.product.Type.DIGITAL,
        name="Premium Subscription - 1 Month",
        quantity=1,
        price=inttegro.price.InlineParams(
          currency=inttegro.money.Currency.GHS,
          value=5000,
        ),
      ),
    ),
  ],
))
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->orders->create([
  'request_meta' => new \Inttegro\Request\Meta(
    idempotencyKey: 'order_momo_2025_001',
  ),
  'execute_payment' => true,
  'customer_data' => [
    'name' => 'Akosua Mensah',
    'email_address' => 'akosua@example.com',
    'phone_number' => '+233244123456',
  ],
  'payment_method_data' => [
    'type' => \Inttegro\PaymentMethodType::MobileMoney,
    'mobile_money' => [
      'network' => \Inttegro\MobileMoneyNetwork::MTN,
      'account_number' => '0244123456',
    ],
  ],
  'line_items' => [
    [
      'type' => \Inttegro\LineItemType::Product,
      'product' => [
        'type' => \Inttegro\ProductType::Digital,
        'name' => 'Premium Subscription - 1 Month',
        'quantity' => 1,
        'price' => [
          'currency' => 'ghs',
          'value' => 5000,
        ],
      ],
    ],
  ],
]);
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.orders.create(
  request_meta: Inttegro::Order::CreateNewCustomerRequestMeta.new(
    idempotency_key: "order_momo_2025_001",
  ),
  execute_payment: true,
  customer_data: {
    name: "Akosua Mensah",
    email_address: "akosua@example.com",
    phone_number: "+233244123456",
  },
  payment_method_data: {
    type: Inttegro::PaymentMethodType::MOBILE_MONEY,
    mobile_money: {
      network: Inttegro::MobileMoneyNetwork::MTN,
      account_number: "0244123456",
    },
  },
  line_items: [
    {
      type: Inttegro::LineItemType::PRODUCT,
      product: {
        type: Inttegro::ProductType::DIGITAL,
        name: "Premium Subscription - 1 Month",
        quantity: 1,
        price: {
          currency: "ghs",
          value: 5000,
        },
      },
    },
  ]
)
Javajava
import com.inttegro.Client;
import com.inttegro.orders.OrderCreateParams;
import com.inttegro.RequestMeta;
import com.inttegro.customers.CustomerData;
import com.inttegro.paymentmethods.PaymentMethodData;
import com.inttegro.paymentmethods.PaymentMethodType;
import com.inttegro.paymentmethods.MobileMoneyParams;
import com.inttegro.paymentmethods.MobileMoneyNetwork;
import com.inttegro.orders.OrderLineItemParams;
import com.inttegro.orders.ProductLineItemParams;
import com.inttegro.products.ProductType;
import com.inttegro.prices.PriceParams;
import com.inttegro.money.Currency;

public class Example {
  public static void main(String[] args) throws Exception {
    var client = new Client(System.getenv("INTTEGRO_API_KEY"));
    var params = OrderCreateParams.builder()
      .requestMeta(RequestMeta.builder()
          .idempotencyKey("order_momo_2025_001")
          .build())
      .executePayment(true)
      .customerData(CustomerData.builder()
          .name("Akosua Mensah")
          .email("akosua@example.com")
          .phoneNumber("+233244123456")
          .build())
      .paymentMethodData(PaymentMethodData.builder()
          .type(PaymentMethodType.MOBILE_MONEY)
          .mobileMoney(MobileMoneyParams.builder()
              .network(MobileMoneyNetwork.MTN)
              .accountNumber("0244123456")
              .build())
          .build())
      .lineItem(OrderLineItemParams.product(ProductLineItemParams.builder()
            .type(ProductType.DIGITAL)
            .name("Premium Subscription - 1 Month")
            .quantity(1L)
            .price(PriceParams.of(Currency.GHS, 5000))
            .build()))
      .build();
    var result = client.orders().create(params);
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Orders.CreateAsync(new OrderCreateRequest {
  RequestMeta = new RequestMeta {
    IdempotencyKey = "order_momo_2025_001",
  },
  ExecutePayment = true,
  CustomerData = new CustomerData {
    Name = "Akosua Mensah",
    EmailAddress = "akosua@example.com",
    PhoneNumber = "+233244123456",
  },
  PaymentMethodData = new PaymentMethodData {
    Type = Inttegro.PaymentMethodType.MobileMoney,
    MobileMoney = new MobileMoney {
      Network = Inttegro.MobileMoneyNetwork.MTN,
      AccountNumber = "0244123456",
    },
  },
  LineItems = new List<LineItemParams> {
    new LineItemParams {
      Type = Inttegro.LineItemType.Product,
      Product = new ProductDetailsParams {
        Type = Inttegro.ProductType.Digital,
        Name = "Premium Subscription - 1 Month",
        Quantity = 1,
        Price = new Inttegro.PriceParams {
          Currency = Inttegro.Money.Currency.GHS,
          Value = 5000,
        },
      },
    },
  },
});

Key parameters

The response includes the order, payment, and confirmation-request identifiers needed for the next action. Read payment.nextAction.confirmPayment.request.tokenSize, payment.nextAction.confirmPayment.request.sentVia, and payment.nextAction.confirmPayment.expiresAt instead of assuming fixed values.

Step 2: confirm customer intent with OTP

When payment.nextAction.type is Inttegro.PaymentNextActionTypes.ConfirmPayment, collect the token from the customer and submit it before payment.nextAction.confirmPayment.expiresAt. After confirmation, inspect the returned order again; some payments require a separate authorization action before they become paid.

Inttegro validates the token and returns the latest order state. Continue only according to order.payment.nextAction; don’t assume confirmation alone completed the charge.

Common errors:

  • confirmation_bad_token - Ask the customer for the latest token and retry the confirmation call.
  • confirmation_expired - Request a new confirmation before retrying.
  • confirmation_max_reached - Request a new confirmation because the active request has no attempts remaining.

Step 3: verify payment status

After the customer authorizes the payment with their mobile money provider, look up the order to verify completion. This typically happens within 5-15 seconds after authorization:

Check payment status

POST/orders/lookup
cURLbash
curl https://api.inttegro.com/orders/lookup \
  -H "Authorization: Bearer $INTTEGRO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "order_id": "or_abc123xyz"
}'
TypeScripttypescript
import { InttegroClient } from '@inttegro/inttegro-sdk'

const inttegro = new InttegroClient({
  apiKey: process.env.INTTEGRO_API_KEY!,
})

const result = await inttegro.orders.lookup({
  orderId: "or_abc123xyz",
})
Gogo
package main

import (
  "context"
  "log"
  "os"

  inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)

func main() {
  ctx := context.Background()
  client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))

  result, err := client.Orders.Lookup(ctx, "or_abc123xyz")
  if err != nil {
    log.Fatal(err)
  }
  _ = result
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.orders.lookup("or_abc123xyz")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->orders->lookup("or_abc123xyz");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.orders.lookup(order_id: "or_abc123xyz")
Javajava
import com.inttegro.Client;

public class Example {
  public static void main(String[] args) throws Exception {
    var client = new Client(System.getenv("INTTEGRO_API_KEY"));
    var result = client.orders().lookup("or_abc123xyz");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Orders.LookupAsync("or_abc123xyz");

Payment statuses: Inttegro.PaymentStatuses.RequiresAction while waiting for confirmation, Inttegro.PaymentStatuses.Paid after success, Inttegro.PaymentStatuses.Failed after a failed or canceled payment, and Inttegro.PaymentStatuses.Expired when the authorization window closes.

Important details

Transaction limits: MTN (GHS 5K/transaction, 10K daily), Telecel (3K/transaction, 5K daily), AirtelTigo (2K/transaction, 3K daily). Exceeding limits returns an amount_too_large error.

Order limits: Each order can contain up to 64 line items. Order totals are capped at 100,000 for "ghs" and 50,000 for all other supported currencies, measured in the currency's smallest unit. Contact support if you need these limits increased.

Settlement: Real-time to your balance, but 7-day aging period before payout eligibility (Bank of Ghana dispute window).

Pricing: 1.5% + GHS 0.50 per transaction, deducted before funds reach your balance.

Network detection: Inttegro validates that paymentMethodData.mobileMoney.network matches the phone prefix (MTN: 024/054/055/059, Telecel: 020/050, AirtelTigo: 027/057/026/056).

Next steps

You’re now accepting mobile money payments! Here’s what to explore next:

For detailed parameter documentation, see the Orders API reference.

Type to search…

↑↓ navigate↵ selectEsc close