FINERACT-2418: add origination-api-skeleton

This commit is contained in:
Attila Budai
2026-01-21 13:13:04 +01:00
committed by Adam Saghy
parent bffa04c3e6
commit 87cad91aa8
25 changed files with 640 additions and 23 deletions
@@ -842,6 +842,17 @@
"type": "map"
}
]
},
{
"default": null,
"name": "originators",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.OriginatorDetailsV1"
}
]
}
]
}
@@ -271,6 +271,18 @@
"null",
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
]
},
{
"default": null,
"name": "originators",
"doc": "List of originators attached to the parent loan for revenue sharing",
"type": [
"null",
{
"type": "array",
"items": "org.apache.fineract.avro.loan.v1.OriginatorDetailsV1"
}
]
}
]
}
@@ -0,0 +1,62 @@
{
"name": "OriginatorDetailsV1",
"namespace": "org.apache.fineract.avro.loan.v1",
"doc": "Loan originator details for revenue sharing and reporting",
"type": "record",
"fields": [
{
"default": null,
"name": "id",
"doc": "Internal originator ID",
"type": [
"null",
"long"
]
},
{
"default": null,
"name": "externalId",
"doc": "Unique external identifier (Revenue Share ID)",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "name",
"doc": "Originator name",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "status",
"doc": "Originator status: ACTIVE, PENDING, or INACTIVE",
"type": [
"null",
"string"
]
},
{
"default": null,
"name": "originatorType",
"doc": "Code value for originator type (MERCHANT, BROKER, AFFILIATE, PLATFORM)",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
]
},
{
"default": null,
"name": "channelType",
"doc": "Code value for channel type (ONLINE, IN_STORE, API, AGGREGATOR)",
"type": [
"null",
"org.apache.fineract.avro.generic.v1.CodeValueDataV1"
]
}
]
}