{"id":32164648,"url":"https://github.com/piggypot/gocardless","last_synced_at":"2026-02-24T04:01:25.091Z","repository":{"id":62429844,"uuid":"95124229","full_name":"PiggyPot/gocardless","owner":"PiggyPot","description":"Elixir wrapper for the GoCardless API","archived":false,"fork":false,"pushed_at":"2018-10-16T13:12:31.000Z","size":73,"stargazers_count":7,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-24T02:18:18.445Z","etag":null,"topics":["elixir","gocardless","payment-gateway","payments"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/PiggyPot.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":"2017-06-22T14:29:11.000Z","updated_at":"2024-07-16T05:39:51.000Z","dependencies_parsed_at":"2022-11-01T20:03:53.921Z","dependency_job_id":null,"html_url":"https://github.com/PiggyPot/gocardless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PiggyPot/gocardless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiggyPot%2Fgocardless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiggyPot%2Fgocardless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiggyPot%2Fgocardless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiggyPot%2Fgocardless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiggyPot","download_url":"https://codeload.github.com/PiggyPot/gocardless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiggyPot%2Fgocardless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29771038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:01:02.180Z","status":"ssl_error","status_checked_at":"2026-02-24T03:59:49.901Z","response_time":75,"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":["elixir","gocardless","payment-gateway","payments"],"created_at":"2025-10-21T14:50:00.112Z","updated_at":"2026-02-24T04:01:25.085Z","avatar_url":"https://github.com/PiggyPot.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gocardless\n\n[![Hex pm](http://img.shields.io/hexpm/v/gocardless.svg?style=flat)](https://hex.pm/packages/gocardless)\n\nElixir wrapper for the GoCardless API.\n\n## Installation\n\n1. Add `gocardless` to your list of dependencies in mix.exs:\n\n```elixir\ndef deps do\n  [{:gocardless, \"~\u003e 1.0.3\"}]\nend\n```\n\nthen...\n\n```elixir\nmix deps.get\n```\n\n\n2. Ensure `gocardless` is started before your application:\n\n```elixir\ndef application do\n  [applications: [:gocardless]]\nend\n```\n\n3. Add configuration to your app:\n\n```elixir\nconfig :gocardless,\n  api_base: \"https://api-sandbox.gocardless.com/\",\n  api_version: \"2015-07-06\",\n  access_token: \"\u003cyour-token\u003e\"\n```\n\n4. Example usage:\n\n```elixir\niex\u003e params = %{\n  customers: %{\n    email: \"name@email.com\",\n    given_name: \"Firstname\",\n    family_name: \"Lastname\",\n    country_code: \"GB\"\n  }\n}\niex\u003e Gocardless.Client.create_customer(params)\n{:ok,\n  %{\"customers\" =\u003e %{\"address_line1\" =\u003e nil, \"address_line2\" =\u003e nil,\n      \"address_line3\" =\u003e nil, \"city\" =\u003e nil, \"company_name\" =\u003e nil,\n      \"country_code\" =\u003e \"GB\", \"created_at\" =\u003e \"2017-06-23T13:04:45.459Z\",\n      \"email\" =\u003e \"name@email.com\", \"family_name\" =\u003e \"Lastname\",\n      \"given_name\" =\u003e \"Firstname\", \"id\" =\u003e \"CU0009999999\", \"language\" =\u003e \"en\",\n      \"metadata\" =\u003e %{}, \"postal_code\" =\u003e nil, \"region\" =\u003e nil,\n      \"swedish_identity_number\" =\u003e nil}}}\n```\n\n## For more information, see the Hex docs\n\nYou can read the docs [here](https://hexdocs.pm/gocardless)\n\n## Development Setup\n\nIf you are making changes to this codebase and want to test your code, you will need to copy the sample secret file.\n\n```elixir\ncp config/secret.sample.exs config/secret.exs\n```\n\nThen add your GoCardless token where the key is `access_token`.\n\n## Implementation state\n\nResources that are implemented so far.\n\n- [x] Customers\n- [x] Customer Bank Accounts\n- [x] Mandates\n- [x] Payments\n- [x] Creditors\n- [x] Events\n- [x] Creditor Bank Accounts\n- [x] Payouts\n- [x] Redirect Flows\n- [x] Refunds\n- [x] Subscriptions\n\nAreas of the codebase that can be improved.\n\n- [ ] Testing error cases\n\n## License\n\nThe `gocardless` lib is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiggypot%2Fgocardless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiggypot%2Fgocardless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiggypot%2Fgocardless/lists"}