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 by a company manager through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Company-scoped access token (assertion) (OAuth2CompanyManagerAssertion) — obtained through the urn:ietf:params:oauth:grant-type:jwt-bearer grant for a company manager. See OAuth Assertion.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page, with the scopes they choose there. See Authorization for customers.
post/v1/sandbox/companies/{company_id}/legal-entities
Request
- Base URLhttps://gateway.remote.com
- URLhttps://gateway.remote.com/v1/sandbox/companies/{company_id}/legal-entities
- Auth
- OAuth 2Authorization code: /auth/oauth2/authorizeToken URL: /auth/oauth2/token
- or OAuth 2Client credentialsToken URL: /auth/oauth2/token
- or HTTP bearer
Path parameters
company_idstring required
Company ID
Headers
Authorizationstring required
An access token of one of the types listed in this endpoint's Authentication section, as Bearer <ACCESS TOKEN>.
A token from the Refresh Token flow is of the same type as the token issued with that refresh token.
Request body
Example request
{
"country_code": "DEU"
}Response
Legal entity created
Changes
No recorded changes to this operation across all 1 revision of this API.