{"id":30773371,"url":"https://github.com/syniol/xyo-sdk-go","last_synced_at":"2025-10-13T05:07:29.379Z","repository":{"id":308870742,"uuid":"1034286549","full_name":"syniol/xyo-sdk-go","owner":"syniol","description":"XYO Financial SDK for Go (Golang)","archived":false,"fork":false,"pushed_at":"2025-08-29T20:20:53.000Z","size":39414,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T22:41:19.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/syniol.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-08T06:36:10.000Z","updated_at":"2025-08-29T20:20:57.000Z","dependencies_parsed_at":"2025-08-08T12:21:46.121Z","dependency_job_id":"378d2f11-dcba-4c94-9d61-38debdfec858","html_url":"https://github.com/syniol/xyo-sdk-go","commit_stats":null,"previous_names":["syniol/xyo-sdk-go"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/syniol/xyo-sdk-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syniol","download_url":"https://codeload.github.com/syniol/xyo-sdk-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syniol%2Fxyo-sdk-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699716,"owners_count":25152285,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":[],"created_at":"2025-09-05T01:50:45.308Z","updated_at":"2025-10-13T05:07:29.357Z","avatar_url":"https://github.com/syniol.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XYO Financial SDK Go (Golang)\n![workflow](https://github.com/syniol/xyo-sdk-go/actions/workflows/makefile.yml/badge.svg)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://xyo.financial\" target=\"blank\"\u003e\u003cimg alt=\"Go (Golang) Gopher Mascot\" width=\"50%\" src=\"https://github.com/syniol/xyo-sdk-go/blob/main/docs/mascot.png?raw=true\" /\u003e\u003c/a\u003e\n    \u003csup\u003e\u003cbr /\u003eOfficial Gopher Mascot for XYO.Financial Generated by Adobe AI and Imagined by Syniol Limited\u003c/sup\u003e\n\u003c/p\u003e\n\nThis SDK is official XYO.Financial and maintained by [Syniol Limited](https://syniol.com) for Go (Golang) Programming Language.\nThe minimum requirement is version: `1.18`. It can be utilised for Trial and Premium accounts, given that a valid API key is \navailable to connect to and access the Enrichment services.\n\n\n## Quickstart Guide\nFirst you need to install the XYO SDK for Go (Golang) ecosystem via [GitHub](https://github.com/syniol/xyo-sdk-go).\n\n```shell\ngo get github.com/syniol/xyo-sdk-go\n```\n\nClient is an entry point to use the SDK. You need a valid API Key obtainable from https://xyo.financial/dashboard\n\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"log\"\n\t\"fmt\"\n\n\t\"github.com/syniol/xyo-sdk-go\"\n)\n\nfunc main() {\n\tclient := xyo.NewClient(\u0026xyo.ClientConfig{\n\t\tAPIKey: \"YourAPIKeyFromXYO.FinancialDashboard\",\n\t})\n}\n```\n\n__Enrich a Single Payment Transaction__:\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"fmt\"\n\n\t\"github.com/syniol/xyo-sdk-go\"\n)\n\nfunc main() {\n    resp, err := client.EnrichTransaction(\u0026xyo.EnrichmentRequest{\n        Content:     \"COSTA PICKUP\",\n        CountryCode: \"GB\",\n    })\n    log.Fatal(err)\n    \n    fmt.Println(resp.Merchant)\n    fmt.Println(resp.Description)\n    fmt.Println(resp.Categories)\n    fmt.Println(resp.Logo)\n}\n```\n\n__Enrich Payment Transaction Collection _(Bulk Enrichment)___:\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"fmt\"\n\n\t\"github.com/syniol/xyo-sdk-go\"\n)\n\nfunc main() {\n\tresp, err := client.EnrichTransactionCollection([]*xyo.EnrichmentRequest{\n\t\t{\n\t\t\tContent: 'Costa PickUp',\n\t\t\tCountryCode: 'GB',\n\t\t},\n\t\t{\n\t\t\tContent: 'STRBUKS GREENWICH',\n\t\t\tCountryCode: 'GB',\n\t\t},\n\t})\n\tlog.Fatal(err)\n\n\tfmt.Println(resp.ID)\n\tfmt.Println(resp.Link)\n}\n```\n\n__Payment Transaction Collection Status__:\n```go\npackage main\n\nimport (\n\t\"log\"\n\t\"fmt\"\n)\n\nfunc main() {\n\tresp, err := client.EnrichTransactionCollectionStatus(enrichTransactionCollectionResponse.ID)\n\tlog.Fatal(err)\n\n\t// EnrichmentCollectionStatus enum: READY, PENDING, FAILED\n\tfmt.Println(resp)\n}\n```\n\n\n#### Credits\nCopyright \u0026copy; 2025 Syniol Limited. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Fxyo-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyniol%2Fxyo-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyniol%2Fxyo-sdk-go/lists"}