107 lines
2.4 KiB
JSON
107 lines
2.4 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"repayment_data": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"example": 1
|
|
},
|
|
"transaction_id": {
|
|
"type": "string",
|
|
"example": "TRX123456",
|
|
"nullable": false
|
|
},
|
|
"added_date": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"example": "2025-04-10T16:45:47.879Z"
|
|
},
|
|
"response_code": {
|
|
"type": "string",
|
|
"example": "00",
|
|
"nullable": true
|
|
},
|
|
"response_descr": {
|
|
"type": "string",
|
|
"example": "Repayment successful",
|
|
"nullable": true
|
|
},
|
|
"fbn_transaction_id": {
|
|
"type": "string",
|
|
"example": "FBN123456",
|
|
"nullable": true
|
|
},
|
|
"customer_id": {
|
|
"type": "string",
|
|
"example": "CID0000025585",
|
|
"nullable": true
|
|
},
|
|
"account_id": {
|
|
"type": "string",
|
|
"example": "ACCT000000123",
|
|
"nullable": true
|
|
},
|
|
"repayment_amount": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 15000.0,
|
|
"nullable": true
|
|
},
|
|
"amount_collected": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 14500.0,
|
|
"nullable": true
|
|
},
|
|
"balance": {
|
|
"type": "number",
|
|
"format": "float",
|
|
"example": 500.0,
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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": "RepaymentDataResponse"
|
|
}
|
|
}
|