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
Example Request
Example Response
POST https://apigateway.bankalfalah.com/bankalfalah/sb/bafapi-card-create-new-card-virtual/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
{
"type": "object",
"properties": {
"productCode": {
"type": "string"
},
"nameOnCard": {
"type": "string"
},
"expiry": {
"type": "string"
},
"branchCode": {
"type": "string"
},
"accountId": {
"type": "string"
},
"AccountType": {
"type": "string"
},
"AccountCurrency": {
"type": "string"
},
"customerData": {
"type": "object",
"properties": {
"customerType": {
"type": "string"
},
"customerCategory": {
"type": "string"
},
"registrationIdType": {
"type": "string"
},
"depositSource": {
"type": "string"
},
"status": {
"type": "string"
},
"cnic": {
"type": "string"
},
"nic": {
"type": "string"
},
"dateOfBirth": {
"type": "string"
},
"homePhone": {
"type": "string"
},
"mobileNumber": {
"type": "string"
},
"fathersName": {
"type": "string"
},
"mothersName": {
"type": "string"
},
"email": {
"type": "string"
},
"company": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"homeAddress1": {
"type": "string"
},
"homeAddress2": {
"type": "string"
},
"homeAddress3": {
"type": "string"
},
"homeAddress4": {
"type": "string"
},
"homeAddress5": {
"type": "string"
},
"officeAddress1": {
"type": "string"
},
"officeAddress2": {
"type": "string"
},
"officeAddress3": {
"type": "string"
},
"officeAddress4": {
"type": "string"
},
"officeAddress5": {
"type": "string"
},
"designation": {
"type": "string"
},
"firstName": {
"type": "string"
},
"middleName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"billingFlag": {
"type": "string"
},
"activitionDate": {
"type": "string"
},
"lastUpdatedDate": {
"type": "string"
},
"registrationDate": {
"type": "string"
},
"passportNo": {
"type": "string"
},
"oldCustomerId": {
"type": "string"
},
"transactionAlerts": {
"type": "string"
},
"channelAlerts": {
"type": "string"
},
"transactionInsurance": {
"type": "string"
},
"faxNumber": {
"type": "string"
},
"gender": {
"type": "string"
},
"internalBranchId": {
"type": "string"
},
"hostCustomerId": {
"type": "string"
},
"homePostalCode": {
"type": "string"
},
"officesPostalCode": {
"type": "string"
},
"maritalstatus": {
"type": "string"
},
"province": {
"type": "string"
},
"occupation": {
"type": "string"
},
"nationality": {
"type": "string"
},
"placeOfBirth": {
"type": "string"
},
"title": {
"type": "string"
},
"custLanguage": {
"type": "string"
},
"isFirstLogin": {
"type": "string"
},
"custDispenseAlgo": {
"type": "string"
},
"shortCode": {
"type": "string"
},
"typeOfActivity": {
"type": "string"
},
"MONTHLYINCOME": {
"type": "string"
}
}
}
},
"example": {
"productCode": "9091",
"nameOnCard": "Abdul Quddose",
"expiry": "07\/2022",
"branchCode": "0007",
"accountId": "12281006755555",
"AccountType": "20",
"AccountCurrency": "586",
"customerData": {
"customerType": "00",
"customerCategory": "BANKED",
"registrationIdType": "Registration ID Type",
"depositSource": "Deposit Source",
"status": "00",
"cnic": "5555555555555",
"nic": "5555555555555",
"dateOfBirth": "",
"homePhone": "",
"mobileNumber": "01234567891",
"fathersName": "",
"mothersName": "",
"email": "taimjamal@gmail.com",
"company": "Company",
"city": "",
"country": "",
"homeAddress1": "",
"homeAddress2": "Home Address 2",
"homeAddress3": "Home Address 3",
"homeAddress4": "Home Address 4",
"homeAddress5": "Home Address 5",
"officeAddress1": "Office Address 1",
"officeAddress2": "Office Address 2",
"officeAddress3": "Office Address 3",
"officeAddress4": "Office Address 4",
"officeAddress5": "Office Address 5",
"designation": "Business Consultant",
"firstName": "Abdul",
"middleName": "",
"lastName": "Quddose",
"billingFlag": "Billing Flag",
"activitionDate": "18\/12\/2019",
"lastUpdatedDate": "18\/12\/2019",
"registrationDate": "18\/12\/2019",
"passportNo": "PK23545234",
"oldCustomerId": "1111",
"transactionAlerts": "",
"channelAlerts": "",
"transactionInsurance": "",
"faxNumber": "1111",
"gender": "",
"internalBranchId": "",
"hostCustomerId": "55555",
"homePostalCode": "",
"officesPostalCode": "75220",
"maritalstatus": "",
"province": "",
"occupation": "",
"nationality": "",
"placeOfBirth": "",
"title": "",
"custLanguage": "",
"isFirstLogin": "sample string 56",
"custDispenseAlgo": "sample string 57",
"shortCode": "1111",
"typeOfActivity": "sample string 59",
"MONTHLYINCOME": ""
}
}
}
{
"type": "object",
"properties": {
"CustomerUniqueId": {
"type": "string"
},
"AccountID": {
"type": "string"
},
"CardID": {
"type": "string"
}
},
"example": {
"CustomerUniqueId": "1000003376590",
"AccountID": "12281006755555 -20-586",
"CardID": "22145099"
}
}
{
"type": "object",
"properties": {
"ResponseCode": {
"type": "string"
},
"ResponseDesc": {
"type": "string"
}
},
"example": {
"ResponseCode": "99",
"ResponseDesc": "Failed"
}
}