2023-10-08 15:59:42 +07:00
|
|
|
package response
|
|
|
|
|
|
2024-07-30 23:51:53 +07:00
|
|
|
type Balance struct {
|
|
|
|
|
PartnerID int64 `json:"partner_id"`
|
|
|
|
|
Balance float64 `json:"balance"`
|
|
|
|
|
AuthBalance float64 `json:"auth_balance"`
|
2023-10-08 15:59:42 +07:00
|
|
|
}
|
2024-07-31 23:02:15 +07:00
|
|
|
|
|
|
|
|
type BalanceInquiryResponse struct {
|
|
|
|
|
PartnerID int64 `json:"partner_id"`
|
|
|
|
|
Total int64 `json:"total"`
|
|
|
|
|
Amount int64 `json:"amount"`
|
|
|
|
|
Fee int64 `json:"fee"`
|
|
|
|
|
Token string `json:"token"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type BalanceExecuteResponse struct {
|
|
|
|
|
TransactionID string `json:"transaction_id"`
|
|
|
|
|
Status string `json:"status"`
|
|
|
|
|
}
|