ussd/internal/models/vouchersresponse.go

15 lines
407 B
Go
Raw Permalink Normal View History

package models
2024-10-30 16:30:55 +01:00
import dataserviceapi "github.com/grassrootseconomics/ussd-data-service/pkg/api"
type VoucherHoldingResponse struct {
2024-10-30 16:30:55 +01:00
Ok bool `json:"ok"`
Description string `json:"description"`
Result VoucherResult `json:"result"`
}
// VoucherResult holds the list of token holdings
type VoucherResult struct {
Holdings []dataserviceapi.TokenHoldings `json:"holdings"`
}