update
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"loans": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"customer_id": {
|
||||
"type": "string",
|
||||
"example": "CUST123"
|
||||
},
|
||||
"account_id": {
|
||||
"type": "string",
|
||||
"example": "ACC456"
|
||||
},
|
||||
"offer_id": {
|
||||
"type": "string",
|
||||
"example": "OFFER789"
|
||||
},
|
||||
"initial_loan_amount": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 10000.0
|
||||
},
|
||||
"current_loan_amount": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 8500.0
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"example": "active"
|
||||
},
|
||||
"product_id": {
|
||||
"type": "string",
|
||||
"example": "PROD101"
|
||||
},
|
||||
"default_penalty_fee": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 500.0
|
||||
},
|
||||
"continuous_fee": {
|
||||
"type": "number",
|
||||
"format": "float",
|
||||
"example": 50.0
|
||||
},
|
||||
"due_date": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-12-31T23:59:59Z"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-01-15T10:30:00Z"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"example": "2023-01-20T14:45:00Z"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"count": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
}
|
||||
},
|
||||
"xml": {
|
||||
"name": "LoansResponse"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"transactions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"example": 1
|
||||
},
|
||||
"transaction_id": {
|
||||
"type": "string",
|
||||
"example": "TRX123456"
|
||||
},
|
||||
"account_id": {
|
||||
"type": "string",
|
||||
"example": "ACC456"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"example": "PAYMENT"
|
||||
},
|
||||
"channel": {
|
||||
"type": "string",
|
||||
"example": "MOBILE"
|
||||
},
|
||||
"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
|
||||
}
|
||||
},
|
||||
"xml": {
|
||||
"name": "TransactionsResponse"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user