2024-09-06 15:12:50 +07:00

21 lines
688 B
Go

package response
type TransactionListItem struct {
ID string `json:"id"`
TransactionType string `json:"transaction_type"`
Status string `json:"status"`
CreatedAt string `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"`
}