ussd/internal/models/trackstatusresponse.go

20 lines
412 B
Go
Raw Permalink Normal View History

2024-08-26 12:31:20 +02:00
package models
import (
"encoding/json"
"time"
)
type TrackStatusResponse struct {
Ok bool `json:"ok"`
Result struct {
Transaction struct {
CreatedAt time.Time `json:"createdAt"`
Status string `json:"status"`
TransferValue json.Number `json:"transferValue"`
TxHash string `json:"txHash"`
TxType string `json:"txType"`
}
} `json:"result"`
2024-10-18 16:04:43 +02:00
}