{"id":15306135,"url":"https://github.com/hansputera/midtrans-node","last_synced_at":"2025-09-19T06:28:54.649Z","repository":{"id":43121085,"uuid":"359852832","full_name":"hansputera/midtrans-node","owner":"hansputera","description":"UnOfficial Midtrans Payment API Client for NodeJS | https://midtrans.com","archived":false,"fork":false,"pushed_at":"2023-01-10T02:57:49.000Z","size":747,"stargazers_count":11,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T12:38:31.885Z","etag":null,"topics":["midtrans","midtrans-nodejs","nodejs","payment-gateway"],"latest_commit_sha":null,"homepage":"https://midtrans.com","language":"TypeScript","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/hansputera.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-20T14:51:54.000Z","updated_at":"2025-02-02T21:44:55.000Z","dependencies_parsed_at":"2023-02-08T17:01:15.178Z","dependency_job_id":null,"html_url":"https://github.com/hansputera/midtrans-node","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/hansputera%2Fmidtrans-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansputera%2Fmidtrans-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansputera%2Fmidtrans-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansputera%2Fmidtrans-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansputera","download_url":"https://codeload.github.com/hansputera/midtrans-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248744252,"owners_count":21154826,"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":["midtrans","midtrans-nodejs","nodejs","payment-gateway"],"created_at":"2024-10-01T08:04:33.749Z","updated_at":"2025-09-19T06:28:49.584Z","avatar_url":"https://github.com/hansputera.png","language":"TypeScript","readme":"# 🛒 Midtrans-Node\n\n**Unofficial** Midtrans API wrapper for NodeJS. 💡 I created this to make it easier for me to integrate some of 🛠 my projects using 🛒 Midtrans, the methods I created here are available from Rest API, Snap, and Iris API 😎.\n\n# Quick Start\n\n## 🤔 Installation\nYou need to install the package first!\n\n\u003e npm install hanif-midtrans-node\n\n\u003e yarn add hanif-midtrans-node\n\n\u003e pnpm install hanif-midtrans-node\n\n## Usage 🤟\n\nYou just need a midtrans server key from https://dashboard.midtrans.com.\nAnd, you're ready to code!\n\n```ts\nimport { MidtransNode } from 'hanif-midtrans-node';\n\n// new MidtransNode(isProduction, midtransServerKey);\nconst midtrans = new MidtransNode(false, 'YOUR MIDTRANS SERVER KEY'); // sandbox mode\n\nmidtrans.createTransaction({\n    transaction_details: {\n        gross_amount: 20000, // IDR 20.000\n        order_id: 'midtrans-node',\n    },\n}).then(console.log).catch(console.error);\n```\n\nAnd, that's it! Also, docs is availabe on https://hansputera.github.io/midtrans-node\n\n# License\nMIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansputera%2Fmidtrans-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansputera%2Fmidtrans-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansputera%2Fmidtrans-node/lists"}