Enumerations¶
- class app.models.UserType(value)[source]¶
- OCP = 'OCP'¶
Administrators have full access to all endpoints.
- FI = 'FI'¶
Lenders have access to applications they received.
- class app.models.BorrowerStatus(value)[source]¶
- ACTIVE = 'ACTIVE'¶
The borrower may receive Credere invitations.
- DECLINE_OPPORTUNITIES = 'DECLINE_OPPORTUNITIES'¶
The borrower has opted out of Credere entirely.
- class app.models.ApplicationStatus(value)[source]¶
An application status.
See also
- PENDING = 'PENDING'¶
Credere sends an invitation to the borrower.
- DECLINED = 'DECLINED'¶
Borrower declines the invitation.
(
/applications/decline)
- ACCEPTED = 'ACCEPTED'¶
Borrower accepts the invitation.
(
/applications/access-scheme)
- SUBMITTED = 'SUBMITTED'¶
Borrower submits its application.
(
/applications/submit)
- STARTED = 'STARTED'¶
Lender starts application review.
(
/applications/{id}/start)
- REJECTED = 'REJECTED'¶
Lender rejects the application, after the borrower either submits its application or updates a document.
(
/applications/{id}/reject-application)
- INFORMATION_REQUESTED = 'INFORMATION_REQUESTED'¶
Lender requests the borrower to update a document.
(
/applications/email-sme/{id})
- LAPSED = 'LAPSED'¶
Borrower doesn’t accept or decline the invitation, doesn’t submit the application or information requested, doesn’t start external onboarding while the lender hasn’t started application review, or doesn’t respond to the lender externally.
- APPROVED = 'APPROVED'¶
Lender approves the application.
(
/applications/{id}/approve-application)
- class app.models.MessageType(value)[source]¶
- BORROWER_INVITATION = 'BORROWER_INVITATION'¶
Message the borrower to accept or decline the invitation.
PENDING (python -m app fetch-awards)
- BORROWER_PENDING_APPLICATION_REMINDER = 'BORROWER_PENDING_APPLICATION_REMINDER'¶
Remind the borrower to accept or decline the invitation.
PENDING (python -m app send-reminders)
- BORROWER_PENDING_SUBMIT_REMINDER = 'BORROWER_PENDING_SUBMIT_REMINDER'¶
Remind the borrower to submit the application.
ACCEPTED (python -m app send-reminders)
- BORROWER_EXTERNAL_ONBOARDING_REMINDER = 'BORROWER_EXTERNAL_ONBOARDING_REMINDER'¶
Remind the borrower to start external onboarding.
SUBMITTED, STARTED (python -m app send-reminders)
- SUBMISSION_COMPLETED = 'SUBMISSION_COMPLETED'¶
Confirm receipt of the application.
ACCEPTED → SUBMITTED (
/applications/submit)
- NEW_APPLICATION_OCP = 'NEW_APPLICATION_OCP'¶
Notify the administrators about a new application.
Unused, but the corresponding message is sent by
/applications/submit#330
- NEW_APPLICATION_FI = 'NEW_APPLICATION_FI'¶
Notify the lender about a new application.
Unused, but the corresponding message is sent by
/applications/submit#330
- FI_MESSAGE = 'FI_MESSAGE'¶
Request documents from the borrower.
STARTED → INFORMATION_REQUESTED (
/applications/email-sme/{id})
- BORROWER_DOCUMENT_UPDATED = 'BORROWER_DOCUMENT_UPDATED'¶
Notify the lender about the requested documents.
INFORMATION_REQUESTED → STARTED (
/applications/complete-information-request)
- REJECTED_APPLICATION = 'REJECTED_APPLICATION'¶
Notify the borrower that the application is rejected.
STARTED → REJECTED (
/applications/{id}/reject-application)
- APPROVED_APPLICATION = 'APPROVED_APPLICATION'¶
Notify the borrower that the application is pre-approved.
STARTED → APPROVED (
/applications/{id}/approve-application)
- OVERDUE_APPLICATION = 'OVERDUE_APPLICATION'¶
Remind the administrators about overdue applications.
STARTED (python -m app sla-overdue-applications)
- APPLICATION_COPIED = 'APPLICATION_COPIED'¶
Send the borrower a URL to continue the copied application.
ACCEPTED (
/applications/find-alternative-credit-option)
- EMAIL_CHANGE_CONFIRMATION = 'EMAIL_CHANGE_CONFIRMATION'¶
Verify the borrower’s new email address.
Any (
/applications/change-email)