183 Commits

Author SHA1 Message Date
Alfred Kamanda
71aa5ce7b5 use the correct URL for the pool deposit 2026-02-07 18:07:52 +03:00
0836a8eeba Merge pull request 'mpesa-onramp' (#20) from mpesa-onramp into master
Reviewed-on: #20
2026-02-07 16:04:22 +01:00
Alfred Kamanda
45469d4ba3 added the GetMpesaOnrampRates function 2025-12-02 11:51:12 +03:00
Alfred Kamanda
ea659ec25e added configs for the Mpesa exchange rates 2025-12-02 11:50:18 +03:00
Alfred Kamanda
bfdeef1255 use the default go-vise versions 2025-11-28 10:12:48 +03:00
Alfred Kamanda
dda1d0d9db added the MpesaTriggerOnramp function 2025-11-28 09:42:35 +03:00
Alfred Kamanda
a865a3ba2d added support for passing different bearer tokens 2025-11-28 09:33:57 +03:00
Alfred Kamanda
e11b297ae7 added MpesaOnrampURL configs 2025-11-28 09:32:53 +03:00
Alfred Kamanda
4265fde9b7 added the mpesa onramp API response 2025-11-28 09:29:57 +03:00
04f33d0b6c Merge pull request 'added the grassrootseconomics/go-vise package to sarafu-api' (#16) from update-go-vise into master
Reviewed-on: #16
2025-11-19 11:22:28 +01:00
Alfred Kamanda
74e5fb016c Merge branch 'master' into update-go-vise 2025-11-18 13:11:54 +03:00
0f3e084a53 Merge pull request 'credit-send-endpoints' (#19) from credit-send-endpoints into master
Reviewed-on: #19
2025-11-18 11:11:00 +01:00
Alfred Kamanda
fe897cca84 added the GetCreditSendReverseQuote to tests 2025-10-28 11:34:21 +03:00
Alfred Kamanda
7eaa771eb4 added the GetCreditSendReverseQuote function 2025-10-28 11:33:17 +03:00
Alfred Kamanda
72af514cf3 added the CreditSendReverseQouteResult type for API responses 2025-10-28 11:32:51 +03:00
Alfred Kamanda
81ff6c4034 added the CreditSendReverseQuote prefix and URL 2025-10-28 11:32:03 +03:00
Alfred Kamanda
a705443786 added a comment to describe the use of the TestAccountService 2025-10-28 11:10:48 +03:00
Alfred Kamanda
af76541c86 added the USD voucher to the TokenHoldings 2025-10-28 11:09:33 +03:00
Alfred Kamanda
75a7ec6b32 correct the spelling of toTokenAddress 2025-10-28 11:06:01 +03:00
Alfred Kamanda
3e82e16923 added the GetCreditSendMaxLimit to tests 2025-10-28 11:04:43 +03:00
Alfred Kamanda
c11060648d added the CreditSendLimitsResult type for the API responses 2025-10-28 11:04:12 +03:00
Alfred Kamanda
01569b9b39 added the GetCreditSendMaxLimit function 2025-10-28 11:03:08 +03:00
Alfred Kamanda
96c323f202 added the CreditSendPrefix and URL 2025-10-28 11:02:33 +03:00
2731a787e3 Merge pull request 'handle-error-codes' (#18) from handle-error-codes into master
Reviewed-on: #18 and is working on prod
2025-10-27 11:29:55 +01:00
Alfred Kamanda
532547899f include the error code 2025-10-22 11:46:13 +03:00
Alfred Kamanda
6f7802b58c modify doRequest() to return APIError on err 2025-10-21 15:05:22 +03:00
Alfred Kamanda
73e6220a8c create a custom error struct that carries both fields from the API 2025-10-21 15:02:36 +03:00
8d4fbb9c2e Merge pull request 'Normalize symbols before returning' (#17) from sanitize-symbols into master
Reviewed-on: #17

Merged after successful tests
2025-10-06 11:02:42 +02:00
Alfred Kamanda
61410b2b29 Normalize symbols before returning 2025-10-06 11:43:25 +03:00
Alfred Kamanda
3c8e3d1bc8 added the grassrootseconomics/go-vise package to sarafu-api 2025-08-19 12:43:50 +03:00
c44ac0116f Merge pull request 'update-alias' (#15) from update-alias into master
Reviewed-on: #15
2025-08-19 11:35:23 +02:00
alfred-mk
814bef2b20 fix: have the same order of received variables 2025-07-01 00:49:12 +03:00
alfred-mk
12940bb5f2 fix: use the correct PUT request method 2025-07-01 00:36:06 +03:00
alfred-mk
50ee455e70 fix: use the correct AliasUpdateURL 2025-07-01 00:31:35 +03:00
alfred-mk
57ee409f96 add UpdateAlias to the DevAccountService and mocks 2025-06-26 09:54:19 +03:00
alfred-mk
49a8184d02 add the UpdateAlias function 2025-06-26 09:53:26 +03:00
alfred-mk
9a6ab7e6e2 add the endpoint for updating the alias 2025-06-26 09:52:31 +03:00
d177942bd2 Merge pull request 'pool-swap-endpoints' (#11) from pool-swap-endpoints into master
Reviewed-on: #11
2025-06-26 07:58:53 +02:00
alfred-mk
339ba854c9 fix: correctly unmarshal nested pool details response in retrievePoolDeta 2025-06-24 12:07:44 +03:00
alfred-mk
5aa032400c update the alias endpoints 2025-06-24 10:48:30 +03:00
alfred-mk
7b42d509e6 log the request and response body 2025-06-23 10:50:57 +03:00
alfred-mk
d945964b0b use the TokenAddress instead of ContractAddress 2025-06-23 10:00:26 +03:00
alfred-mk
c1797e7a32 use the TokenHoldings instead of TokenDetails 2025-06-23 09:32:34 +03:00
alfred-mk
54dfe037b4 updated the ussd-data-service to tag v1.5.0-beta 2025-06-23 09:31:53 +03:00
alfred-mk
b5ccaea575 add the RetrievePoolDetails to the testutil and dev account service 2025-06-06 22:42:35 +03:00
alfred-mk
bf830e92de add the RetrievePoolDetails to the account_service 2025-06-05 20:41:08 +03:00
alfred-mk
24224e553d use the correct PoolSwapURL when performing the actual swap 2025-05-22 15:31:08 +03:00
alfred-mk
6c3719e3b6 Fix: use the correct TokenDetails in the GetPoolSwappableVouchers 2025-05-21 17:12:46 +03:00
alfred-mk
62cc5eed89 use the updated ussd-data-service 2025-05-21 17:10:25 +03:00
alfred-mk
343d30a2f2 rename the variables and read the stables param from the config 2025-05-21 15:42:06 +03:00