2024-07-30 23:39:55 +07:00

21 lines
648 B
Go

package response
import "time"
type TransactionListItem struct {
ID string `json:"id"`
TransactionType string `json:"transaction_type"`
Status string `json:"status"`
CreatedAt time.Time `json:"created_at"`
SiteName string `json:"site_name"`
Amount int64 `json:"amount"`
PartnerName string `json:"partner_name"`
}
type TransactionListResponse struct {
Transactions []TransactionListItem `json:"transactions"`
TotalCount int `json:"total_count"`
Limit int `json:"limit"`
Offset int `json:"offset"`
}