{"id":20481882,"url":"https://github.com/typeable/connexpay","last_synced_at":"2025-06-17T03:06:27.580Z","repository":{"id":232304223,"uuid":"644942177","full_name":"typeable/connexpay","owner":"typeable","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-25T17:31:49.000Z","size":57,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-25T18:29:26.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/typeable.png","metadata":{"files":{"readme":"README.org","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,"zenodo":null}},"created_at":"2023-05-24T15:13:49.000Z","updated_at":"2025-04-22T09:05:44.000Z","dependencies_parsed_at":"2024-04-09T02:27:23.238Z","dependency_job_id":"25168f18-c724-4c93-bfd0-6149f67427dc","html_url":"https://github.com/typeable/connexpay","commit_stats":null,"previous_names":["typeable/connexpay"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/typeable/connexpay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fconnexpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fconnexpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fconnexpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fconnexpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typeable","download_url":"https://codeload.github.com/typeable/connexpay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typeable%2Fconnexpay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260281569,"owners_count":22985630,"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":[],"created_at":"2024-11-15T16:10:09.710Z","updated_at":"2025-06-17T03:06:27.557Z","avatar_url":"https://github.com/typeable.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: Connexpay API client for Haskell\n#+AUTHOR: Nick \u003cnick@typeable.io\u003e\n\n* What\n\nConnexPay is a credit card payment processing provider.\n\n* How to use this library\n\nHere is a short example:\n\n#+begin_src\nlet logf msg = Text.putStrLn (\"Connexpay log: \" \u003c\u003e msg)\n    cc = CreditCard ...\n    amount = Money @USD 5.00\n    vendor = Just \"Best vendor out there\"\nhttpmgr \u003c- tlsManager\npay \u003c- initConnexpay logf httpmgr deviceGuid cpHost True login password\n\nrunConnexpay pay $ do\n  sale \u003c- authorisePayment cc amount vendor\n  capturePayment sale.paymentGuid\n#+end_src\n\nFor more information, see Haddock docs.\n\nNOTE:\n'PaymentError' type isn't used yet, but it will after more testing.\nConnexpay test environment doesn't seem to report errors adequately.\n\n* The tool\n\nThis repo provides a command line tool to quickly test the API. You can run it with ~stack run~.\nExamples:\n\n  - ~stack run -- -c ./config.yaml auth CARDNUMBER \"NAME\" MMYY CVV SUM~\n  - ~stack run -- -c ./config.yaml capture SALEGUID~\n  - ~stack run -- -c ./config.yaml void-auth AUTHONLYGUID~\n  - ~stack run -- -c ./config.yaml void-sale SALEGUID~\n  - ~stack run -- -c ./config.yaml void-sale SALEGUID SUM~\n  - ~stack run -- -c ./config.yaml cancel SALEGUID~\n  - ~stack run -- -c ./config.yaml return SALEGUID~\n  - ~stack run -- -c ./config.yaml return SALEGUID SUM~\n\nConfiguration file must include the values provided to you by Connexpay:\n\n#+begin_src\nlogin: \u003clogin\u003e\npassword: \u003cpassword\u003e\ndevice_guid: \u003cdevice guid\u003e\nhost: \u003chostname\u003e\n\nuse_tls: true # Whether or not to use TLS connection\nproxy_host: 127.0.0.1 # Optional, if you want to proxy your requests for debugging purposes\nproxy_port: 8080\n#+end_src\n\n* Links\n\nCredit card sales API: https://docs.connexpay.com/reference/credit-card-sales\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeable%2Fconnexpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypeable%2Fconnexpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypeable%2Fconnexpay/lists"}