{"id":16976670,"url":"https://github.com/inuoshios/paystack-go-sdk","last_synced_at":"2025-03-21T21:23:29.240Z","repository":{"id":65115741,"uuid":"581780156","full_name":"inuoshios/paystack-go-sdk","owner":"inuoshios","description":"💸 An unofficial Golang SDK for Paystack.","archived":false,"fork":false,"pushed_at":"2023-01-02T12:25:44.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T16:11:17.768Z","etag":null,"topics":["fintech","go","golang","paystack-api","paystack-sdk"],"latest_commit_sha":null,"homepage":"https://paystack.com","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/inuoshios.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}},"created_at":"2022-12-24T09:56:42.000Z","updated_at":"2023-01-02T17:49:12.000Z","dependencies_parsed_at":"2023-02-01T02:40:12.269Z","dependency_job_id":null,"html_url":"https://github.com/inuoshios/paystack-go-sdk","commit_stats":null,"previous_names":["rxxcc/paystack-go-sdk"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inuoshios%2Fpaystack-go-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inuoshios%2Fpaystack-go-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inuoshios%2Fpaystack-go-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inuoshios%2Fpaystack-go-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inuoshios","download_url":"https://codeload.github.com/inuoshios/paystack-go-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244870364,"owners_count":20523856,"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":["fintech","go","golang","paystack-api","paystack-sdk"],"created_at":"2024-10-14T01:26:54.557Z","updated_at":"2025-03-21T21:23:29.220Z","avatar_url":"https://github.com/inuoshios.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paystack Golang SDK\n\n🐈 An unofficial Golang SDK for [Paystack](http://paystack.com).\n\n## Installation\n\nTo install this package, use the command below\n\n```sh\ngo get github.com/rxxcc/paystack-go-sdk\n```\n\n## Usage/Examples\n\n### Import the package\n\n```go\nimport \"github.com/rxxcc/paystack-go-sdk\"\n```\n\n_Get your keys from your Paystack dashboard and add it into your environment variables_\n\n`To initialize a new client`\n\n```go\npackage main\n\nimport (\n    paystack \"github.com/rxxcc/paystack-go-sdk\"\n)\n\nvar (\n    sKeys = \"{Your secret key}\"\n)\n\nfunc main() {\n    // Handle error\n    newClient, _ := paystack.NewClient(sKeys)\n}\n```\n\n`To create a new transaction`\n\n```go\n// --------------------------------- //\nfunc main() {\n    testCase := \u0026paystack.TransactionBody{\n\t\tAmount:   \"300\",\n\t\tEmail:    \"test@test.com\",\n\t}\n    transactionData, err := newClient.InitializeTransaction(transactionData)\n}\n```\n\n## License\n\nMIT\n\n## Author\n\nInu John O.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finuoshios%2Fpaystack-go-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finuoshios%2Fpaystack-go-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finuoshios%2Fpaystack-go-sdk/lists"}