> This page is for version v1 (default).
> For other versions, use one of these documentation indexes:
> - v1 (default): https://developers.outpave.com/v1/llms.txt
> - v2: https://developers.outpave.com/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.outpave.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.outpave.com/_mcp/server.

# Update onboarding record

POST https://api.outpave.com/api/v1/platform/onboard/{companyId}
Content-Type: application/json

Updates the business and owner details on an existing onboarding record. An owner already on the company is matched by its `id` or its email and updated; any other owner is added. Requires **Admin** role.

Reference: https://developers.outpave.com/api-reference/platform-api/onboarding/post-api-platform-onboard-companyid

## Authentication

- `Authorization` header (bearer token, required) — A short-lived UUID access token from `GET /api/v1/platform/token`. Send as `Authorization: Bearer {token}`.

## Request

### Path parameters

- `companyId` (string, required) — The company's unique identifier (returned by `Create onboarding record`).

### Body (application/json)

This endpoint expects an OnboardPayload.

- `businessInfo` (BusinessInfo, required) — The business details for an onboarding submission.
- `owners` (list of Owner, required) — The beneficial owners of the business. At least one is required. Each owner is saved with its legal role and ownership percentage. The first owner is the representative who acts for the business. A new owner is invited to sign in as an Admin unless its `access` is `VERIFICATION_ONLY`; an owner already on the company keeps their access. Each person may appear once, by id or by email, and an owner's id and email may not name two different people. If any owner cannot be saved, the submission fails with 422.
- `ipAddressOfRegistrant` (string, required) — The IP address of the person submitting this onboarding, captured for compliance.
- `userAgentOfRegistrant` (string, required) — The user agent of the person submitting this onboarding, captured for compliance.

## Response

### 200

Onboarding record updated.

- `platformId` (string, required) — Your platform's unique identifier.
- `companyId` (string, required) — The onboarded company's unique identifier.
- `companyName` (string, required) — The company's display name.
- `status` (string, required) — The current onboarding status.
- `errorMessage` (list of OnboardErrorMessage, required) — Any errors blocking onboarding. Empty when there are none.
- `manualResolutionUrl` (string, required) — A URL to resolve any blocking errors manually. Empty when no action is required.
- `metadata` (OnboardResponseMetadata, required) — Additional metadata about the onboarding. On initial submission this echoes back the submitted `OnboardPayload`. Once the account is created, this contains the connected account.

## Errors

### 400 Bad Request Error

The request was malformed or failed validation.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

### 401 Unauthorized Error

The credential is missing, invalid, expired, or doesn't have permission for this endpoint.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

### 403 Forbidden Error

The credential is valid but doesn't have permission to access this resource, or your plan does not include API access.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

### 404 Not Found Error

The requested resource doesn't exist or isn't accessible to your platform.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

### 422 Unprocessable Entity Error

The update failed, for example an owner could not be saved; the response names the owner by its position.

- `status` (enum, required) — Always `failed`.
  - Allowed values: `failed`
- `errorMessage` (list of string, required) — One or more human-readable validation errors.
- `manualResolutionUrl` (string, required, nullable) — A URL to resolve the failure manually, if applicable.
- `metadata` (OnboardFailureResponseMetadata, required) — Additional metadata. May be empty.
- `platformId` (string, optional) — Your platform's unique identifier, present when `companyId` is.
- `companyId` (string, optional) — The company the submission was for, present once that company exists.
- `companyName` (string, optional) — The company's display name, when it has one.

### 500 Internal Server Error

An unexpected server error occurred. Retry the request; if the problem persists, contact support.

- `error` (string, required) — A short, human-readable error message.
- `details` (list of string, optional) — Additional error details (returned on validation failures).

## Types

### BusinessInfo

The business details for an onboarding submission.

- `businessLegalName` (string, required) — The business's legal name.
- `businessDBA` (string, required) — The "doing business as" name.
- `businessStructure` (enum, required) — The legal structure of the business.
  - Allowed values: `CORPORATION`, `PARTNERSHIP`, `SOLE_PROPRIETORSHIP`, `NON_PROFIT`, `LLC`, `PRIVATE_CORPORATION`, `PUBLIC_CORPORATION`
- `businessEIN` (string, required) — The business's Employer Identification Number (US).
- `description` (string, required) — A short description of the business.
- `websiteURL` (string, required) — The business's website URL.
- `phoneNumber` (string, required) — A valid contact phone number for the business.
- `industryCode` (string, required) — The industry classification code (NAICS).
- `annualRevenue` (long, required) — The business's annual revenue, in the smallest unit of its currency.
- `fiscalYearEnd` (date, required) — The end of the business's fiscal year (ISO 8601).
- `workerCount` (integer, required) — The estimated number of workers at the business.
- `businessType` (string, required) — The high-level business type.
- `mcc` (string, required) — The merchant category code (MCC) for the business.
- `address` (Address, required) — The business's registered address.
- `taxId` (string, required) — The tax identification number for the business.

### Owner

A beneficial owner of the business.

- `firstName` (string, required) — The owner's first name.
- `lastName` (string, required) — The owner's last name.
- `email` (string, required) — The owner's email address. An owner already on the company changes email only while that person is inactive and has no login; otherwise the stored email is kept and sent to the card issuer.
- `title` (enum, required) — The owner's title at the business.
  - Allowed values: `AUTHORIZED_SIGNATORY`, `COO`, `CFO`, `PRESIDENT`, `VICE_PRESIDENT`, `TREASURER`, `OWNER`
- `phone` (string, required) — A valid US phone number for the owner.
- `birthdate` (date, required) — The owner's date of birth (ISO 8601).
- `identifyingType` (string, required) — The type of government ID provided (e.g. `SSN`, `EIN`, `ITIN`).
- `identifyingId` (string, required) — The government ID number.
- `issuingCountry` (string, required) — The ISO 3166 country code for the issuing country.
- `address` (Address, required) — The owner's residential address.
- `ownershipPercentage` (double, required) — The percentage of the business this person owns (0-100, at most two decimal places). Some card programs need a whole percentage for each owner and refuse a fraction with 422.
- `id` (string, optional) — The owner's unique identifier. When updating, it names an owner already on the company (an owner sent without it is matched by email); it is not used when creating a company.
- `access` (enum, optional, default: APP_USER) — How a new owner is added. `APP_USER` invites them to sign in as an Admin, as before. `VERIFICATION_ONLY` saves them for identity verification only, with no login, role or card, and they cannot later be invited with the same email through this API. Refused with 422 where verification-only owners are not available yet. An owner already on the company keeps their access.
  - Allowed values: `APP_USER`, `VERIFICATION_ONLY`

### OnboardErrorMessage

A single onboarding error. Each entry is either a string code (e.g. `requirements.past_due`) or a structured object.

- string
- map from string to any

### OnboardResponseMetadata

Additional metadata about the onboarding. On initial submission this echoes back the submitted `OnboardPayload`. Once the account is created, this contains the connected account.

### OnboardFailureResponseMetadata

Additional metadata. May be empty.

### Address

- `city` (string, required)
- `country` (string, required)
- `address1` (string, required)
- `zipcode` (string, required)
- `state` (string, required)
- `address2` (string, optional, nullable)

## Examples

**Request**

```json
{
  "businessInfo": {
    "businessLegalName": "string",
    "businessDBA": "string",
    "businessStructure": "PRIVATE_CORPORATION",
    "businessEIN": "string",
    "description": "string",
    "websiteURL": "string",
    "phoneNumber": "string",
    "industryCode": "string",
    "annualRevenue": 1,
    "fiscalYearEnd": "2023-01-15",
    "workerCount": 1,
    "businessType": "company",
    "mcc": "string",
    "address": {
      "city": "string",
      "country": "US",
      "address1": "string",
      "zipcode": "string",
      "state": "string"
    },
    "taxId": "string"
  },
  "owners": [
    {
      "firstName": "string",
      "lastName": "string",
      "email": "string",
      "title": "OWNER",
      "phone": "string",
      "birthdate": "2023-01-15",
      "identifyingType": "SSN",
      "identifyingId": "string",
      "issuingCountry": "US",
      "address": {
        "city": "string",
        "country": "US",
        "address1": "string",
        "zipcode": "string",
        "state": "string"
      },
      "ownershipPercentage": 1.1
    }
  ],
  "ipAddressOfRegistrant": "198.0.0.1",
  "userAgentOfRegistrant": "Chrome"
}
```

**Response**

```json
{
  "platformId": "cb8993c2-fdb8-4104-b503-49fb215acb94",
  "companyId": "d3f103e4-9175-4de3-98f5-b36e0b0a0fbd",
  "companyName": "Acme Co",
  "status": "success",
  "errorMessage": [],
  "manualResolutionUrl": "",
  "metadata": {}
}
```

**SDK Code**

```python
import requests

url = "https://api.outpave.com/api/v1/platform/onboard/companyId"

payload = {
    "businessInfo": {
        "businessLegalName": "string",
        "businessDBA": "string",
        "businessStructure": "PRIVATE_CORPORATION",
        "businessEIN": "string",
        "description": "string",
        "websiteURL": "string",
        "phoneNumber": "string",
        "industryCode": "string",
        "annualRevenue": 1,
        "fiscalYearEnd": "2023-01-15",
        "workerCount": 1,
        "businessType": "company",
        "mcc": "string",
        "address": {
            "city": "string",
            "country": "US",
            "address1": "string",
            "zipcode": "string",
            "state": "string"
        },
        "taxId": "string"
    },
    "owners": [
        {
            "firstName": "string",
            "lastName": "string",
            "email": "string",
            "title": "OWNER",
            "phone": "string",
            "birthdate": "2023-01-15",
            "identifyingType": "SSN",
            "identifyingId": "string",
            "issuingCountry": "US",
            "address": {
                "city": "string",
                "country": "US",
                "address1": "string",
                "zipcode": "string",
                "state": "string"
            },
            "ownershipPercentage": 1.1
        }
    ],
    "ipAddressOfRegistrant": "198.0.0.1",
    "userAgentOfRegistrant": "Chrome"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.outpave.com/api/v1/platform/onboard/companyId';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"businessInfo":{"businessLegalName":"string","businessDBA":"string","businessStructure":"PRIVATE_CORPORATION","businessEIN":"string","description":"string","websiteURL":"string","phoneNumber":"string","industryCode":"string","annualRevenue":1,"fiscalYearEnd":"2023-01-15","workerCount":1,"businessType":"company","mcc":"string","address":{"city":"string","country":"US","address1":"string","zipcode":"string","state":"string"},"taxId":"string"},"owners":[{"firstName":"string","lastName":"string","email":"string","title":"OWNER","phone":"string","birthdate":"2023-01-15","identifyingType":"SSN","identifyingId":"string","issuingCountry":"US","address":{"city":"string","country":"US","address1":"string","zipcode":"string","state":"string"},"ownershipPercentage":1.1}],"ipAddressOfRegistrant":"198.0.0.1","userAgentOfRegistrant":"Chrome"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.outpave.com/api/v1/platform/onboard/companyId"

	payload := strings.NewReader("{\n  \"businessInfo\": {\n    \"businessLegalName\": \"string\",\n    \"businessDBA\": \"string\",\n    \"businessStructure\": \"PRIVATE_CORPORATION\",\n    \"businessEIN\": \"string\",\n    \"description\": \"string\",\n    \"websiteURL\": \"string\",\n    \"phoneNumber\": \"string\",\n    \"industryCode\": \"string\",\n    \"annualRevenue\": 1,\n    \"fiscalYearEnd\": \"2023-01-15\",\n    \"workerCount\": 1,\n    \"businessType\": \"company\",\n    \"mcc\": \"string\",\n    \"address\": {\n      \"city\": \"string\",\n      \"country\": \"US\",\n      \"address1\": \"string\",\n      \"zipcode\": \"string\",\n      \"state\": \"string\"\n    },\n    \"taxId\": \"string\"\n  },\n  \"owners\": [\n    {\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"email\": \"string\",\n      \"title\": \"OWNER\",\n      \"phone\": \"string\",\n      \"birthdate\": \"2023-01-15\",\n      \"identifyingType\": \"SSN\",\n      \"identifyingId\": \"string\",\n      \"issuingCountry\": \"US\",\n      \"address\": {\n        \"city\": \"string\",\n        \"country\": \"US\",\n        \"address1\": \"string\",\n        \"zipcode\": \"string\",\n        \"state\": \"string\"\n      },\n      \"ownershipPercentage\": 1.1\n    }\n  ],\n  \"ipAddressOfRegistrant\": \"198.0.0.1\",\n  \"userAgentOfRegistrant\": \"Chrome\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.outpave.com/api/v1/platform/onboard/companyId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"businessInfo\": {\n    \"businessLegalName\": \"string\",\n    \"businessDBA\": \"string\",\n    \"businessStructure\": \"PRIVATE_CORPORATION\",\n    \"businessEIN\": \"string\",\n    \"description\": \"string\",\n    \"websiteURL\": \"string\",\n    \"phoneNumber\": \"string\",\n    \"industryCode\": \"string\",\n    \"annualRevenue\": 1,\n    \"fiscalYearEnd\": \"2023-01-15\",\n    \"workerCount\": 1,\n    \"businessType\": \"company\",\n    \"mcc\": \"string\",\n    \"address\": {\n      \"city\": \"string\",\n      \"country\": \"US\",\n      \"address1\": \"string\",\n      \"zipcode\": \"string\",\n      \"state\": \"string\"\n    },\n    \"taxId\": \"string\"\n  },\n  \"owners\": [\n    {\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"email\": \"string\",\n      \"title\": \"OWNER\",\n      \"phone\": \"string\",\n      \"birthdate\": \"2023-01-15\",\n      \"identifyingType\": \"SSN\",\n      \"identifyingId\": \"string\",\n      \"issuingCountry\": \"US\",\n      \"address\": {\n        \"city\": \"string\",\n        \"country\": \"US\",\n        \"address1\": \"string\",\n        \"zipcode\": \"string\",\n        \"state\": \"string\"\n      },\n      \"ownershipPercentage\": 1.1\n    }\n  ],\n  \"ipAddressOfRegistrant\": \"198.0.0.1\",\n  \"userAgentOfRegistrant\": \"Chrome\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.outpave.com/api/v1/platform/onboard/companyId")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"businessInfo\": {\n    \"businessLegalName\": \"string\",\n    \"businessDBA\": \"string\",\n    \"businessStructure\": \"PRIVATE_CORPORATION\",\n    \"businessEIN\": \"string\",\n    \"description\": \"string\",\n    \"websiteURL\": \"string\",\n    \"phoneNumber\": \"string\",\n    \"industryCode\": \"string\",\n    \"annualRevenue\": 1,\n    \"fiscalYearEnd\": \"2023-01-15\",\n    \"workerCount\": 1,\n    \"businessType\": \"company\",\n    \"mcc\": \"string\",\n    \"address\": {\n      \"city\": \"string\",\n      \"country\": \"US\",\n      \"address1\": \"string\",\n      \"zipcode\": \"string\",\n      \"state\": \"string\"\n    },\n    \"taxId\": \"string\"\n  },\n  \"owners\": [\n    {\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"email\": \"string\",\n      \"title\": \"OWNER\",\n      \"phone\": \"string\",\n      \"birthdate\": \"2023-01-15\",\n      \"identifyingType\": \"SSN\",\n      \"identifyingId\": \"string\",\n      \"issuingCountry\": \"US\",\n      \"address\": {\n        \"city\": \"string\",\n        \"country\": \"US\",\n        \"address1\": \"string\",\n        \"zipcode\": \"string\",\n        \"state\": \"string\"\n      },\n      \"ownershipPercentage\": 1.1\n    }\n  ],\n  \"ipAddressOfRegistrant\": \"198.0.0.1\",\n  \"userAgentOfRegistrant\": \"Chrome\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.outpave.com/api/v1/platform/onboard/companyId', [
  'body' => '{
  "businessInfo": {
    "businessLegalName": "string",
    "businessDBA": "string",
    "businessStructure": "PRIVATE_CORPORATION",
    "businessEIN": "string",
    "description": "string",
    "websiteURL": "string",
    "phoneNumber": "string",
    "industryCode": "string",
    "annualRevenue": 1,
    "fiscalYearEnd": "2023-01-15",
    "workerCount": 1,
    "businessType": "company",
    "mcc": "string",
    "address": {
      "city": "string",
      "country": "US",
      "address1": "string",
      "zipcode": "string",
      "state": "string"
    },
    "taxId": "string"
  },
  "owners": [
    {
      "firstName": "string",
      "lastName": "string",
      "email": "string",
      "title": "OWNER",
      "phone": "string",
      "birthdate": "2023-01-15",
      "identifyingType": "SSN",
      "identifyingId": "string",
      "issuingCountry": "US",
      "address": {
        "city": "string",
        "country": "US",
        "address1": "string",
        "zipcode": "string",
        "state": "string"
      },
      "ownershipPercentage": 1.1
    }
  ],
  "ipAddressOfRegistrant": "198.0.0.1",
  "userAgentOfRegistrant": "Chrome"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.outpave.com/api/v1/platform/onboard/companyId");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"businessInfo\": {\n    \"businessLegalName\": \"string\",\n    \"businessDBA\": \"string\",\n    \"businessStructure\": \"PRIVATE_CORPORATION\",\n    \"businessEIN\": \"string\",\n    \"description\": \"string\",\n    \"websiteURL\": \"string\",\n    \"phoneNumber\": \"string\",\n    \"industryCode\": \"string\",\n    \"annualRevenue\": 1,\n    \"fiscalYearEnd\": \"2023-01-15\",\n    \"workerCount\": 1,\n    \"businessType\": \"company\",\n    \"mcc\": \"string\",\n    \"address\": {\n      \"city\": \"string\",\n      \"country\": \"US\",\n      \"address1\": \"string\",\n      \"zipcode\": \"string\",\n      \"state\": \"string\"\n    },\n    \"taxId\": \"string\"\n  },\n  \"owners\": [\n    {\n      \"firstName\": \"string\",\n      \"lastName\": \"string\",\n      \"email\": \"string\",\n      \"title\": \"OWNER\",\n      \"phone\": \"string\",\n      \"birthdate\": \"2023-01-15\",\n      \"identifyingType\": \"SSN\",\n      \"identifyingId\": \"string\",\n      \"issuingCountry\": \"US\",\n      \"address\": {\n        \"city\": \"string\",\n        \"country\": \"US\",\n        \"address1\": \"string\",\n        \"zipcode\": \"string\",\n        \"state\": \"string\"\n      },\n      \"ownershipPercentage\": 1.1\n    }\n  ],\n  \"ipAddressOfRegistrant\": \"198.0.0.1\",\n  \"userAgentOfRegistrant\": \"Chrome\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "businessInfo": [
    "businessLegalName": "string",
    "businessDBA": "string",
    "businessStructure": "PRIVATE_CORPORATION",
    "businessEIN": "string",
    "description": "string",
    "websiteURL": "string",
    "phoneNumber": "string",
    "industryCode": "string",
    "annualRevenue": 1,
    "fiscalYearEnd": "2023-01-15",
    "workerCount": 1,
    "businessType": "company",
    "mcc": "string",
    "address": [
      "city": "string",
      "country": "US",
      "address1": "string",
      "zipcode": "string",
      "state": "string"
    ],
    "taxId": "string"
  ],
  "owners": [
    [
      "firstName": "string",
      "lastName": "string",
      "email": "string",
      "title": "OWNER",
      "phone": "string",
      "birthdate": "2023-01-15",
      "identifyingType": "SSN",
      "identifyingId": "string",
      "issuingCountry": "US",
      "address": [
        "city": "string",
        "country": "US",
        "address1": "string",
        "zipcode": "string",
        "state": "string"
      ],
      "ownershipPercentage": 1.1
    ]
  ],
  "ipAddressOfRegistrant": "198.0.0.1",
  "userAgentOfRegistrant": "Chrome"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.outpave.com/api/v1/platform/onboard/companyId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```