Company Information
              
                POST /api/v1/company_information
              
              
              Create Company Information
            
        Creates a new 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 POST https://komoju.com/api/v1/live_application/company_information \
  -u sk_123456: \
  -d "company_name=McKenzie" \
  -d "company_name_kana=%E3%83%87%E3%82%B8%E3%82%AB" \
  -d "company_name_alphabet=Degica" \
  -d "registration_number=9258244461478" \
  -d "company_phone=(283)%20842-4687%20x670" \
  -d "company_country=JP" \
  -d "company_postal_code=89330-7963" \
  -d "company_prefecture_state=New%20York" \
  -d "company_city=Moenshire" \
  -d "company_address=9727%20Ziemann%20Fords" \
  -d "company_address_kana=%EF%BD%B6%EF%BE%80%EF%BD%B6%EF%BE%85" \
  -d "company_address_building_name=Apt.%20371" \
  -d "company_address_building_name_kana=%EF%BD%B6%EF%BE%80%EF%BD%B6%EF%BE%85" \
  -d "company_url=https%3A%2F%2Fexample.com%2Fa%2Fb" \
  -d "industry_description=Government%20Agency" \
  -d "business_description=Education%20Management" \
  -d "employee_number=506" \
  -d "establishment_date=2020-03-13" \
  -d "office_name=Frami-Murphy" \
  -d "contact_email=britneygorczany@miller.biz" \
  -d "contact_phone=679.978.4134" \
  -d "corporation_type=corporation" \
  -d "share_capital_amount=1234" \
  -d "share_capital_currency=JPY" \
  -d "incorporation_certificates[]=7estyza4j4a5s1wdqhhe0r4f7" 
    var querystring = require('querystring');
var https = require('https');
var secret_key = 'sk_123456'
var auth = 'Basic ' + Buffer.from(secret_key + ':').toString('base64');
var post_data = querystring.stringify({
  'company_name': 'McKenzie',
  'company_name_kana': 'デジカ',
  'company_name_alphabet': 'Degica',
  'registration_number': '9258244461478',
  'company_phone': '(283) 842-4687 x670',
  'company_country': 'JP',
  'company_postal_code': '89330-7963',
  'company_prefecture_state': 'New York',
  'company_city': 'Moenshire',
  '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',
  'share_capital_amount': '1234',
  'share_capital_currency': 'JPY',
  'incorporation_certificates[]': '7estyza4j4a5s1wdqhhe0r4f7'
});
var post_options = {
  host: 'komoju.com',
  port: '443',
  path: '/api/v1/live_application/company_information',
  method: 'POST',
  headers: {
    'Authorization': auth,
    'Content-Length': Buffer.byteLength(post_data)
  }
};
var post_req = https.request(post_options, function(res) {
    res.setEncoding('utf8');
    res.on('data', function (chunk) {
        console.log(chunk);
    });
});
post_req.write(post_data);
post_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}"
}
body = {
  company_name: "McKenzie",
  company_name_kana: "デジカ",
  company_name_alphabet: "Degica",
  registration_number: "9258244461478",
  company_phone: "(283) 842-4687 x670",
  company_country: "JP",
  company_postal_code: "89330-7963",
  company_prefecture_state: "New York",
  company_city: "Moenshire",
  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",
  share_capital_amount: "1234",
  share_capital_currency: "JPY",
  incorporation_certificates: [
    "7estyza4j4a5s1wdqhhe0r4f7"
  ]
}
res = https.post(
  uri.path,
  body.to_json,
  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": [
  ]
}
  Params
| Param name | Description | 
|---|---|
      company_countryoptional  | 
    
       Company Country of the General Information.   | 
  
      corporation_typeoptional  | 
    
       Corporation Type of the General Information. Must be either corporation or sole_proprietor.  | 
  
      company_nameoptional  | 
    
       Company Name of the General Information  | 
  
      company_name_kanaoptional  | 
    
       Company Name of the General Information represented in Japanese Kana  | 
  
      company_name_alphabetoptional  | 
    
       Company Name of the General Information represented in Alphabet  | 
  
      share_capital_amountoptional  | 
    
       Company Share Capital Amount of the General Information  | 
  
      share_capital_currencyoptional  | 
    
       Company Share Capital Currency of the General Information  | 
  
      registration_numberoptional  | 
    
       Registration Number of the General Information  | 
  
      company_phoneoptional  | 
    
       Company Phone of the General Information  | 
  
      company_postal_codeoptional  | 
    
       Postal Code of the Company Address  | 
  
      company_prefecture_stateoptional  | 
    
       Prefecture/State of the Company Address  | 
  
      company_cityoptional  | 
    
       City of the Company Address  | 
  
      company_addressoptional  | 
    
       Address of the Company Address  | 
  
      company_address_kanaoptional  | 
    
       Address of the Company Address represented in Japanese Kana  | 
  
      company_address_building_nameoptional  | 
    
       Building Name of the Company Addressd  | 
  
      company_address_building_name_kanaoptional  | 
    
       Building Name of the Company Address represented in Japanese Kana  | 
  
      company_urloptional  | 
    
       Company URL of the Business Information  | 
  
      industry_descriptionoptional  | 
    
       Industry of the Business Information  | 
  
      business_descriptionoptional  | 
    
       Business description of the Business Information  | 
  
      employee_numberoptional  | 
    
       Number of employees of the Business Information  | 
  
      establishment_dateoptional  | 
    
       Establishment Date of the Business Information  | 
  
      office_nameoptional  | 
    
       Customer Support Department Name of the Contact Information  | 
  
      contact_emailoptional  | 
    
       Customer Support Contact E-mail Address of the Contact Information  | 
  
      contact_phoneoptional  | 
    
       Customer Support Phone of the Contact Information  | 
  
      incorporation_certificatesoptional  | 
    
       An arrary of file ID. Please upload a copy of your company's incorporation certificate/extract of business registration via the File API. After uploading, please provide the ID of file returned by the File API.  | 
  
      sole_proprietor_proofsoptional  | 
    
       An arrary of file ID. Please upload your proof of registration of Sole-Proprietorship via the File API. After uploading, please provide the ID of file returned by the File API.  | 
  
              
                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": [
  ]
}
  
              
                PATCH /api/v1/company_information
              
              
              Update Company Information
            
        Update 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 PATCH https://komoju.com/api/v1/live_application/company_information \
  -u sk_123456: \
  -d "name=I%20am%20changing%20this%20in%20this%20request" 
    var querystring = require('querystring');
var https = require('https');
var secret_key = 'sk_123456'
var auth = 'Basic ' + Buffer.from(secret_key + ':').toString('base64');
var patch_data = querystring.stringify({
  'name': 'I am changing this in this request'
});
var patch_options = {
  host: 'komoju.com',
  port: '443',
  path: '/api/v1/live_application/company_information',
  method: 'PATCH',
  headers: {
    'Authorization': auth,
    'Content-Length': Buffer.byteLength(patch_data)
  }
};
var patch_req = https.request(patch_options, function(res) {
    res.setEncoding('utf8');
    res.on('data', function (chunk) {
        console.log(chunk);
    });
});
patch_req.write(patch_data);
patch_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}"
}
body = {
  name: "I am changing this in this request"
}
res = https.patch(
  uri.path,
  body.to_json,
  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": "I am changing this in this request",
  "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": [
  ]
}
  Params
| Param name | Description | 
|---|---|
      company_countryoptional  | 
    
       Company Country of the General Information.   | 
  
      corporation_typeoptional  | 
    
       Corporation Type of the General Information. Must be either corporation or sole_proprietor.  | 
  
      company_nameoptional  | 
    
       Company Name of the General Information  | 
  
      company_name_kanaoptional  | 
    
       Company Name of the General Information represented in Japanese Kana  | 
  
      company_name_alphabetoptional  | 
    
       Company Name of the General Information represented in Alphabet  | 
  
      share_capital_amountoptional  | 
    
       Company Share Capital Amount of the General Information  | 
  
      share_capital_currencyoptional  | 
    
       Company Share Capital Currency of the General Information  | 
  
      registration_numberoptional  | 
    
       Registration Number of the General Information  | 
  
      company_phoneoptional  | 
    
       Company Phone of the General Information  | 
  
      company_postal_codeoptional  | 
    
       Postal Code of the Company Address  | 
  
      company_prefecture_stateoptional  | 
    
       Prefecture/State of the Company Address  | 
  
      company_cityoptional  | 
    
       City of the Company Address  | 
  
      company_addressoptional  | 
    
       Address of the Company Address  | 
  
      company_address_kanaoptional  | 
    
       Address of the Company Address represented in Japanese Kana  | 
  
      company_address_building_nameoptional  | 
    
       Building Name of the Company Addressd  | 
  
      company_address_building_name_kanaoptional  | 
    
       Building Name of the Company Address represented in Japanese Kana  | 
  
      company_urloptional  | 
    
       Company URL of the Business Information  | 
  
      industry_descriptionoptional  | 
    
       Industry of the Business Information  | 
  
      business_descriptionoptional  | 
    
       Business description of the Business Information  | 
  
      employee_numberoptional  | 
    
       Number of employees of the Business Information  | 
  
      establishment_dateoptional  | 
    
       Establishment Date of the Business Information  | 
  
      office_nameoptional  | 
    
       Customer Support Department Name of the Contact Information  | 
  
      contact_emailoptional  | 
    
       Customer Support Contact E-mail Address of the Contact Information  | 
  
      contact_phoneoptional  | 
    
       Customer Support Phone of the Contact Information  | 
  
      incorporation_certificatesoptional  | 
    
       An arrary of file ID. Please upload a copy of your company's incorporation certificate/extract of business registration via the File API. After uploading, please provide the ID of file returned by the File API.  | 
  
      sole_proprietor_proofsoptional  | 
    
       An arrary of file ID. Please upload your proof of registration of Sole-Proprietorship via the File API. After uploading, please provide the ID of file returned by the File API.  |