58 Commits

Author SHA1 Message Date
Alfred Kamanda
71aa5ce7b5 use the correct URL for the pool deposit 2026-02-07 18:07:52 +03:00
Alfred Kamanda
45469d4ba3 added the GetMpesaOnrampRates function 2025-12-02 11:51:12 +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
74e5fb016c Merge branch 'master' into update-go-vise 2025-11-18 13:11:54 +03:00
Alfred Kamanda
7eaa771eb4 added the GetCreditSendReverseQuote function 2025-10-28 11:33:17 +03:00
Alfred Kamanda
75a7ec6b32 correct the spelling of toTokenAddress 2025-10-28 11:06:01 +03:00
Alfred Kamanda
01569b9b39 added the GetCreditSendMaxLimit function 2025-10-28 11:03:08 +03: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
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
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
49a8184d02 add the UpdateAlias function 2025-06-26 09:53:26 +03: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
c1797e7a32 use the TokenHoldings instead of TokenDetails 2025-06-23 09:32:34 +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
343d30a2f2 rename the variables and read the stables param from the config 2025-05-21 15:42:06 +03:00
alfred-mk
f234d51104 Fix: update the getPoolSwappableVouchers to pass a 'stable' query parameter 2025-05-21 15:21:27 +03:00
alfred-mk
81fbc2574c Fix: use the correct getPoolSwappableVouchers 2025-05-20 15:50:35 +03:00
alfred-mk
334aa07f9f Fix: Correct JSON mapping for checkTokenInPool and getSwapFromTokenMaxLimit API responses 2025-05-20 15:48:13 +03:00
alfred-mk
ee434dba69 added CheckTokenInPool to check whether a token can be swapped from in a pool 2025-05-17 14:37:06 +03:00
alfred-mk
3b85167ad8 Merge branch 'master' into pool-swap-endpoints 2025-05-16 12:43:26 +03:00
Carlosokumu
341901ec83 match new external sms endpoint 2025-04-28 11:26:13 +03:00
Carlosokumu
b85511e436 implement SendPINResetSMS and SendAddressSMS 2025-04-17 18:57:24 +03:00
Carlosokumu
5b41c8dc64 chore: rename SendSMS to SendUpsellSMS 2025-04-01 14:55:03 +03:00
Carlosokumu
2eed990921 Merge branch 'master' into sms-api 2025-04-01 14:18:04 +03:00
Carlosokumu
064e749b04 Merge branch 'master' into pool-swap-endpoints 2025-03-19 15:22:30 +03:00
Carlosokumu
80c2493e80 implement get token pool limit,get all pool swappable vouchers 2025-03-19 12:09:52 +03:00
Carlosokumu
ee04552cbb feat: implement fetch top pools,retrieve pool details using a pool symbol 2025-03-17 20:40:19 +03:00
alfred-mk
17e89e0b88 Added the GetSwapFromTokenMaxLimit 2025-03-11 15:46:17 +03:00
alfred-mk
3b39b86d09 pass the correct arguments to the swap functions 2025-03-10 17:12:05 +03:00
alfred-mk
ba8d2a19c2 Use the DevAccountService functions to retrieve the data 2025-03-10 16:39:37 +03:00
alfred-mk
d7ae1cc096 Include the account's public key 2025-03-10 13:59:05 +03:00
Carlosokumu
8145b4bd00 fix: remove formatting to fqdn 2025-03-10 12:39:12 +03:00
Carlosokumu
dda02852bf add alias resolve logs 2025-03-10 11:49:49 +03:00
Carlosokumu
6e437cb8e0 feat: sanitize alias hint before resolving 2025-03-07 16:10:40 +03:00
Carlosokumu
4af0e9709d fix: format alias to fqdn before request 2025-03-07 16:04:15 +03:00
Carlosokumu
9c8a3df971 add logs 2025-03-07 09:45:09 +03:00
Carlosokumu
e8c58a8f33 feat: implement fetch pools,pool swappable vouchers with dummy data 2025-03-07 08:13:15 +03:00
alfred-mk
4a5de68a8c added the SendSMS func to the httpAccount service 2025-03-06 09:06:45 +03:00
Carlosokumu
a1fe416f51 implement pool deposit,swap and quote endpoints 2025-03-05 16:41:54 +03:00
Carlosokumu
1f3ac220d1 feat: request and resolve aliases. 2025-02-24 14:49:58 +03:00