IBFT

This API is used for IBFT

IBFT

POST

IBFT

 

 

Description

 

This API is used to transfer the fund to the Beneficiary Account..

 

 

Version


V2


Resource URL

https://sandbox.jsbl.com/v2 /ibft-blb


Header


Name Type Values Description Length

Authorization

String Bearer
Example: Bearer xxxxxxxxxxxxx
Access Token will be generated through OAuth API NA

Content-Type

String Example:
application/json
Only “application/json” Content-Type is supported. NA


 

 

 

Request Parameters

 

Name Description Parameter Type Sample Value

MerchantType

Merchant Type String 0088

TraceNo

Trace No Only numbers are allowed 515404

CompanyName

Company Name String BIFILER

DateTime

Date Time YYYYMMddHHmmss 20210706121213

TerminalId

Terminal Id String BFILER

SenderMobileNumber

Sender Mobile No String 03346578999

RecieverMobileNumber

Reciever Mobile Number String 03346578999

SourceBankIMD

Source Bank IMD String 603733

DestinstionBankIMD

Destinstion Bank IMD String 100196

DestinationAccount

Destination Account String 00020000011005325

Amount

Amount Only numbers and decimal allowed 100

OtpPin

OtpPin String

 E/TeudWjtVuj2B2nEJIVJicbVxkdL79eZRCfB9COcnrLuxn5K5

HtPrPSow+2pgjNcfUkPYCS1kmYMOaZQsQA4hrlrncEHzRtol

xPNckv93+EoL89Rayc8RlWaM0KXhUWMmbZr3ruDNOa7Ro

DmWOHb28vF7zKA2h+NUe5jnKdH0EugX2BmKIFvR86J7R

US62JKs7tRsvStvhtR2M80ZKcHXG9fRcy4YXT0qY2zziJK1+

xrEEs4COfYBkqz6u51T/IN8TaZofQbJgP+jNZpua9/2m2R284

rFrESPdfXGwTi+E6Lk794ZgI81igUXFhv+Fb2/SvFmymJR7b

kKK9fKCXJQ==

MPin

MPin String NA

PurposeOfPayment

Purpose Of Payment String 206

SenderAcountTitle

Sender Acount Title String ALI ALI

RecieverAccountTitle

Reciever Account Title String TAIMOOR ALI 1-LINK

ToBankName

To Bank Name String MODEL BANK

RecieverAccountTitle

Reciever Account Title String TAIMOOR ALI 1-LINK

ToBranchName

To Branch Name String LANDHI KARACHI

BenificiaryIBAN

Benificiary IBAN String NA

Reserved1

Reserved 1 String 02

Sample  Request

 

{

"IBFTRequest":

{

"MerchantType":"0088",

"TraceNo":"515404",

"CompanyName":"BIFILER",

"DateTime":"20210706121213",

"TerminalId" : "BFILER",

"SenderMobileNumber":"03346578999",

"RecieverMobileNumber":"03346578999",

"SourceBankIMD":"603733",

"DestinstionBankIMD":"100196",

"DestinationAccount":"00020000011005325",

"Amount":"100", "OtpPin":"E/TeudWjtVuj2B2nEJIVJicbVxkdL79eZRCfB9COcnrLuxn5K5HtPrPSow+2pgjNcfUkPYCS1kmYMO aZQsQA4hrlrncEHzRtolxPNckv93+EoL89Rayc8RlWaM0KXhUWMmbZr3ruDNOa7RoDmWOHb28vF7zKA2 h+NUe5jnKdH0EugX2BmKIFvR86J7RUS62JKs7tRsvStvhtR2M80ZKcHXG9fRcy4YXT0qY2zziJK1+xrEEs4COfY Bkqz6u51T/IN8TaZofQbJgP+jNZpua9/2m2R284rFrESPdfXGwTi+E6Lk794ZgI81igUXFhv+Fb2/SvFmymJR7b kKK9fKCXJQ==",

"MPin":"",

"PurposeOfPayment":"206",

"SenderAcountTitle":"ALI ALI",

"RecieverAccountTitle":"TAIMOOR ALI 1-LINK",

"ToBankName":"MODEL BANK",

"ToBranchName":"LANDHI KARACHI",

"BenificiaryIBAN":"",

"Reserved1":"02"

}

Response Parameters

 

Name Description Parameter Type Sample Value

MerchantType

Merchant Type String  0088

TraceNo

Trace No Only numbers are allowed  515404

CompanyName

Company Name String  BIFILER

DateTime

Date Time YYYYMMddHHmmss

 20210706121213

Charges

Charges String  

ResponseCode

Response Code String

 14

ResponseDetails

Response Details Array of String  No Customer found against given CNIC/Mobile Number

 

 

Sample  Response

{

"IBFTResponse":

{

"MerchantType": "0088",

"TraceNo": "515404",

"CompanyName": "BIFILER",

"DateTime": "20210706121213",

"ResponseCode": "14",

"ResponseDetails": [ "No Customer found against given CNIC/Mobile Number" ]

}     

}

Response Code Details


{
"requestId": "3091741309081",
"errorCode": "01",
"errorMessage": "Bad Request - Invalid Authorization Header"
}



{
"requestId": "3091741309081",
"errorCode": "03",
"errorMessage": "Bad Request - Invalid Request Payload"
}



{
"requestId": "3091741309081",
"errorCode": "04",
"errorMessage": "Bad Request - Resource not found"
}



{
"requestId": "3091741309081",
"errorCode": "05",
"errorMessage": "Bad Request - Invalid Access Token"
}
{
    "ResponseCode": "00",
    "ResponseDescription": "Successful",
    "Rrn": "",
    "MobileNumber": "03464991719",
    "Cnic": "3520214402765",
    
}


Try-out Yourself

Header Parameters


Name Values Description
Authorization
(required)

Auth2.0 verification. "Bearer" keyword followed by a space and generated Access Token from OAuth API. Like "Bearer xxxxxxx"

Content-Type
(required)

Content Type application/json is supported

Body Parameters


Name Values Description
Request Body
(required)

Add values in JSON Body

Request Body

HTTP Basic

OAuth 2.0

API Key

Clear Request

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Code examples

  • var request = require('request'),
    oauth_token = "YOUR_ACCESS_TOKEN",
    url = "https://sandbox.jsbl.com/v2/ibft-blb"
    auth = "Bearer " + oauth_token;
    request(
    {
    method: 'POST'
    url : url,
    headers : {
    "Authorization" : auth
    }, json : {
    
    "MerchantType" :"",
    "TraceNo" :"",
    "CompanyName" :"",
    "DateTime" :"",
    "TerminalId" :"",
    "SenderMobileNumber" :"",
    "ReceiverMobileNumber" :"",
    "SourceBankIMD" :"",
    "DestinationBankIMD" :"",
    "DestinationAccount" :"",
    "Amount" :"",
    "OtpPin" :"",
    "MPin" :"",
    "PurposeOfPayment" :"",
    "SenderAccountTitle" :"",
    "ReceiverAccountTitle" :"",
    "ToBankName" :"",
    "ToBranchName" :"",
    "BenificaryIBAN" :"",
    "Reserved1" :"",
    
    
    
    
    
    } }, function (error, response, body) {
    // TODO: Use the body object to extract the response
    console.log(body)
    }
    )
    
  • <?PHP
    
    $url = 'https://sandbox.jsbl.com/v2/ibft-blb';
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_URL, $url);
    curl_setopt($curl, CURLOPT_HTTPHEADER, 
    array('Content-Type:application/json','Authorization:Bearer 
    ACCESS_TOKEN')); //setting custom header $curl_post_data = array(
    //Fill in the request parameters with valid values
    'MerchantType' => ' ',
    'TraceNo' => ' '
    'CompanyName' => ' ',
    'DateTime' => ' '
    'TerminalId' => ' ',
    'SenderMobileNumber' => ' '
    'ReceiverMobileNumber' => ' '
    'SourceBankIMD' => ' '
    'DestinationBankIMD' => ' '
    'DestinationAccount' => ' '
    'Amount' => ' ',
    'OtpPin' => ' ',
    'MPin' => ' ',
    'PurposeOfPayment' => ' '
    'SenderAccountTitle' => ' ',
    'ReceiverAccountTitle' => ' '
    'ToBankName' => ' '
    'ToBranchName' => ' '
    'BenificaryIBAN' => ' '
    'Reserved1' => ' '
    
    
    ); $data_string = json_encode($curl_post_data);
    
  • require 'net/http'
    require 'net/https'
    require 'uri'
    uri = URI('https://sandbox.jsbl.com/v2/ibft-blb')
    http = Net::HTTP.new(uri.host, uri.port)
    http.use_ssl = true
    http.verify_mode = OpenSSL::SSL::VERIFY_NONE
    request = Net::HTTP::Get.new(uri)
    request["accept"] = 'application/json'
    request["content-type"] = 'application/json'
    request["authorization"] = 'Bearer '
    request.body = "{
    
    
    \"MerchantType\":\" \",
    \"TraceNo\":\" \"
    \"CompanyName\":\" \",
    \"DateTime\":\" \"
    \"TerminalId\":\" \",
    \"SenderMobileNumber\":\" \"
    \"ReceiverMobileNumber\":\" \"
    \"SourceBankIMD\":\" \"
    \"DestinationBankIMD\":\" \"
    \"DestinationAccount\":\" \"
    \"Amount\":\" \",\"TransactionType\":\" \"
    \"OtpPin\":\" \",\"TransactionType\":\" \"
    \"MPin\":\" \",
    \"PurposeOfPayment\":\" \"
    \"SenderAccountTitle\":\" \",
    \"ReceiverAccountTitle\":\" \"
    \"ToBankName\":\" \"
    \"ToBranchName\":\" \"
    \"BenificaryIBAN\":\" \"
    \"Reserved1\":\" \"
    
    
    
    }"
    response = http.request(request)
    puts response.read_body
    
  • curl -X POST --header "Authorization: 
    Bearer " --header "Content-Type: 
    \"MerchantType\":\" \",
    \"TraceNo\":\" \"
    \"CompanyName\":\" \",
    \"DateTime\":\" \"
    \"TerminalId\":\" \",
    \"SenderMobileNumber\":\" \"
    \"ReceiverMobileNumber\":\" \"
    \"SourceBankIMD\":\" \"
    \"DestinationBankIMD\":\" \"
    \"DestinationAccount\":\" \"
    \"Amount\":\" \",\"TransactionType\":\" \"
    \"OtpPin\":\" \",\"TransactionType\":\" \"
    \"MPin\":\" \",
    \"PurposeOfPayment\":\" \"
    \"SenderAccountTitle\":\" \",
    \"ReceiverAccountTitle\":\" \"
    \"ToBankName\":\" \"
    \"ToBranchName\":\" \"
    \"BenificaryIBAN\":\" \"
    \"Reserved1\":\" \"
    
    }" "https://sandbox.jsbl.com/v2/ibft-blb"
    
  • OkHttpClient client = new OkHttpClient();
    MediaType mediaType = MediaType.parse("application/json");
    RequestBody body = RequestBody.create(mediaType, "{
    \"MerchantType\":\" \",
    \"TraceNo\":\" \"
    \"CompanyName\":\" \",
    \"DateTime\":\" \"
    \"TerminalId\":\" \",
    \"SenderMobileNumber\":\" \"
    \"ReceiverMobileNumber\":\" \"
    \"SourceBankIMD\":\" \"
    \"DestinationBankIMD\":\" \"
    \"DestinationAccount\":\" \"
    \"Amount\":\" \",\"TransactionType\":\" \"
    \"OtpPin\":\" \",\"TransactionType\":\" \"
    \"MPin\":\" \",
    \"PurposeOfPayment\":\" \"
    \"SenderAccountTitle\":\" \",
    \"ReceiverAccountTitle\":\" \"
    \"ToBankName\":\" \"
    \"ToBranchName\":\" \"
    \"BenificaryIBAN\":\" \"
    \"Reserved1\":\" \"
    
    
    }");
    Request request = new Request.Builder()
    .url("https://sandbox.jsbl.com/v2/ibft-blb")
    .post(body)
    .addHeader("authorization", "Bearer YOUR_OAUTH_TOKEN")
    .addHeader("content-type", "application/json")
    .build();
    Response response = client.newCall(request).execute(); 
    

FAQs

You need to go through the section "How it Works".

Prerequisite(s)

1. Authentication Bear OAuth access token

2.Title Fetch

Resource Summary

Security

Authentication

Content Type

application/json

Working...