go-yookassa

module
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2022 License: MIT

README

go-yookasssa

Пакет для работы с платежным сервисом Yookassa.

Быстрый старт

yc := NewClient("shop_id", "secret_key")

yc.Payments().Create(models.PaymentRequest{
	Amount: models.Amount{
		Value: "100.00",
		Currency: "RUB",
	},
	Capture: true,
	Confirmation: &models.Confirmation{
		Type: "redirect",
		ReturnURl: "https://www.merchant-website.com/return_url",
	},
	Description: "Заказ №1",
})

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL