The Simiz Django package provides a batteries-included way to integrate mobile money payments into your Django application. It includes models for tracking transactions, URL routing for webhooks, and a clean Python API for creating payments.

Prerequisites

You need your Simiz API keys before configuring the package. Find them in Dashboard > Settings > API Keys.

Installation

1

Install the package

2

Add to INSTALLED_APPS

3

Include URLs

This registers the webhook endpoint at /simiz/webhook/.
4

Configure settings

Add the following to your Django settings:
5

Run migrations

This creates the SimizTransaction model for tracking payment records.

Configuration

Usage

Creating a transaction

Checking transaction status

Processing refunds

Webhook handling

The package automatically handles webhook signature verification. Create a signal receiver to process events:

SimizTransaction model

The package includes a SimizTransaction model that automatically records all transactions:

Supported payment methods

Supported currencies

Webhook events

Test mode

Set the following environment variables:
The package connects to sandbox.api.simiz.io and no real money is charged.

Full sandbox documentation

See all test numbers and scenarios in the Sandbox Testing guide.

Troubleshooting

Solutions:
  • Verify SIMIZ_WEBHOOK_SECRET in your settings
  • Ensure the webhook URL is /simiz/webhook/ (with trailing slash)
  • Add the webhook endpoint to CSRF_EXEMPT_URLS or use the @csrf_exempt decorator

Next steps

Webhook Verification

Learn about webhook configuration and signature verification.

API Reference

Explore the full Simiz API.

Sandbox Testing

Test all payment scenarios before going live.

Support

Need help? Contact our support team.

Changelog

Version history