2026-10-07 20:53:14 +07:00
|
|
|
package contract
|
|
|
|
|
|
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
|
|
|
|
|
|
// StartGameSessionRequest is POST /customer/enakgame/sessions (docs/rfc-enakgame.md
|
|
|
|
|
// §7.1). The Idempotency-Key header is required.
|
|
|
|
|
type StartGameSessionRequest struct {
|
|
|
|
|
GameID uuid.UUID `json:"game_id" binding:"required"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-10-08 11:09:57 +07:00
|
|
|
// RedeemVoucherRequest is POST /customer/vouchers/:id/redeem (§7.4). The
|
2026-10-07 20:53:14 +07:00
|
|
|
// Idempotency-Key header is required.
|
|
|
|
|
type RedeemVoucherRequest struct {
|
|
|
|
|
Pin string `json:"pin" binding:"required"`
|
|
|
|
|
}
|