safaricom-static-code endpoint takes in a few fields from the request body that is a JSON:
Example request
{
"RefNo": "AERDUDSODEF",
"Amount": 1
}
But when hitting the endpoint the server requests for additional fields like MerchantName and CPI that when supplied results into 401 HTTP status code even though all the requirements for consuming the API are all supplied
safaricom-static-code endpoint takes in a few fields from the request body that is a JSON:
Example request
{ "RefNo": "AERDUDSODEF", "Amount": 1 }But when hitting the endpoint the server requests for additional fields like
MerchantNameandCPIthat when supplied results into 401 HTTP status code even though all the requirements for consuming the API are all supplied