API Documentation

Getting Started

Welcome to the DigitalisPay API! Our API allows you to integrate mobile money payment processing directly into your application.

Quick Start:

  1. 1. Create an account at DigitalisPay
  2. 2. Create an application in your dashboard
  3. 3. Get your API key and secret
  4. 4. Start integrating!
Authentication

All API requests require authentication using Bearer tokens. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY
View Full API Testing Zone →
Core Endpoints

POST /api/payments

Initiate a payment transaction

GET /api/payments/:id

Retrieve payment details

POST /api/transfers

Execute fund transfers

GET /api/balance

Check account balance

POST /api/webhooks

Configure webhook endpoints

Webhooks & Events

Webhooks allow you to receive real-time notifications about transaction events. Configure your webhook URLs in the dashboard.

Webhook Events:

  • • payment.created - Payment initiated
  • • payment.successful - Payment completed
  • • payment.failed - Payment failed
  • • transfer.completed - Transfer executed
  • • transfer.failed - Transfer failed
Error Handling

The API returns standard HTTP status codes. Common errors include:

400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
429Rate Limited - Too many requests
500Server Error - Try again later
Rate Limiting

API requests are rate limited to prevent abuse. Standard limits are:

  • • 1,000 requests per minute for authenticated users
  • • 100 requests per minute for sandbox environment
  • • Contact support for higher limits
Code Examples

Check the dashboard for complete code examples in JavaScript, Python, PHP, and Go.

View Code Examples in Dashboard →
Need Help?

Our team is here to help you integrate the DigitalisPay API: