added the GetMpesaOnrampRates function

This commit is contained in:
2025-12-02 11:51:12 +03:00
parent ea659ec25e
commit 45469d4ba3
6 changed files with 40 additions and 0 deletions

View File

@@ -5,3 +5,8 @@ type MpesaOnrampResponse struct {
Status string `json:"status"`
TransactionCode string `json:"transactionCode"`
}
type MpesaOnrampRatesResponse struct {
Buy float64 `json:"buy"`
Sell float64 `json:"sell"`
}