Commit Graph
158 Commits
Author SHA1 Message Date
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-mk 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-mk 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
Alfred-mk 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
alfred-mk a354371a94 add the IncludeStablesParam config 2025-05-21 15:40:56 +03:00
alfred-mk 857f564aae Fix: remove the unused publicKey from the GetPoolSwappableVouchers 2025-05-21 15:22:31 +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 e6677015d9 use the latest ussd-data-service 2025-05-19 10:36:47 +03:00
alfred-mk 050998ff82 added CheckTokenInPool to the account_service and test utils 2025-05-17 14:45:12 +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 f101ffd4c9 added a model for TokenInPoolResult 2025-05-17 14:36:26 +03:00
alfred-mk 8b2bd72143 format document 2025-05-17 14:35:53 +03:00
alfred-mk 3b85167ad8 Merge branch 'master' into pool-swap-endpoints 2025-05-16 12:43:26 +03:00
carlos 5d221b8d56 Merge pull request 'sms-address-pin-reset' (#14) from sms-address-pin-reset into master
Reviewed-on: #14
2025-04-28 10:27:11 +02:00
Carlosokumu 341901ec83 match new external sms endpoint 2025-04-28 11:26:13 +03:00
Carlosokumu ed416c57c7 chore: rename EXTRA_SMS_BASE to EXTERNAL_SMS_BASE 2025-04-28 11:15:11 +03:00
Carlosokumu 6fc99661f7 chore: remove extra underscore in EXTRA_SMS_BASE env identifier 2025-04-28 11:08:39 +03:00
Carlosokumu d509477de3 remove accidentallypushed bearer token 2025-04-28 11:03:34 +03:00
Carlosokumu 4ea8fd1f04 chore: rename extrasms prefixes to external sms 2025-04-28 10:56:05 +03:00
Carlosokumu 5c0ed48e67 add required sms methods 2025-04-17 23:14:42 +03:00
Carlosokumu 5ff139b649 add expected accountservice methods 2025-04-17 23:07:33 +03:00
Carlosokumu 86cfb9c020 match expected method signature 2025-04-17 22:18:30 +03:00
Carlosokumu 58366274c3 add required AccountService methods 2025-04-17 18:58:12 +03:00
Carlosokumu b85511e436 implement SendPINResetSMS and SendAddressSMS 2025-04-17 18:57:24 +03:00
Carlosokumu a243fe8c29 add SendAddressSMS and SendPINResetSMS 2025-04-17 18:57:02 +03:00
Carlosokumu 492b101aa4 setup extra sms api endpoints 2025-04-17 18:56:20 +03:00
Alfred-mk 34957e5b6f Merge pull request 'sms-upsell-api' (#10) from sms-api into master
Reviewed-on: #10
2025-04-11 10:06:08 +02:00