Add Balance Api
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
package response
|
||||
|
||||
type Branch struct {
|
||||
ID *int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Status string `json:"status"`
|
||||
Location string `json:"location"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type BranchList struct {
|
||||
Branches []Branch `json:"branches"`
|
||||
Total int64 `json:"total"`
|
||||
Limit int `json:"limit"`
|
||||
Offset int `json:"offset"`
|
||||
type Balance struct {
|
||||
PartnerID int64 `json:"partner_id"`
|
||||
Balance float64 `json:"balance"`
|
||||
AuthBalance float64 `json:"auth_balance"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user