GET /api/v1/company_information
Show Company Information
Show the fields of an existing company 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/company_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/company_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/company_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
{
"id": "62dwxa760ohtfxn44xs35eol0",
"resource": "company_information",
"status": "pending",
"created_at": "2021-03-01T13:07:08.000+09:00",
"updated_at": "2021-03-01T13:07:08.000+09:00",
"company_name": "McKenzie",
"company_name_kana": "デジカ",
"company_name_alphabet": "Degica",
"registration_number": "9258244461478",
"share_capital_amount": 1234,
"share_capital_currency": "JPY",
"company_phone": "(283) 842-4687 x670",
"company_country": "JP",
"company_postal_code": "89330-7963",
"company_prefecture_state": "New York",
"company_prefecture_state_kana": null,
"company_city": "Moenshire",
"company_city_kana": null,
"company_address": "9727 Ziemann Fords",
"company_address_kana": "カタカナ",
"company_address_building_name": "Apt. 371",
"company_address_building_name_kana": "カタカナ",
"company_url": "https://example.com/a/b",
"industry_description": "Government Agency",
"business_description": "Education Management",
"employee_number": 506,
"establishment_date": "2020-03-13",
"office_name": "Frami-Murphy",
"contact_email": "britneygorczany@miller.biz",
"contact_phone": "679.978.4134",
"corporation_type": "corporation",
"incorporation_certificates": [
"7estyza4j4a5s1wdqhhe0r4f7"
],
"sole_proprietor_proofs": [
]
}