{"id":22945334,"url":"https://github.com/sesaquecruz/go-payment-processor","last_synced_at":"2026-05-01T13:33:06.622Z","repository":{"id":200257465,"uuid":"703192230","full_name":"sesaquecruz/go-payment-processor","owner":"sesaquecruz","description":"A Payment Processing Service.","archived":false,"fork":false,"pushed_at":"2023-12-07T00:44:36.000Z","size":9087,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-01T21:50:14.474Z","etag":null,"topics":["clean-architecture","fiber","go","postgresql","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/sesaquecruz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-10T19:12:01.000Z","updated_at":"2024-02-12T21:46:50.000Z","dependencies_parsed_at":"2023-12-06T03:06:20.311Z","dependency_job_id":"394625dd-2ae6-4fa7-b0d1-779505937ef5","html_url":"https://github.com/sesaquecruz/go-payment-processor","commit_stats":null,"previous_names":["sesaquecruz/go-payment-processor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sesaquecruz/go-payment-processor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesaquecruz%2Fgo-payment-processor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesaquecruz%2Fgo-payment-processor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesaquecruz%2Fgo-payment-processor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesaquecruz%2Fgo-payment-processor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sesaquecruz","download_url":"https://codeload.github.com/sesaquecruz/go-payment-processor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesaquecruz%2Fgo-payment-processor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["clean-architecture","fiber","go","postgresql","rest-api"],"created_at":"2024-12-14T14:31:17.179Z","updated_at":"2026-05-01T13:33:06.603Z","avatar_url":"https://github.com/sesaquecruz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solution for Golang Software Engineer Challenge - Pagar.me\n\nThis repository contains one solution for the Software Engineer Challenge proposed by Pagar.me. The goal was to build a service to processing payment transactions from other systems.\n\nThe challenge description can be found at [Golang Software Engineer Challenge - Pagar.me](https://github.com/pagarme/vagas/blob/master/desafios/software-engineer-golang/README.md).\n\n## How to Use\n\n1. Clone this repository:\n```\ngit clone https://github.com/sesaquecruz/go-payment-processor\n```\n\n2. Enter the project directory:\n```\ncd go-payment-processor\n```\n\n3. Run the docker compose:\n```\ndocker compose up -d --build\n```\n\n4. Access the API Documentation for requests and response information at:\n```\nhttp://localhost:8080/api/v1/swagger/index.html\n```\n\n5. Get the API Authorization Token from the Auth Service at:\n```\nhttp://localhost:6062/token\n```\n\nRemember to add the prefix Bearer to the token when using the API Documentation, for example:\n```\nBearer token-value\n```\n\n## Predefined Test Data\n\n### Preregistered acquirers:\n\n- cielo\t(max supported transaction value 100.00)\n- rede\t(max supported transaction value 500.00)\n- stone\t(max supported transaction value 1000.00)\n\nIf the transaction value is greater than the max supported value by the transaction acquirer, it will fail.\n\n### Preregistered card tokens:\n\n- 461c9432d4d7eca7ba32b783aa22ca5c89e4f396288de5128b73b461c42d4f40\n- 7d2cd4f89ffe5374013d68c64ec104182366f786a377da1d3103db201149d3b5\n- 4939de8e7acf6011a9b4aa4abdd6496cec40240e418a7892723ef16c4cbb44f2\n- d840c6fb8401c4bbefdc4ceddc1a88f1636734bdde88c344b8969d0cd5cfdaed\n- f8a8a91d9626b66a74ff7c11b5f1c2cc59a103f5b2a3119b4729a70b25304074\n- cc89fefc83d423395b11998646cc7eb7c32c04ece114d1373c3a519fbb612724\n\nThe test card data can be found at [Test Cards](.docker/test-data/cards.sql)\n\n## Tech Stack\n\n- [Go](https://go.dev)\n- [Fiber](https://gofiber.io/)\n- [Postgres](https://www.postgresql.org)\n\n\n## License\n\nThis project is licensed under the MIT License. See [LICENSE](./LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesaquecruz%2Fgo-payment-processor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsesaquecruz%2Fgo-payment-processor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesaquecruz%2Fgo-payment-processor/lists"}