84 lines
1.8 KiB
JSON
84 lines
1.8 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"charges": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"example": 4
|
|
},
|
|
"offer_id": {
|
|
"type": "string",
|
|
"example": "SAL30"
|
|
},
|
|
"code": {
|
|
"type": "string",
|
|
"example": "INTEREST"
|
|
},
|
|
"percent": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 1.1
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"example": "This is fee 000"
|
|
},
|
|
"due": {
|
|
"type": "integer",
|
|
"example": 0
|
|
},
|
|
"created_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2023-01-15T10:30:00Z"
|
|
},
|
|
"updated_at": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2023-01-15T10:30:00Z"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"count": {
|
|
"type": "integer",
|
|
"example": 1
|
|
},
|
|
"pagination": {
|
|
"type": "object",
|
|
"properties": {
|
|
"total_count": {
|
|
"type": "integer",
|
|
"example": 100
|
|
},
|
|
"total_pages": {
|
|
"type": "integer",
|
|
"example": 5
|
|
},
|
|
"current_page": {
|
|
"type": "integer",
|
|
"example": 1
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"example": 20
|
|
},
|
|
"has_next": {
|
|
"type": "boolean",
|
|
"example": true
|
|
},
|
|
"has_prev": {
|
|
"type": "boolean",
|
|
"example": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"xml": {
|
|
"name": "ChargesResponse"
|
|
}
|
|
} |