From 68cec57677a00b1fb4940c2e3d1ae8609d50cffc Mon Sep 17 00:00:00 2001 From: Dmitry Khayrutdinov Date: Mon, 12 Jan 2026 10:37:27 +0300 Subject: [PATCH] Amount param in generate-gift-card --- models_gift_card.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/models_gift_card.go b/models_gift_card.go index 15c72c2..aa4598a 100644 --- a/models_gift_card.go +++ b/models_gift_card.go @@ -30,8 +30,9 @@ type DiscardGiftCardReply struct { } type GenerateGiftCardRequest struct { - Code string `json:"code"` // deprecated - Kind string `json:"kind"` + Code string `json:"code"` // deprecated + Kind string `json:"kind"` + Amount *decimal.Decimal `json:"amount,omitempty"` } type GenerateGiftCardReply struct {