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
Success
500
Error Response
Example Request
Example Response
POST https://apigateway.bankalfalah.com/bankalfalah/sb/bafapi-card-get-all-cards-of-customer/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": "4230137585053"
},
"ChannelId": {
"properties": [],
"type": "string",
"description": "Channel ID",
"example": "1010"
}
},
"additionalProperties": false,
"required": [
"CNIC",
"ChannelId"
]
}
{
"type": "object",
"properties": {
"values": {
"type": "array",
"items": {
"properties": {
"customerId": {
"type": "string"
},
"primaryCard": {
"type": "string"
},
"cardNumber": {
"type": "string"
},
"cardId": {
"type": "string"
},
"nameOnCard": {
"type": "string"
},
"cardProduct": {
"type": "string"
},
"cardProductId": {
"type": "string"
},
"supplementaryCards": {
"type": "string"
},
"productCategory": {
"type": "string"
},
"cardProductCode": {
"type": "string"
},
"cardCreationDate": {
"type": "string"
},
"cardType": {
"type": "string"
},
"cardCategory": {
"type": "string"
},
"cardStatus": {
"type": "string"
},
"cardStatusCode": {
"type": "string"
},
"maxRetries": {
"type": "string"
},
"retriesLeft": {
"type": "string"
},
"relationshipId": {
"type": "string"
},
"address1": {
"type": "string"
},
"address2": {
"type": "string"
},
"statusReason": {
"type": "string"
},
"expiryDate": {
"type": "string"
},
"StatusChangeReason": {
"type": "string"
}
},
"type": "object"
}
},
"totalSize": {
"type": "string"
}
},
"example": {
"values": [
{
"customerId": "1000000045125",
"primaryCard": "",
"cardNumber": "4025830030075686",
"cardId": "15037679",
"nameOnCard": "AMMAD ISHAQUE",
"cardProduct": "MAG VISA CLASSIC",
"cardProductId": "620",
"supplementaryCards": "N\/A",
"productCategory": "00",
"cardProductCode": "0201",
"cardCreationDate": "20140805",
"cardType": "Primary",
"cardCategory": "00",
"cardStatus": "Hot",
"cardStatusCode": "02",
"maxRetries": "3",
"retriesLeft": "3",
"relationshipId": "4025830030075686=1908",
"address1": "HOMEADDRESS1",
"address2": "HOMEADDRESS2",
"statusReason": "Iris Configured",
"expiryDate": "20190831",
"StatusChangeReason": ""
},
{
"customerId": "1000000045125",
"primaryCard": "",
"cardNumber": "4025830030075686",
"cardId": "15037679",
"nameOnCard": "AMMAD ISHAQUE",
"cardProduct": "MAG VISA CLASSIC",
"cardProductId": "620",
"supplementaryCards": "N\/A",
"productCategory": "00",
"cardProductCode": "0201",
"cardCreationDate": "20140805",
"cardType": "Primary",
"cardCategory": "00",
"cardStatus": "Hot",
"cardStatusCode": "02",
"maxRetries": "3",
"retriesLeft": "3",
"relationshipId": "4025830030075686=1908",
"address1": "HOMEADDRESS1",
"address2": "HOMEADDRESS2",
"statusReason": "Iris Configured",
"expiryDate": "20190831",
"StatusChangeReason": ""
},
{
"customerId": "1000000045125",
"primaryCard": "",
"cardNumber": "4025830030075686",
"cardId": "15037679",
"nameOnCard": "AMMAD ISHAQUE",
"cardProduct": "MAG VISA CLASSIC",
"cardProductId": "620",
"supplementaryCards": "N\/A",
"productCategory": "00",
"cardProductCode": "0201",
"cardCreationDate": "20140805",
"cardType": "Primary",
"cardCategory": "00",
"cardStatus": "Hot",
"cardStatusCode": "02",
"maxRetries": "3",
"retriesLeft": "3",
"relationshipId": "4025830030075686=1908",
"address1": "HOMEADDRESS1",
"address2": "HOMEADDRESS2",
"statusReason": "Iris Configured",
"expiryDate": "20190831",
"StatusChangeReason": ""
},
{
"customerId": "1000000045125",
"primaryCard": "",
"cardNumber": "4025830030075686",
"cardId": "15037679",
"nameOnCard": "AMMAD ISHAQUE",
"cardProduct": "MAG VISA CLASSIC",
"cardProductId": "620",
"supplementaryCards": "N\/A",
"productCategory": "00",
"cardProductCode": "0201",
"cardCreationDate": "20140805",
"cardType": "Primary",
"cardCategory": "00",
"cardStatus": "Hot",
"cardStatusCode": "02",
"maxRetries": "3",
"retriesLeft": "3",
"relationshipId": "4025830030075686=1908",
"address1": "HOMEADDRESS1",
"address2": "HOMEADDRESS2",
"statusReason": "Iris Configured",
"expiryDate": "20190831",
"StatusChangeReason": ""
},
{
"customerId": "1000000045125",
"primaryCard": "",
"cardNumber": "4025830030075686",
"cardId": "15037679",
"nameOnCard": "AMMAD ISHAQUE",
"cardProduct": "MAG VISA CLASSIC",
"cardProductId": "620",
"supplementaryCards": "N\/A",
"productCategory": "00",
"cardProductCode": "0201",
"cardCreationDate": "20140805",
"cardType": "Primary",
"cardCategory": "00",
"cardStatus": "Hot",
"cardStatusCode": "02",
"maxRetries": "3",
"retriesLeft": "3",
"relationshipId": "4025830030075686=1908",
"address1": "HOMEADDRESS1",
"address2": "HOMEADDRESS2",
"statusReason": "Iris Configured",
"expiryDate": "20190831",
"StatusChangeReason": ""
}
],
"totalSize": "5"
}
}
{
"type": "object",
"properties": {
"ResponseCode": {
"type": "string"
},
"ResponseDesc": {
"type": "string"
}
},
"example": {
"ResponseCode": "99",
"ResponseDesc": "Failed"
}
}