Documentations for API
| Name | Type | Values | Description |
|---|
| Name | Description | Required | Parameter Type | Length | Sample Value |
|---|
null
| Name | Description | Parameter Type | Length | Sample Value |
|---|
{
"responseCode": "00",
"message": "Success",
"channel": null,
"terminal": null,
"transactionDate": null,
"stan": null,
"reterivalReferenceNumber": null,
"payLoad": null,
"configurationPayloadDto": null,
"errors": null,
"checkSum": null,
"acknowledgmentMessageEnglish": "",
"acknowledgmentMessageUrdu": "",
"AccountSelection": {
"Title": "Select Account",
"AccountTypeHeading": "Choose account type",
"AccountTypeSubHeading": "Pick the account that fits you",
"AccountTypes": [
{
"AccountTypeId": 105,
"AccountTypeName": "Minor",
"ShortDescription": "Account for customers under 18",
"Description": "Minor account opened with SNIC or B-Form and a parent or guardian",
"Stroke": "#7A3E9D",
"Color": "#F4ECF9",
"FeaturesHeading": "Features",
"Benefits": [
"Parent or guardian linked",
"Debit card on request",
"Raast optional"
],
"RequirementsHeading": "Requirements",
"Requirements": [
{
"Text": "SNIC (front + back) or B-Form"
},
{
"Text": "Parent CNIC and mobile"
},
{
"Text": "Location permission"
}
]
}
]
}
}
{
"responseCode": "00",
"message": "Success",
"channel": null,
"terminal": null,
"transactionDate": null,
"stan": null,
"reterivalReferenceNumber": null,
"payLoad": null,
"configurationPayloadDto": null,
"errors": null,
"checkSum": null,
"acknowledgmentMessageEnglish": "",
"acknowledgmentMessageUrdu": "",
"AccountSelection": {
"Title": "Select Account",
"AccountTypeHeading": "Choose account type",
"AccountTypeSubHeading": "Pick the account that fits you",
"AccountTypes": [
{
"AccountTypeId": 105,
"AccountTypeName": "Minor",
"ShortDescription": "Account for customers under 18",
"Description": "Minor account opened with SNIC or B-Form and a parent or guardian",
"Stroke": "#7A3E9D",
"Color": "#F4ECF9",
"FeaturesHeading": "Features",
"Benefits": [
"Parent or guardian linked",
"Debit card on request",
"Raast optional"
],
"RequirementsHeading": "Requirements",
"Requirements": [
{
"Text": "SNIC (front + back) or B-Form"
},
{
"Text": "Parent CNIC and mobile"
},
{
"Text": "Location permission"
}
]
}
]
}
}
{
"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"
}
| 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 |