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.
サンプル
- 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": [
  ]
}パラメータ
| 名前 | 説明 | 
|---|---|
| company_country任意 | Company Country of the General Information.  | 
| corporation_type任意 | Corporation Type of the General Information. Must be either corporation or sole_proprietor. | 
| company_name任意 | Company Name of the General Information | 
| company_name_kana任意 | Company Name of the General Information represented in Japanese Kana | 
| company_name_alphabet任意 | Company Name of the General Information represented in Alphabet | 
| share_capital_amount任意 | Company Share Capital Amount of the General Information | 
| share_capital_currency任意 | Company Share Capital Currency of the General Information | 
| registration_number任意 | Registration Number of the General Information | 
| company_phone任意 | Company Phone of the General Information | 
| company_postal_code任意 | Postal Code of the Company Address | 
| company_prefecture_state任意 | Prefecture/State of the Company Address | 
| company_city任意 | City of the Company Address | 
| company_address任意 | Address of the Company Address | 
| company_address_kana任意 | Address of the Company Address represented in Japanese Kana | 
| company_address_building_name任意 | Building Name of the Company Addressd | 
| company_address_building_name_kana任意 | Building Name of the Company Address represented in Japanese Kana | 
| company_url任意 | Company URL of the Business Information | 
| industry_description任意 | Industry of the Business Information | 
| business_description任意 | Business description of the Business Information | 
| employee_number任意 | Number of employees of the Business Information | 
| establishment_date任意 | Establishment Date of the Business Information | 
| office_name任意 | Customer Support Department Name of the Contact Information | 
| contact_email任意 | Customer Support Contact E-mail Address of the Contact Information | 
| contact_phone任意 | Customer Support Phone of the Contact Information | 
| incorporation_certificates任意 | 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_proofs任意 | 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. |