Loan Request

Documentations

Documentations for API

End Points

https://z-sandbox.jsbl.com/zconnect/api/v1/loanrequest

Http Method

POST

Header

Name Type Values Description
clientSecret TEXT Access-Token Auth2.0 verification
Accept JSON application/json application/json
Content-Type JSON application/json application/json
clientId TEXT ************* *************
organizationId TEXT 223 Authenticate organization

Request Parameters

Name Description Required Parameter Type Length Sample Value

Sample Request

{
    "loanRequest": {
        "mobileNumber": "03379203492",
        "segment": "FC South",
        "channel": "FC South"
    }
}

Response Parameters

Name Description Parameter Type Length Sample Value

Response Sample

{
    "loanRequestResponse": {
        "payLoad": {
            "otpId": 19254
        },
        "channel": null,
        "checkSum": null,
        "terminal": null,
        "message": "SUCCESS",
        "transactionDate": null,
        "reterivalReferenceNumber": null,
        "errors": null,
        "responseCode": "190101"
    }
}




                            


                            


                            


                            


                            


                        

Response Code Details

{
    "loanRequestResponse": {
        "payLoad": {
            "otpId": 19254
        },
        "channel": null,
        "checkSum": null,
        "terminal": null,
        "message": "SUCCESS",
        "transactionDate": null,
        "reterivalReferenceNumber": null,
        "errors": null,
        "responseCode": "190101"
    }
}
{
    "messages": "Bad Request - Invalid Access Token",
    "errorcode": "4001"
}

{
    "messages": "Bad Request - Invalid Request Payload",
    "errorcode": "4002"
}

{
    "messages": "Bad Request - Invalid Authorization Header",
    "errorcode": "4003"
}

{
    "messages": "Something Went Wrong",
    "errorcode": "4004"
}

{
    "messages": "Record Not Found",
    "errorcode": "4005"
}

{
    "messages": "Invalid Client Id\/Secret",
    "errorcode": "4006"
}

{
    "messages": "Bad Request - Invalid Access Token",
    "errorcode": "4007"
}

Try out yourself

Security

X-IBM-Client-Id(apiKey located in header)
X-IBM-Client-Secret(apiKey located in header)
1c48aa28-2614-486f-aa2c-cbc86cc7ab51

Header Parameter

Name Values Description
Content-Type application/json Content Type application/json is supported
Accept application/json Content Type application/json is supported
organizationId xyz You will make a call to the auth-blb api and give it your client ID. You should add the client secret and organisation ID it returns here.
clientId Enter your verified Client Id
clientSecret Enter Your Verified Client Secret

Request Body

Response Body