Skip to content

feat(mpesa): implement B2C payment endpoint - #56

Open
wanjiru-noreen wants to merge 10 commits into
Flying-Tea-Squad:mainfrom
wanjiru-noreen:feat/B2C-Payment-endpoint
Open

wanjiru-noreen wants to merge 10 commits into
Flying-Tea-Squad:mainfrom
wanjiru-noreen:feat/B2C-Payment-endpoint

Conversation

@wanjiru-noreen

Copy link
Copy Markdown

Summary

This PR implements the M-Pesa B2C payment endpoint. It adds support for sending B2C payment requests, maps the M-Pesa response to the common paykit.Response type, and includes unit tests for the new functionality.

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Documentation

Related issue

Closes #15

Testing

Ran go test ./...

Checklist

  • Tests added or updated
  • Documentation updated
  • go test ./... passes
  • Breaking changes documented

@carsonak
carsonak force-pushed the feat/B2C-Payment-endpoint branch from ccd0782 to 2689745 Compare August 4, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement B2C Payment endpoint

2 participants