{"id":20051743,"url":"https://github.com/seerbit/seerbit-dotnet","last_synced_at":"2025-11-05T14:02:14.217Z","repository":{"id":37896493,"uuid":"357949661","full_name":"seerbit/seerbit-dotnet","owner":"seerbit","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-14T19:42:18.000Z","size":2033,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T21:07:15.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seerbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-14T15:15:33.000Z","updated_at":"2022-06-14T19:42:21.000Z","dependencies_parsed_at":"2022-08-20T01:41:36.058Z","dependency_job_id":null,"html_url":"https://github.com/seerbit/seerbit-dotnet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seerbit","download_url":"https://codeload.github.com/seerbit/seerbit-dotnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241482036,"owners_count":19969847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T12:05:38.976Z","updated_at":"2025-11-05T14:02:09.175Z","avatar_url":"https://github.com/seerbit.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n \u003cimg width=\"400\" valign=\"top\" src=\"https://assets.seerbitapi.com/images/seerbit_logo_type.png\"\u003e\n\u003c/div\u003e\n\n# seerbit-dotnet\n\nFeatures\nThe Library supports all APIs under the following services:\n\nPayment via API (card and account)\nDisputes\nRefunds\nTransaction Status\nGetting Started\nA full getting started guide for integrating SeerBit can be found at getting started docs.\n\nDocumentation\nThe documentation, installation guide, detailed description of the SeerBit API and all of its features is available on the documentation website\n\nRequirements\nDontNet core verson 21.\nInstallation\n\nAdd this dependency to your startup file:\n\n    services.AddScoped\u003cIAccount, AccountService\u003e();\n    services.AddScoped\u003cIAuthentication, AuthenticationService\u003e();\n    services.AddScoped\u003cIAuthorise, AuthoriseService\u003e();\n    services.AddScoped\u003cICard, CardService\u003e();\n    services.AddScoped\u003cIMomo, MomoService\u003e();\n    services.AddScoped\u003cINon3DS, Non3DSService\u003e();\n    services.AddScoped\u003cIOrderCheckOut, OrderCheckOutService\u003e();\n    services.AddScoped\u003cIPaymentMethod, PaymentMethodService\u003e();\n    services.AddScoped\u003cIPreAuthorization, PreAuthorizationService\u003e();\n    services.AddScoped\u003cIRecurrent, RecurrentService\u003e();\n    services.AddScoped\u003cIStandardCheckOut, StandardCheckOutService\u003e();\n    services.AddScoped\u003cITokenize, TokenizeService\u003e();\n    services.AddHttpClient\u003cInterchange\u003e();\n    services.Configure\u003cSeerBitSettingsModel\u003e(Configuration.GetSection(\"seerBitSettings\"));\n\nAdd this dependency to your appsetting file:\n\n    \"seerBitSettings\": \n    {\n        \"TestBaseUrl\": \"https://seerbitapi.com/api/v2/\",\n        \"LiveBaseUrl\": \"https://seerbitapi.com/api/v2/\",\n        \"PilotBaseUrl\": \"https://seerbitapi.com/api/v2/\",\n        \"Environment\": \"TEST\"\n    }\n\nContributing\nYou can contribute to this repository so that anyone can benefit from it:\n\nImproved features\nResolved bug fixes and issues\nExamples\nYou can also check the src/main/java/com/seerbit/demo folder in this repository for more examples of usage.\n\nUsing the Library\n\nInitiate Account Transaction\nInstantiate a client and set the parameters. Then perform service authentication by instantiating the authentication service object and passing the client to it in its constructor. Retrieve your token by calling the getToken() method.\n        \nprivate readonly IAuthentication _IAuthentication;\nprivate readonly IStandardCheckOut _IStandardCheckOut;\n\n    public ClassConstructor(IAuthentication iAuthentication, IStandardCheckOut iStandardCheckOut)\n    {\n         _IAuthentication = iAuthentication;\n         this._IStandardCheckOut = iStandardCheckOut;\n    }\n\n    public async Task\u003cstring\u003e TestMethod()\n    {\n     var token = await _IAuthentication.Token(privateKey, publicKey);\n\n//After retrieving your token following authentication proceed to pass it to the StandardCheckOut constructor along with your client object. You can then construct your payload and call the Payment() method of the StandardCheckOut class.\n\n     var request = new StandardCheckPaymentRequest\n                {\n                    amount = \"\",\n                    callbackUrl = \"\",\n                    country = \"\",\n                    currency = \"\",\n                    email = \"\",\n                    hashType = \"\",\n                    paymentReference = \"\",\n                    productDescription = \"\",\n                    productId = \"\",\n                    publicKey = \"\"\n                };\n     \n     var result = await this._IStandardCheckOut.Payment(request, token);\n     return result;\n   }\n  \nFind more examples here.\n\nLicence\nGNU General Public License. For more information, see the LICENSE file.\n\nWebsite\nhttps://seerbit.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseerbit%2Fseerbit-dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseerbit%2Fseerbit-dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseerbit%2Fseerbit-dotnet/lists"}