{"id":21714915,"url":"https://github.com/stephanerob/mangopay_ex","last_synced_at":"2026-05-19T02:50:53.533Z","repository":{"id":86678553,"uuid":"97875183","full_name":"StephaneRob/mangopay_ex","owner":"StephaneRob","description":"Elixir library for Mangopay API V2","archived":false,"fork":false,"pushed_at":"2017-08-20T12:03:42.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T17:33:21.296Z","etag":null,"topics":["elixir","elixir-lang","mangopay","payments"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/StephaneRob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-07-20T20:22:15.000Z","updated_at":"2018-02-01T11:10:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d4a897a-df16-4809-914a-c0f9c4559be6","html_url":"https://github.com/StephaneRob/mangopay_ex","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/StephaneRob%2Fmangopay_ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephaneRob%2Fmangopay_ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephaneRob%2Fmangopay_ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StephaneRob%2Fmangopay_ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StephaneRob","download_url":"https://codeload.github.com/StephaneRob/mangopay_ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244676454,"owners_count":20491828,"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":["elixir","elixir-lang","mangopay","payments"],"created_at":"2024-11-26T00:39:26.440Z","updated_at":"2026-05-19T02:50:53.488Z","avatar_url":"https://github.com/StephaneRob.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MangopayEx (WIP)\n\nElixir package for interacting with the version 2 of the Mangopay API.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `mangopay_ex` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:mangopay_ex, \"~\u003e 0.1.0\"}]\nend\n```\n\n## Configuration\n\n```elixir\nuse Mix.Config\n\nconfig :mangopay_ex,\n  api_base: \"https://api.sandbox.mangopay.com/v2.01\",\n  client_id: System.get_env(\"MANGOPAY_CLIENT_ID\"),\n  client_pass: System.get_env(\"MANGOPAY_CLIENT_PASS\")\n```\n\nFor security reason, use environment variables rather than hard coding your account credentials.\n\n## Usage\n\n```elixir\n# Create a wallet\nMangopayEx.Wallets.create(%{owners: [\"USER_ID\"], description: \"Main wallet\", currency: \"EUR\"})\n{:ok,\n %{balance: %{amount: 0, currency: \"EUR\"}, creation_date: 1503057903,\n   currency: \"EUR\", description: \"Main wallet\", funds_type: \"DEFAULT\", id: \"WALLET_ID\",\n   owners: [\"USER_ID\"], tag: nil}}\n```\n\n## Implementation\n\n- [x] Users\n  - [x] Create natural user  `MangopayEx.Users.Natural.create(%{})`\n  - [x] Update natural user  `MangopayEx.Users.Natural.update(id, %{})`\n  - [x] Create legal user  `MangopayEx.Users.Legal.create(%{})`\n  - [x] Update legal user  `MangopayEx.Users.Legal.update(id, %{})`\n  - [x] View a user `MangopayEx.Users.view(id)`\n  - [x] List a user `MangopayEx.Users.list(id)`\n- [x] User emoney\n  - [x] view user emoney `MangopayEx.Users.Emoney.view(user_id)`\n- [x] Wallets\n  - [x] Create  `MangopayEx.Wallets.create(%{})`\n  - [x] View    `MangopayEx.Wallets.view(id)`\n  - [x] Update  `MangopayEx.Wallets.update(id, %{})`\n  - [x] List user wallets `MangopayEx.Users.Wallets.list(user_id)`\n- [ ] Payins\n- [x] Transfers\n  - [x] Create `MangopayEx.Transfers.create(%{})`\n  - [x] View `MangopayEx.Transfers.view(id)`\n- [x] Payouts\n  - [x] Create `MangopayEx.Payouts.create(%{})`\n  - [x] View `MangopayEx.Payouts.view(id)`\n- [x] KYC Document\n  - [x] View `MangopayEx.KycDocuments.view(id)`\n  - [x] list `MangopayEx.KycDocuments.list`\n  - [x] Create a kyc document for a user `MangopayEx.Users.KycDocuments.create(user_id, %{})`\n  - [x] Create a kyc page for a user `MangopayEx.Users.KycDocuments.create(:page, user_id, document_id, %{})`\n  - [x] Submit a kyc `MangopayEx.Users.KycDocuments.list(user_id, document_id, %{})`\n  - [x] List kyc for a user `MangopayEx.Users.KycDocuments.list(user_id)`\n- [ ] Hooks\n- [ ] Transactions\n  - [x] List user's Transactions `MangopayEx.Users.Transactions.list(user_id)`\n  - [x] List wallets's Transactions `MangopayEx.Wallets.Transactions.list(user_id)`\n  - [ ] List dispute's Transactions\n  - [ ] List Client's Transactions\n  - [ ] List Client wallet's Transactions\n- [ ] Bank Account\n  - [x] View a bank account `MangoPayEx.Users.Bankaccounts.view(user_id, id)`\n  - [x] List user bank accounts `MangoPayEx.Users.Bankaccounts.list(user_id)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephanerob%2Fmangopay_ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephanerob%2Fmangopay_ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephanerob%2Fmangopay_ex/lists"}