{"id":41951407,"url":"https://github.com/jiyamathias/monnify-go","last_synced_at":"2026-01-25T21:07:32.323Z","repository":{"id":46734833,"uuid":"515604852","full_name":"jiyamathias/monnify-go","owner":"jiyamathias","description":"Golang sdk for the Monnify api","archived":false,"fork":false,"pushed_at":"2025-06-05T14:31:43.000Z","size":2682,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T00:58:55.387Z","etag":null,"topics":["golang","monnify","monnify-go"],"latest_commit_sha":null,"homepage":"https://developers.monnify.com/api","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiyamathias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-19T13:50:46.000Z","updated_at":"2025-06-05T14:30:53.000Z","dependencies_parsed_at":"2024-04-16T09:31:39.926Z","dependency_job_id":"aca6e293-0d38-4c0a-a341-17aa58da918a","html_url":"https://github.com/jiyamathias/monnify-go","commit_stats":null,"previous_names":["hisyntax/monnify-go","jiyamathias/monnify-go","iqquee/monnify-go"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jiyamathias/monnify-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiyamathias%2Fmonnify-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiyamathias%2Fmonnify-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiyamathias%2Fmonnify-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiyamathias%2Fmonnify-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiyamathias","download_url":"https://codeload.github.com/jiyamathias/monnify-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiyamathias%2Fmonnify-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28758550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T20:56:06.009Z","status":"ssl_error","status_checked_at":"2026-01-25T20:54:48.203Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["golang","monnify","monnify-go"],"created_at":"2026-01-25T21:07:30.287Z","updated_at":"2026-01-25T21:07:32.316Z","avatar_url":"https://github.com/jiyamathias.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![cover](./static/cover.gif)\n# monnify-go\nMonnify-go is a Go library that allows you to integrate the MONNIFY payment gateway into your Go project.\n\n# Please ensure to create issues in this repo if :\n- You encounter any error while using this package and that issue would be attended to immediately.\n\n# Get Started\n- In other to use this package, you need to first create an account with monnify via https://app.monnify.com/create-account \n- After your account have been successfully created, locate the developer option at the bottom left of your dashboard to get your:\n1. Api key\n2. Secret Key\n3. Contract code\n\n# Installation\nTo install this monnify package, you need to install [Go](https://golang.org/) and set your Go workspace first.\n1. You can use the below Go command to install monnify-go\n```sh\n$ go get -u github.com/jiyamathias/monnify-go\n```\n2. Import it in your code:\n```sh\nimport \"github.com/jiyamathias/monnify-go\"\n```\n## Note : All methods in this package returns three (3) things:\n- [x] An object of the response\n- [x] An error (if any)\n\n# Quick start\n```sh\n# assume the following codes in example.go file\n$ touch example.go\n# open the just created example.go file in the text editor of your choice\n```\n\n## Accept Payment\nUse this to accept payments from customers\n\n### Use this object payload to implement the AcceptPayment() method\nNote: CurrencyCode should be \"NGN\" for naira\n```go\ntype AcceptPaymentReq struct {\n\tPaymentReference    string `json:\"paymentReference\"`\n\tAmount              int    `json:\"amount\"`\n\tCurrencyCode        string `json:\"currencyCode\"`\n\tContractCode        string `json:\"contractCode\"`\n\tCustomerEmail       string `json:\"customerEmail\"`\n\tCustomerName        string `json:\"customerName\"`\n\tCustomerPhoneNumber string `json:\"customerPhoneNumber\"`\n\tRedirectUrl         string `json:\"redirectUrl\"`\n\tPaymentDescription  string `json:\"paymentDescription\"`\n}\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\n\tmonnify \"github.com/jiyamathias/monnify-go\"\n)\n\nfunc main() {\n\tapiKey := \"\"\n\tsecretKey := \"\"\n\tbaseUrl := \"https://sandbox.monnify.com\" // for test\n\tclient := monnify.New(*http.DefaultClient, baseUrl,apiKey, secretKey)\n\n\tpayload := monnify.AcceptPaymentReq{}\n\t\n\tres, err := client.AcceptPayment(payload)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t}\n\n\tfmt.Println(res)\n}\n```\n## Get Accepted Payment Status\nUse this to get accepted payment status\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\n\tmonnify \"github.com/jiyamathias/monnify-go\"\n)\n\nfunc main() {\n\tapiKey := \"\"\n\tsecretKey := \"\"\n\tbaseUrl := \"https://sandbox.monnify.com\" // for test\n\tclient := monnify.New(*http.DefaultClient, baseUrl,apiKey, secretKey)\n\n\tpaymentReference := \"ref123\"\n\tres, err := client.GetTransactionStatus(paymentReference)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t}\n\n\tfmt.Println(res)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiyamathias%2Fmonnify-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiyamathias%2Fmonnify-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiyamathias%2Fmonnify-go/lists"}