Create endpoints
| Method | Route | Input | Response |
POST | /api/Application/create-customer | UserRequest | UserResponse |
POST | /api/Application/create-application | ApplicationRequest | Guid |
POST | /api/Application/create-customer-and-application | ApplicationAndCustomerRequest | ApplicationCustomerResponse |
POST | /api/Application/create-customer-and-application-and-applicant | Combined customer, application, applicant payload | ApplicationCustomerResponse |
POST | /api/Application/create-application-and-applicant | Application plus applicant payload | Guid |
{
"customerId": "00000000-0000-0000-0000-000000000000",
"businessZip": "2000",
"businessName": "Northwind Pty Ltd",
"extraInformation": {
"zipcode": "2000"
}
}
create-customer requires first name, last name, email, mobile number, and a strong password.
create-application practically requires customerId and zip code through businessZip or extraInformation.zipcode.
Banking and processing
| Method | Route | Input | Response |
POST | /api/Application/add-or-update-banking-data/{applicationId} | bankName query param + BankingDataRequest | bool |
GET | /api/Application/process-application/{applicationId} | No body | Offer Guid |
POST | /api/Application/submit-bankstatement-document/{applicationId} | byte[] fileData, fileName | bool |
{
"bankAccounts": [
{
"bank": "Demo Bank",
"availableBalance": "10000",
"currentBalance": "10000",
"accountNumber": "12345678",
"routing": "062000",
"accountType": "Business",
"accountName": "Operating Account",
"transactions": []
}
]
}
Read and update endpoints
| Method | Route | Input | Response |
GET | /api/Application/application-status/{applicationId} | No body | string |
GET | /api/Application/application-offer/{applicationId} | No body | OfferResponse |
GET | /api/Application/get-customer-applications/{customerId} | No body | Application list |
GET | /api/Application/get-partner-applications/{partnerId} | No body | Application list |
GET | /api/Application/get-application/{applicationId} | No body | Application summary |
GET | /api/Application/update-application-name/{applicationId} | name query param | bool |
GET | /api/Application/update-application-name-and-zip-code/{applicationId} | name, zipCode query params | bool |
GET | /api/Application/update-customer-data/{applicationId} | Multiple query params | bool |
GET | /api/Application/update-application-data/{applicationId} | name, zipcode, startDate | bool |
POST | /api/Application/cancel-application/{applicationId} | No body | bool |