lomi.

Advanced direct charges

Create direct Wave, MTN MoMo, and embedded card payments when hosted checkout is not the right fit.

Direct charge APIs are for teams that need lower-level control than hosted checkout or payment links. Keep using Checkout sessions for the default hosted flow.

When to use direct charges

Use direct charges when:

  • Your app already owns the payment UI.
  • You need to start a Wave or MTN MoMo payment from a custom flow.
  • You need embedded card collection with client-side confirmation.
  • You can handle pending, failed, cancelled, and completed states yourself.

What to build around it

Direct charge integrations should include:

  • Server-side creation with a secret key.
  • Customer-visible pending and failure states.
  • Webhook handling for final reconciliation.
  • Safe handling of any client_secret returned for embedded card flows.

On this page