GET /api/v1/bank_account_information
Show Bank Account Information

Show the fields of an existing bank account information record for the onboarding live application of the currently authenticated merchant.

betaThis API is a pre-release. Please contact KOMOJU to obtain more usage instructions before using it.

Examples

  • cURL
  • Node.js
  • Ruby
curl -X GET https://komoju.com/api/v1/live_application/bank_account_information \
  -u sk_123456:
var https = require('https');
var secret_key = 'sk_123456'
var auth = 'Basic ' + Buffer.from(secret_key + ':').toString('base64');
var get_options = {
  host: 'komoju.com',
  port: '443',
  path: '/api/v1/live_application/bank_account_information',
  method: 'GET',
  headers: {
    'Authorization': auth
  }
};

var get_req = https.request(get_options, function(res) {
    res.setEncoding('utf8');
    res.on('data', function (chunk) {
        console.log(chunk);
    });
});

get_req.end();
require 'uri'
require 'net/https'
require 'json'
require 'base64'
require 'pp'
uri = URI.parse('https://komoju.com/api/v1/live_application/bank_account_information')
https = Net::HTTP.new(uri.host, uri.port)
https.use_ssl = true
secret_key = 'sk_123456'
auth = Base64.encode64("#{secret_key}:")
headers = {
  'Content-Type' => 'application/json',
  'Authorization' => "Basic #{auth}"
}

res = https.get(uri.path, headers)
puts res.body
{
  "resource": "bank_account_information",
  "status": "pending",
  "created_at": "2021-03-05T13:52:24.000+09:00",
  "updated_at": "2021-03-05T13:52:24.000+09:00",
  "swift_bank_name": "",
  "swift_branch_name": "",
  "swift_branch_address": "",
  "swift_account_number": "",
  "swift_account_holder": "",
  "swift_account_address": "",
  "swift_bic_code": "",
  "zengin_bank_name": "みずほ銀行",
  "zengin_bank_code": "0001",
  "zengin_branch_name": "水戸支店",
  "zengin_branch_code": "316",
  "zengin_account_type": "ordinary",
  "zengin_account_number": "1234567",
  "zengin_account_holder": "古茂樹 太郎",
  "zengin_account_holder_kana": "コモジュ タロウ",
  "sepa_iban": "",
  "sepa_swift_bic_code": "",
  "sepa_account_holder": "",
  "transfer_type": "domestic"
}