Documentation ¶
Index ¶
Constants ¶
View Source
const ACC_URL = "https://sandbox.safaricom.co.ke/mpesa/accountbalance/v1/query"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acc_bal_payload ¶
type Account_balance ¶
type Account_balance struct { Auth *daraja_wrapper.Auth Payload *Acc_bal_payload }
func Init ¶
func Init(key, secret string, prod bool) *Account_balance
func (*Account_balance) GetAcccountBalance ¶
func (a *Account_balance) GetAcccountBalance() (*Daraja_response, error)
type Daraja_response ¶
type Daraja_response map[string]interface{}
Click to show internal directories.
Click to hide internal directories.