{"id":13410881,"url":"https://github.com/kenriortega/qvapay-go","last_synced_at":"2026-02-19T17:02:58.917Z","repository":{"id":46220765,"uuid":"403106411","full_name":"kenriortega/qvapay-go","owner":"kenriortega","description":"A simple non-official client for qvapay service with go, for our comunity","archived":false,"fork":false,"pushed_at":"2022-10-17T01:20:54.000Z","size":74,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T21:11:27.902Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kenriortega.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}},"created_at":"2021-09-04T16:36:48.000Z","updated_at":"2024-11-04T16:16:04.000Z","dependencies_parsed_at":"2022-08-31T02:41:42.653Z","dependency_job_id":null,"html_url":"https://github.com/kenriortega/qvapay-go","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/kenriortega/qvapay-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenriortega%2Fqvapay-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenriortega%2Fqvapay-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenriortega%2Fqvapay-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenriortega%2Fqvapay-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenriortega","download_url":"https://codeload.github.com/kenriortega/qvapay-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenriortega%2Fqvapay-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29623546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-07-30T20:01:09.977Z","updated_at":"2026-02-19T17:02:54.552Z","avatar_url":"https://github.com/kenriortega.png","language":"Go","funding_links":[],"categories":["SDK"],"sub_categories":["Engineering Calculations"],"readme":"# qvapay-go\nA simple non-official paymentClient for qvapay service with go, for our comunity\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n\n## Setup\n\nYou can install this package by using the go get tool and installing:\n\n```bash\ngo get github.com/kenriortega/qvapay-go\n```\n​\n## Sign up on **QvaPay**\nCreate your account to process payments through **QvaPay** at [qvapay.com/register](https://qvapay.com/register).\n\n\n## Using the paymentClient\n\nFirst create your **QvaPay** paymentClient using your app credentials.\n\n```go\npaymentClient := qvapaygo.NewClient(\n    os.Getenv(\"APP_ID\"), // app_id\n    os.Getenv(\"SECRET_ID\"), // secret_id\n    qvapaygo.BaseURL, // constants url base https://qvapay.com/api\n    false, // skip verificationSSL\n    nil, // custom http.PaymentAppClient\n    nil, // debug io.Writter (os.Stdout)\n)\n\n```\n### Get your app info\n```go\n...\ninfo, err := paymentClient.GetInfo(context.Background())\nif err != nil {\n    log.Fatalf(err.Error())\n}\nfmt.Println(info)\n\n```\n### Get your account balance\n```go\n...\nbalance, err := paymentClient.GetBalance(context.Background())\nif err != nil {\n    log.Fatalf(err.Error())\n}\nfmt.Println(balance)\n\n```\n### Create an invoice\n\n```go\n...\ninvoice, err := paymentClient.CreateInvoice(\n    context.Background(),\n    25.60,\n    \"Enanitos verdes\",\n    \"BRID56568989\",\n)\nif err != nil {\n    log.Fatalf(err.Error())\n}\nfmt.Println(invoice)\n```\n### Get transaction\n\n```go\n...\ninputId := \"6507ee0d-db6c-4aa9-b59a-75dc7f6eab52\"\ntx, err := paymentClient.GetTransaction(context.Background(), inputId)\nif err != nil {\n    log.Fatalf(err.Error())\n}\nfmt.Println(tx)\n```\n### Get transactions\n```go\n...\ntxs, err := paymentClient.GetTransactions(context.Background())\nif err != nil {\n    log.Fatalf(err.Error())\n}\nfmt.Println(txs)\n```\n\n\nYou can also read the **QvaPay API** documentation: [qvapay.com/docs](https://qvapay.com/docs).\n​","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenriortega%2Fqvapay-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenriortega%2Fqvapay-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenriortega%2Fqvapay-go/lists"}