2024-08-28 00:32:19 +07:00

23 lines
730 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"`
Total int64 `json:"total"`
Fee int64 `json:"fee"`
}
type TransactionListResponse struct {
Transactions []TransactionListItem `json:"transactions"`
TotalCount int `json:"total_count"`
Limit int `json:"limit"`
Offset int `json:"offset"`
}