{"id":14987427,"url":"https://github.com/nurfaizfy/mutasi-php-library","last_synced_at":"2026-01-05T01:17:45.176Z","repository":{"id":57703172,"uuid":"501570118","full_name":"nurfaizfy/mutasi-php-library","owner":"nurfaizfy","description":"Unofficial PHP Library Mutasi.co.id API","archived":false,"fork":false,"pushed_at":"2022-06-09T11:55:13.000Z","size":241,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T13:28:52.117Z","etag":null,"topics":["codeigniter","mutasi","mutasi-bank","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/nurfaizfy/mutasi-php-library","language":"PHP","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/nurfaizfy.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":"2022-06-09T08:33:57.000Z","updated_at":"2023-09-07T10:19:34.000Z","dependencies_parsed_at":"2022-09-04T15:13:33.918Z","dependency_job_id":null,"html_url":"https://github.com/nurfaizfy/mutasi-php-library","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurfaizfy%2Fmutasi-php-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurfaizfy%2Fmutasi-php-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurfaizfy%2Fmutasi-php-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nurfaizfy%2Fmutasi-php-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nurfaizfy","download_url":"https://codeload.github.com/nurfaizfy/mutasi-php-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244852109,"owners_count":20521151,"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":["codeigniter","mutasi","mutasi-bank","php"],"created_at":"2024-09-24T14:14:35.965Z","updated_at":"2026-01-05T01:17:45.138Z","avatar_url":"https://github.com/nurfaizfy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial Mutasi.co.id API\n\n[![Latest Stable Version](http://poser.pugx.org/nurfaizfy/mutasi-php-library/v)](https://packagist.org/packages/nurfaizfy/mutasi-php-library)\n[![Total Downloads](http://poser.pugx.org/nurfaizfy/mutasi-php-library/downloads)](https://packagist.org/packages/nurfaizfy/mutasi-php-library)\n[![License](http://poser.pugx.org/nurfaizfy/mutasi-php-library/license)](https://packagist.org/packages/nurfaizfy/mutasi-php-library)\n\nThis library is unofficial, already compatible with Composer, for more details please visit [Documentation](https://documenter.getpostman.com/view/3279923/TWDTNKcR).\n\nIMPORTANT: Make sure you read the documentation and understand what these methods are used for!\n\n## Instalation\n```\ncomposer require nurfaizfy/mutasi-php-library\n```\n\n## Configuration\n\nyou must define or import library\n```php\nuse Mutasi\\Main;\n```\n\nafter that configure token obtained from [Dashboard](https://app.mutasi.co.id/home/api_token)\n```php\n$main = new Main(\n    'your-token',\n);\n```\n\n## Contents available\ncontent method available so far\n\n| Method  | Contents  | Status |\n|---|---|---|\n| `initUserInfo()` | `User Info` | OK |\n| `initAccountList()` | `Account List` | OK |\n| `initAccountDetail` | `Account Detail` | OK |\n| `initTransaction()` | `Transactions` | OK |\n| `initSearchAmount()` | `Search Amount` | OK |\n| `initCallback()` | `Callback` | OK |\n\n## Request available\n\nrequest can return the available content, the list of available methods is as follows\n\n| Method  | Description  |\n|---|---|\n| `getRequest(string $url)`  | return return guzzle http client |\n| `getResponse()`  | return response |\n| `getJson()`  | return json decode  |\n| `getStatus()`  | return boolean  |\n| `getData()`  | return data response  |\n\n## User Info\n\nThis API is used to get user info\n\n```php\n$main-\u003einitUserInfo()\n```\n\nthe next method can be seen in the [request method](#request-available)\n\n## Account List\n\nThis API is used to retrieve all bank account list\n\n```php\n$init = $main-\u003einitAccountList($code)\n```\n\nthe next method can be seen in the [request method](#request-available)\n\n## Account Detail\n\nThis API is used to retrieve detail bank account\n\n```php \n$data = ['account_id'=\u003eid] // id retrieved from Account List or can be seen in dashboard\n$init = $main-\u003einitAccountDetail();\n$init-\u003esetForm($data);\n```\n\nthe next method can be seen in the [request method](#request-available)\n\n## Transactions\nThis API is used to obtain detailed transaction based on a specified date\n\n```php\n$data = [\n    'account_id'    =\u003e  id, // Optional\n    'from'          =\u003e  date,\n    'to'            =\u003e  date,\n]\n$init = $main-\u003einitTransaction();\n$init-\u003esetForm($data);\n```\n\nthe next method can be seen in the [request method](#request-available)\n\n## Search Amount\nThis API is used to Get a list of transactions by amount\n\n```php\n$data = [\n    'account_id'    =\u003e  id, // Optional\n    'from'          =\u003e  date,\n    'to'            =\u003e  date,\n    'nominal'       =\u003e  amount,\n    'type'          =\u003e  type, // Optional (C = Credit, D = Debet)\n]\n$init = $main-\u003einitSearchAmount();\n$init-\u003esetForm($data);\n);\n```\n\nthe next method can be seen in the [request method](#request-available)\n\n## Callback\n\nCallback is a method of sending transaction notifications from the Mutasi server to the user's server. When the payment from the customer is completed, the TriPay system will provide a notification containing transaction data which can then be further managed by the user's system.\n\nplease define the method below before starting\n\n```php\n$init = $main-\u003einitCallback(); // return callback\n```\n\n### Receive JSON\n\nto get the json that was sent by tripay you can use the method below\n\n```php \n$init-\u003eget(); // get all callback\n```\n\n### Decode JSON\n\nrather than wasting time on json_decode, this package provides that\n\n```php \n$init-\u003egetJson(); // get json callback\n```\n\n## Contribute\nIf you want to contribute this SDK, you can fork, edit and create pull request. And we will review your request and if we finish to review your request. We will merge your request to developemnt branch. Thanks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurfaizfy%2Fmutasi-php-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnurfaizfy%2Fmutasi-php-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnurfaizfy%2Fmutasi-php-library/lists"}