yookassa-sdk-go

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT

README

Golang License

YooKassa API Golang Client Library

Клиент для работы с платежами по API ЮKassa

Russian | English

Установка

go get github.com/MashinaMashina/yookassa-sdk-go

Начало работы

  1. Импортируйте модуль
import "github.com/MashinaMashina/yookassa-sdk-go"
  1. Установите данные для конфигурации
import "github.com/MashinaMashina/yookassa-sdk-go"

func main() {
    client := yookassa.NewClient('<Идентификатор магазина>', '<Секретный ключ>')	
}
  1. Вызовите нужный метод API. Подробнее в документации к API ЮKassa

Примеры использования SDK

Настройки SDK API ЮKassa

Работа с платежами

Работа с возвратами

Directories

Path Synopsis
Package yookassa implements all the necessary methods for working with YooMoney.
Package yookassa implements all the necessary methods for working with YooMoney.
payment
Package yoopayment describes all the necessary entities for working with YooMoney Payments.
Package yoopayment describes all the necessary entities for working with YooMoney Payments.
payout
Package yoopayout describes all the necessary entities for working with YooMoney Payouts.
Package yoopayout describes all the necessary entities for working with YooMoney Payouts.
refund
Package yoorefund describes all the necessary entities for working with YooMoney Refunds.
Package yoorefund describes all the necessary entities for working with YooMoney Refunds.
settings
Package yoosettings describes all the necessary entities for working with YooMoney Settings.
Package yoosettings describes all the necessary entities for working with YooMoney Settings.

Jump to

Keyboard shortcuts

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