- create a new request
- convert the request to json
- create a new request
- set the headers
- create a new client
- send the request
- read the response
- convert the response to json
- print the response
for these three
ConversationID:
OriginatorCoversationID:
ResponseDescription:
- all credentials in this code are test credentials.
- Use your own access token
- Create CustomerPayBillOnline credentials from the APIs tab on the daraja developer portal
- You can change the method from CustomerPayBillOnline to CustomerBuyGoodsOnline on line 31 of main.go