Go-cent-app - CENT.APP GO Package

CENT.APP - GO Package

Official documentation - https://cent.app/en/merchant/api

The package is fully tested and works on API version v1

Install

go get github.com/plin2k/go-cent-app

Package usage example

For each request, a separate structure and a separate API method are created.

api := cent_app.New("72|oBCB7Z3SmUm1gvkpEdRcSR2q1ERHpG4vD3DNBmuT")

request := &cent_app.BillCreateRequest{
	Amount:              100.0,
	CurrencyIn:          cent_app.CurrencyUSD,
	ShopID:              "LXZv3R7Q8B",
	PayerPaysCommission: true,
	OrderID:             fmt.Sprintf("%d", time.Now().UnixMicro()),
}

res, err := api.BillCreate(request)
if err != nil {
	fmt.Println(err)
}

fmt.Println(res)
Owner
Aleksandr Kalinkin
Golang my life!
Aleksandr Kalinkin
Similar Resources

cross-platform, cli app to perform various operations on string

cross-platform, cli app to perform various operations on string

sttr is command line software that allows you to quickly run various transformation operations on the string.

Dec 30, 2022

🍅 ⏰Pomodoro App

🍅 ⏰Pomodoro App

POMODOROX 🍅 A pomodoro terminal app! Install Run install.sh Run $pomodorox Configuration To configure the pomodoro times and loops you must set the v

Oct 6, 2021

A CLI application that allows you to run a complete ToDo app from your terminal application

todo-cli This is a CLI application that allows you to run a complete ToDo app from your terminal application. As a user you can: Create a list of todo

Oct 11, 2021

Go terminal app listing open pull requests in chosen GitHub repositories

Go terminal app listing open pull requests in chosen GitHub repositories

go-pr-watcher About Shows open pull requests on configured GitHub repositories. Getting started Create GitHub personal token with read permissions Cre

Aug 23, 2022

Simple CLI App for creating recurring google calendar events

Kronus A CLI App to help you stay in touch with the people that matter by leveraging the google calender API. You can create touchbase events for cont

Nov 7, 2022

This is a Go Cli app that receives an string path to a log file, and based on it generates and prints in console an encoded polyline with the locations found in the log file.

This is a Go Cli app that receives an string path to a log file, and based on it generates  and prints in console an encoded polyline with the locations found in the log file.

GEOENCODE GO CLI APP DESCRIPTION This is a Go Cli app that receives an string path to a log file, and based on it generates and prints in console an e

Oct 1, 2021

simple cli app for search and watch anime

simple terminal app for search and watch movie or anime

Oct 30, 2021

ntest is a cross-platform cli app that runs multiple tests against any address.

ntest is a cross-platform cli app that runs multiple tests against any address.

ntest ntest is a cross-platform cli app that runs multiple tests against any address. About ntest Having the ability to run common tests against any d

Jan 3, 2022

Golang Todo App with rpc protocol,k8s,github actions

Golang Todo App with rpc protocol,k8s,github actions

go-todo-app-rpc Golang Todo App with rpc protocol ,k8s, github actions using docker-compose locally docker-compose build docker-compose up Open http

Nov 28, 2021
Test-app-url-shortner - A sample url shortener app to test Keploy integration capabilities
Test-app-url-shortner - A sample url shortener app to test Keploy integration capabilities

test-app-url-shortner A sample url shortener app to test Keploy integration capa

Jan 23, 2022
CLI - A package for building command line app with go
CLI - A package for building command line app with go

Command line interface Screenshot Key features Lightweight and easy to use. Defines flag by tag, e.g. flag name(short or/and long), description, defau

Dec 23, 2022
Go package and server app for retrieving time-stamped lyrics from Spotify.

lyricsapi Go package and server app for retrieving time-stamped lyrics from Spotify. Usage Use as package go get github.com/raitonoberu/lyricsapi pack

Nov 18, 2022
Small package for handling Github App authentication

githubapp A small Go package for handling authentication with a Github App using owner login and repository names instead of UUIDs. Installations and

Apr 14, 2022
weather app for the terminal
weather app for the terminal

wego is a weather client for the terminal. Features show forecast for 1 to 7 days nice ASCII art icons displayed info (metric or imperial units): temp

Jan 7, 2023
📦 CLI for setting up a Go WebAssembly frontend app
📦 CLI for setting up a Go WebAssembly frontend app

Simple CLI for setting up Go WebAssembly frontend app. What's included ??️ Dev Server with live reload ??️ TinyGo for small WebAssembly output ➡ Git s

Dec 3, 2022
Generate QR-Codes for checking into events using the official Corona Warn App.

Corona Warn App QR-Code Generator Generate QR-Codes for checking into events using the official Corona Warn App. Table of Contents Introduction Instal

Oct 5, 2022
Cli app to quicky add gitignore files to your current environment
Cli app to quicky add gitignore files to your current environment

Gitignorer Cli app to quickly add gitignore files to your current environment/projects Usage Make sure golang s installed on your machine. After that

Jul 18, 2022
Highly customizable and lightweight Go CLI app framework 👌
Highly customizable and lightweight Go CLI app framework 👌

Nice ?? Nice is a highly customizable and lightweight framework for crafting CLI apps. Nice respects idiomatic Go code and focuses to be clear, effici

Dec 30, 2022