{"id":16445106,"url":"https://github.com/itsjoniur/go-cryptomus","last_synced_at":"2026-03-04T18:31:30.653Z","repository":{"id":209009408,"uuid":"723013627","full_name":"itsjoniur/go-cryptomus","owner":"itsjoniur","description":"A Go wrapper for the Cryptomus API to simplify crypto payments, invoicing, and transaction tracking.","archived":false,"fork":false,"pushed_at":"2024-09-28T07:50:39.000Z","size":35,"stargazers_count":16,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T17:52:55.234Z","etag":null,"topics":["api","cryptomus","cryptomus-api","golang","wrapper"],"latest_commit_sha":null,"homepage":"","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/itsjoniur.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}},"created_at":"2023-11-24T13:24:59.000Z","updated_at":"2025-03-29T15:23:00.000Z","dependencies_parsed_at":"2024-09-13T18:33:45.877Z","dependency_job_id":null,"html_url":"https://github.com/itsjoniur/go-cryptomus","commit_stats":null,"previous_names":["itsjoniur/go-cryptomus"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/itsjoniur/go-cryptomus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjoniur%2Fgo-cryptomus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjoniur%2Fgo-cryptomus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjoniur%2Fgo-cryptomus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjoniur%2Fgo-cryptomus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsjoniur","download_url":"https://codeload.github.com/itsjoniur/go-cryptomus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsjoniur%2Fgo-cryptomus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30089324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"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":["api","cryptomus","cryptomus-api","golang","wrapper"],"created_at":"2024-10-11T09:43:16.383Z","updated_at":"2026-03-04T18:31:30.614Z","avatar_url":"https://github.com/itsjoniur.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cryptomus API Go Wrapper\n\nThis repository contains an **unofficial Go wrapper** for the Cryptomus API, a crypto payment gateway. This wrapper simplifies the process of integrating Cryptomus functionality into your Go projects.\n\n## Features\n\n- Easy-to-use Go interface for Cryptomus API\n- Supports payment and payout operations\n- Handles static wallet functionalities\n- Supports refund operations\n- Supports resending and testing webhook requests\n- Supports verifying signature\n- Provides strongly typed responses\n\n## Installation\n\nTo install the Cryptomus API Go wrapper, use `go get`:\n\n```\ngo get github.com/itsjoniur/go-cryptomus\n```\n\n## Usage\n\nHere's a quick example of how to use the wrapper:\n\n```go\n\nimport (\n    \"fmt\"\n    \"github.com/itsjoniur/go-cryptomus\"\n)\n\nfunc main() {\n    httpClient := http.DefaultClient\n    client := cryptomus.New(httpClient, \"your-merchant-id\", \"your-payment-api-key\", \"your-payout-api-key\")\n    \n    // Create an invoice\n    invoiceReq := \u0026cryptomus.InvoiceRequest{\n        Amount: \"10\",\n        Currency: \"USD\",\n        OrderId: \"your-order-id\",\n        InvoiceRequestOptions: \u0026cryptomus.invoiceRequestOptions{\n            Network: \"tron\",\n            UrlCallback: \"https://yourdomain.com/callback\"\n        },\n    }\n    invoice, err := cryptomus.CreateInvoice(invoiceReq)\n    if err != nil {\n        // Handle error\n    }\n    \n    fmt.Printf(\"Invoice created: %+v\\n\", invoice)\n}\n```\n\n## API Coverage\n\nThis wrapper currently supports the following Cryptomus API functionalities:\n\n- Payment operations\n- Static wallet operations\n- Refund operations\n- Resending webhook requests\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjoniur%2Fgo-cryptomus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsjoniur%2Fgo-cryptomus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsjoniur%2Fgo-cryptomus/lists"}