post
https://uatmea-iss-apigw.creditpluspinelabs.com/deviceapi/apis/loans/inquiries
This API allows inquiry of two types of use cases – pre loan booking and post loan booking. In case of post loan booking existing open or in-progress loan account details can be responded along with complete repayment schedule. For pre loan booking case, the issuer can inquire the installment details even before actual loan booking for a specific cardholder for the specific type of loan. Both API request and response are encrypted and the method is same for both request and response attributes. Refer to the Message Level Security - AES Encryption section in the CR+ REST API Security Requirements attachment document for detailed information on encryption of JSON payload. It is applicable for credit product issued on Pine Labs platform.
HTTP Status and Response Status Matrix
- HTTP Code: This is the response status code issued by a server in response to a client's request made to the server.
- Error Code: This is the error code returned by Credit+ Issuing application in the ‘code’ field of the response message indicating if the request was processed successfully or failed.
- Reason: This is the description of the error code returned by Credit+ Issuing application.
| HTTP Code | Error Code | Reason |
|---|---|---|
| 400 | RECORD_NOT_FOUND | Either Loan Type or Loan Amount or Number of Instalments Should Be Mandatory |
| 400 | RECORD_NOT_FOUND | Entered Device number or Card Pack Id is Invalid |
| 400 | RECORD_NOT_FOUND | Device plan code and Program code is mandatory for CNA |
| 400 | ALIAS_CAPABILITY_NOT_ENABLED | Alias capability not enabled |
| 400 | UNIQUE_RECORD_NOT_FOUND | Multiple records found for given search criteria for CNA |
| 400 | RECORD_NOT_FOUND | Entered Values Data is not found for CNA |
| 400 | DEVICE_STATUS_NOT_SUPPORTED | Device, Operation not permitted |
| 400 | INVALID_FIELD_VALUE | Wallet Admin and Unpaid Status should Be Normal |
| 400 | INVALID_FIELD_VALUE | Loan Plan Code and Loan Type combination should be Unique |
| 400 | RECORD_NOT_FOUND | No matching Loan plan found with input values |
| 400 | INVALID_FIELD_VALUE | Loan Booking Date Should Be More Than The Institution Date |