Mobile Money Tanzania

Secure mobile money payments integration with Push SSD

Authentication

Secure your API requests with API key authentication.

API Key Authentication

All API requests require authentication using your unique API key. Include your API key in the request header for all API calls.

Security Warning

⚠ Never expose your API key publicly or commit it to version control.

Header Format

x-api-key: YOUR_API_KEY

Example Request

curl -X POST "https://makinisoftpay.com/api/v1/public/payments/initiate/" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "order_id": "13ff2edf-f777-471e-a314-596a7045ef3b",
    "buyer_email": "customer@example.com",
    "buyer_name": "John Doe",
    "buyer_phone": "0658989629",
    "amount": 1000
  }'

Getting Your API Key

  • Sign up or log in to your Makinisoftpay dashboard
  • Navigate to the settings section
  • Rotate a new API key and copy your generated key
  • Store the key securely in environment variables

Best Practices

  • Store API keys in environment variables
  • Use separate keys for dev and production
  • Rotate keys regularly
  • Monitor usage for unauthorized access