post https://lending-example-api.gpsrv.com/lending/1.0/createLoan
Use the Create Loan endpoint to create a loan offering for a customer. Loan subproducts are configured for your installment loans product and are assigned a subproduct ID. Ensure you have the required customer data to create a loan.
For optional parameters, do not pass an empty string or null value.
The table below lists status codes that apply to this specific endpoint.
See Global Response Statuses for status codes that are common across endpoints.
Status Code | Code Description |
---|---|
1201-01 | The subProductId is invalid or does not exist. |
1201-02 | This SSN already exists |
1201-03 | The loan amount exceeds the maximum allowed loan amount configured for this subproduct |
1201-04 | The loan amount is less than the minimum allowed loan amount configured for this subproduct |
1201-05 | The state is invalid |
1201-06 | The loan term is greater than the maximum configured |
1201-07 | The loan term is less than the minimum configured |
1201-08 | The loan term entered must be between 0 and 9999 |
1201-09 | First name, last name, or date of birth may not be set for this customer PRN. |
1201-10 | The total loan term is more than the maximum allowable limit, please validate the capital term or loan term values. |
1201-11 | The total loan term is less than the minimum allowable limit, please validate the capital term or loan term values. |
1201-12 | The loan APR cannot exceed 36%. |
1201-13 | Since 1st Installment Due Date was provided while simulating a loan, the loan should be created on the same day as loan simulation. |
1201-14 | The simulationId is invalid or it does not exist. |
1201-15 | Disbursement destination PRN cannot be used along with disbursement destination type as EXTERNAL |