16 lines
486 B
Go
16 lines
486 B
Go
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"`
|
||
|
|
}
|
||
|
|
|
||
|
|
// RedeemVoucherRequest is POST /customer/enakgame/vouchers/:id/redeem (§7.4). The
|
||
|
|
// Idempotency-Key header is required.
|
||
|
|
type RedeemVoucherRequest struct {
|
||
|
|
Pin string `json:"pin" binding:"required"`
|
||
|
|
}
|