production
development
https://apigateway.bankalfalah.com/bankalfalah/sb
Paths
/v1
post /v1
clientIdHeader
X-IBM-Client-Id
(apiKey located in header)
clientSecretHeader
X-IBM-Client-Secret
(apiKey located in header)
OAuth
OAuth
(oauth2 application)
OAuth Authentication
Token URL
https://apigateway.bankalfalah.com/bankalfalah/sb/oauthproviderapi/oauth2/token
Scopes
GetToken
RequestBody
Required in body
object
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
200
200 OK
500
Error
Example Request
Example Response
POST https://apigateway.bankalfalah.com/bankalfalah/sb/bafapi-wallet-getcustomerdetails/v1
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"properties": {
"CNIC": {
"type": "string",
"description": "CNIC",
"example": "8220354921869"
}
},
"additionalProperties": false,
"required": [
"CNIC"
]
}
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"properties": {
"ID": {
"type": "string"
},
"ATTRIBUTECODE": {
"type": "string"
},
"ATTRIBUTENAME": {
"type": "string"
},
"ATTRIBUTEVALUE": {
"type": "string"
},
"ISMANDATORY": {
"type": "string"
},
"ISUNIQUE": {
"type": "string"
},
"ACCOUNTHOLDERID": {
"type": "string"
}
},
"type": "object"
}
}
},
"example": {
"code": "00",
"description": "SUCCESS",
"data": [
{
"ID": "559335147",
"ATTRIBUTECODE": "Company Name",
"ATTRIBUTENAME": "Company Name",
"ATTRIBUTEVALUE": "THE CAPRICORN ENTERPRISES",
"ISMANDATORY": "0",
"ISUNIQUE": "0",
"ACCOUNTHOLDERID": "559335145"
},
{
"ID": "559335147",
"ATTRIBUTECODE": "Company Name",
"ATTRIBUTENAME": "Company Name",
"ATTRIBUTEVALUE": "THE CAPRICORN ENTERPRISES",
"ISMANDATORY": "0",
"ISUNIQUE": "0",
"ACCOUNTHOLDERID": "559335145"
},
{
"ID": "559335147",
"ATTRIBUTECODE": "Company Name",
"ATTRIBUTENAME": "Company Name",
"ATTRIBUTEVALUE": "THE CAPRICORN ENTERPRISES",
"ISMANDATORY": "0",
"ISUNIQUE": "0",
"ACCOUNTHOLDERID": "559335145"
}
]
}
}
{
"type": "object",
"properties": {
"ResponseCode": {
"type": "string"
},
"ResponseDesc": {
"type": "string"
}
},
"example": {
"ResponseCode": "99",
"ResponseDesc": "Failed"
}
}