{"id":23882192,"url":"https://github.com/codedByCan/Cryptomus_Nodejs","last_synced_at":"2026-06-20T18:30:16.793Z","repository":{"id":269954207,"uuid":"908954373","full_name":"codedByCan/Cryptomus_Nodejs","owner":"codedByCan","description":"A powerful Node.js integration for the Cryptomus payment system, enabling seamless cryptocurrency payments in your applications! 🚀","archived":false,"fork":false,"pushed_at":"2024-12-27T11:36:45.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-22T20:33:43.395Z","etag":null,"topics":["cryptomus","cryptomus-api"],"latest_commit_sha":null,"homepage":"http://speedsmm.com/","language":"JavaScript","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/codedByCan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-27T11:33:51.000Z","updated_at":"2025-02-14T21:32:46.000Z","dependencies_parsed_at":"2024-12-27T12:37:19.607Z","dependency_job_id":null,"html_url":"https://github.com/codedByCan/Cryptomus_Nodejs","commit_stats":null,"previous_names":["fastuptime/cryptomus_nodejs","codedbycan/cryptomus_nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codedByCan/Cryptomus_Nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedByCan%2FCryptomus_Nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedByCan%2FCryptomus_Nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedByCan%2FCryptomus_Nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedByCan%2FCryptomus_Nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codedByCan","download_url":"https://codeload.github.com/codedByCan/Cryptomus_Nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedByCan%2FCryptomus_Nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34580039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cryptomus","cryptomus-api"],"created_at":"2025-01-04T02:45:16.361Z","updated_at":"2026-06-20T18:30:16.756Z","avatar_url":"https://github.com/codedByCan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💎 Cryptomus NodeJS Integration\n\nA powerful Node.js integration for the Cryptomus payment system, enabling seamless cryptocurrency payments in your applications! 🚀\n\n## ✨ Features\n\n- 💳 Create cryptocurrency payments with ease\n- 📊 Real-time payment status tracking\n- 🔔 Secure webhook handling with signature verification\n- 🧪 Built-in webhook testing functionality\n- 🌐 Support for multiple cryptocurrencies and networks\n\n## 🚀 Installation\n\n```bash\nnpm install axios crypto express body-parser multer\n```\n\n## ⚙️ Configuration\n\nCreate a `.env` file in your project root and add your Cryptomus credentials:\n\n```env\nMERCHANT_ID=your_merchant_id\nPAYMENT_KEY=your_payment_key\n```\n\n## 📘 Usage\n\n### 🔑 Initialize Cryptomus\n\n```javascript\nconst Cryptomus = require('./cryptomus');\nconst cryptomus = new Cryptomus(process.env.MERCHANT_ID, process.env.PAYMENT_KEY);\n```\n\n### 💰 Create a Payment\n\n```javascript\nconst payment = await cryptomus.createPayment({\n    orderId: 'unique_order_id',\n    amount: '100',\n    currency: 'USD',\n    network: 'ETH',\n    callbackUrl: 'https://your-domain.com/webhook',\n    returnUrl: 'https://your-domain.com/return'\n});\n```\n\n### 🔍 Check Payment Status\n\n```javascript\nconst status = await cryptomus.getPaymentStatus('order_id');\n```\n\n### 📡 Handle Webhooks\n\n```javascript\napp.post('/webhook', (req, res) =\u003e {\n    const isValid = cryptomus.verifyWebhook(req.body, req.body.sign);\n    if (isValid) {\n        // Handle the webhook\n        console.log('Valid webhook received:', req.body);\n        res.status(200).send('OK');\n    }\n});\n```\n\n### 🧪 Test Webhook\n\n```javascript\nconst webhook = await cryptomus.testWebhook({\n    uuid: 'test-uuid',\n    currency: 'ETH',\n    url_callback: 'https://your-domain.com/webhook',\n    network: 'eth',\n    status: 'paid'\n});\n```\n\n## 📦 Webhook Payload Example\n\n```javascript\n{\n    type: 'payment',\n    uuid: 'payment-uuid',\n    order_id: 'order-id',\n    amount: '100',\n    payment_amount: '100',\n    payment_amount_usd: '100',\n    merchant_amount: '98',\n    commission: '2',\n    is_final: true,\n    status: 'paid',\n    network: 'eth',\n    currency: 'ETH',\n    payer_currency: 'ETH',\n    payer_amount: '0.05',\n    txid: 'transaction-id',\n    sign: 'webhook-signature'\n}\n```\n\n## 🔒 Security Best Practices\n\n- 🛡️ Always verify webhook signatures\n- 🔐 Store credentials in environment variables\n- 🌐 Use HTTPS for all callback URLs\n- ⚠️ Implement proper error handling and logging\n- 🔍 Regularly monitor transaction status\n\n## 🤝 Contributing\n\nWe love your input! Here's how you can contribute:\n\n1. 🍴 Fork the repository\n2. 🌿 Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. ✍️ Commit your changes (`git commit -am 'Add some amazing feature'`)\n4. 📤 Push to the branch (`git push origin feature/amazing-feature`)\n5. 🎉 Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 🌟 Support\n\nLike this project? Give it a ⭐️ to show your support!\n\n## 🤔 Questions?\n\nHaving troubles? Check out our [issues](https://github.com/fastuptime/Cryptomus_Nodejs/issues) page or create a new issue!\n\n---\nMade with ❤️ by [FastUptime \u0026 SpeedSMM % QuickPos]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcodedByCan%2FCryptomus_Nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FcodedByCan%2FCryptomus_Nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcodedByCan%2FCryptomus_Nodejs/lists"}