Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2022 Changes in this version + func AuthToken(publicKeyString string, apiKey string) (string, error) + type C2BRequest struct + Amount string + CustomerMSISDN string + ThirdPartyReference string + TransactionReference string + type C2BResponse struct + ConversationId string + ResponseCode string + ResponseDescription string + Success bool + ThirdPartyReference string + TransactionId string + type Client struct + Config Config + func (client *Client) C2B(params C2BRequest) (C2BResponse, error) + type Config struct + ApiKey string + Host string + PublicKey string + ServiceProviderCode string + func (config *Config) SetDefaults()