A Checkout Session represents a Monime-hosted payment flow where customers complete purchases for a defined set of items.
It is designed for e-commerce and embedded payment scenarios where merchants want a simple, secure way to accept payments across multiple channels without building the payment UI themselves.Unlike direct API-based payments, a Checkout Session aggregates multiple payment methods — such as Mobile Money, Card, and Bank Transfers — and presents them in a unified checkout experience.
E-Commerce Cart Checkout
A customer selects items in a cart. The merchant creates a Hosted Checkout Session, and Monime presents Mobile Money, Card, and Bank options in one unified flow.
Embedded SaaS Billing
A SaaS platform embeds a Hosted Checkout Session to bill users. Customers pick their preferred channel (Card, MoMo, Bank), and once payment is confirmed, the SaaS receives checkout_session.completed.
QR or Link-Based Payment
Merchants generate a checkout session link or QR code. Customers open the hosted page and choose any available payment method.
Fallback Across Methods
If a user’s card payment fails, they can seamlessly retry with Mobile Money — all within the same checkout session.
The URL to redirect the customer to if they cancel the checkout process before completing payment. This typically returns the user to your site or app with context about the cancellation.
The URL to redirect the customer to after successfully completing the checkout. Typically used to confirm the order or show a success message on your site or app.
Container for the list of items included in the checkout session. Each item represents a product or service being purchased, along with its quantity and pricing.
Array of individual line items representing products or services included in the checkout session. Each item specifies details like name, quantity, and unit price.