Testing & Sandbox
Sandbox

Create a legal entity

Create a new legal entity for a company in a given country, with KYB automatically passed.

The entity is created with active status and can be set as the company's default using the reassign default entity endpoint. This endpoint is only available in Sandbox, otherwise it will respond with a 404.

Authentication

This endpoint accepts any one of the following token types:

  • Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
  • Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page. See Authorization for customers.
post/v1/sandbox/companies/{company_id}/legal-entities

Request

  • Base URL: https://gateway.remote.com
  • URL: https://gateway.remote.com/v1/sandbox/companies/{company_id}/legal-entities
  • Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token)

Path parameters

company_idstring required

Company ID

Headers

Authorizationstring required

Requires a Company-scoped access token obtained through the Authorization Code flow or the Refresh Token flow.

The refresh token needs to have been obtained through the Authorization Code flow.

Request body

country_codestring required

ISO 3166-1 alpha-3 country code

Example request

{
  "country_code": "DEU"
}

Response

Legal entity created

Changes

No recorded changes to this operation across all 65 revisions of this API.