M-Pesa icon

M-Pesa

Consume M-Pesa Daraja 3.0 APIs

Actions12

Pull API → Query

AI-generated

Summary

Query transaction history for a specified M-Pesa shortcode within a defined date range, supporting pagination through an offset.

Inputs

  • Short Code (required) — Your M-Pesa shortcode for pull transactions
  • Start Date (required) — Start date for the transaction query range
  • End Date (required) — End date for the transaction query range
  • Offset Value (required) — Number of records to skip for pagination

Output shape

a single JSON object containing transaction history data as returned by the M-Pesa Pull API

The operation returns all transactions matching the shortcode and date range in the query, paginated by the offset value to skip records. Errors with missing credentials are signaled as node operation errors; other errors may be returned per-item if 'continue on fail' is enabled.

Links

Discussion