update
This commit was merged in pull request #3.
This commit is contained in:
@@ -0,0 +1,126 @@
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"loans": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"example": 50000.0
|
||||
},
|
||||
"currency": {
|
||||
"type": "string",
|
||||
"example": "Naira"
|
||||
},
|
||||
"currency_text": {
|
||||
"type": "string",
|
||||
"example": "₦"
|
||||
},
|
||||
"text": {
|
||||
"type": "string",
|
||||
"example": "this week"
|
||||
}
|
||||
}
|
||||
},
|
||||
"payments": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"example": 25
|
||||
},
|
||||
"currency": {
|
||||
"type": "string",
|
||||
"example": "Naira"
|
||||
},
|
||||
"currency_text": {
|
||||
"type": "string",
|
||||
"example": "₦"
|
||||
},
|
||||
"text": {
|
||||
"type": "string",
|
||||
"example": "this week"
|
||||
}
|
||||
}
|
||||
},
|
||||
"request_summary": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"eligibility_check": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Eligibility": {
|
||||
"type": "integer",
|
||||
"example": 120
|
||||
}
|
||||
}
|
||||
},
|
||||
"select_offer": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Offers": {
|
||||
"type": "integer",
|
||||
"example": 85
|
||||
}
|
||||
}
|
||||
},
|
||||
"provide_loan": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Loans": {
|
||||
"type": "integer",
|
||||
"example": 50
|
||||
}
|
||||
}
|
||||
},
|
||||
"repayment": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Repayments": {
|
||||
"type": "integer",
|
||||
"example": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"recent_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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user