Daraja.B2C.Response (daraja v0.1.0)

Copy Markdown View Source

Response structs for the B2C Payment Request API.

Summary

Functions

Parses a raw response map into a Success or Error struct.

Functions

from_map(map)

Parses a raw response map into a Success or Error struct.

Note: Safaricom may return the misspelled key OriginatorCoversationID (missing the second 'n'). Both spellings are handled for resilience.