Get a sub-entity's business details
Retrieve the business details of one of your sub-entities, onboarded through our <a href="https://www.checkout.com/docs/platforms" target="_blank">Platforms solution</a>.
Business details are the parts of a sub-entity's company information that can change after onboarding. If a change to them is under review, this endpoint returns the submitted values with a pending status by default, so you can retrieve a change you've already submitted.
To retrieve the values currently in effect while a change is under review, send GET /accounts/entities/{id}/business-details?status=active. To retrieve only a change under review, send GET /accounts/entities/{id}/business-details?status=pending. The pending values include the documents submitted with the change.
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesaccounts
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The sub-entity's ID.
Query parameters
The version of the sub-entity's business details to return. status selects which values are returned, but does not filter them.
Use active to retrieve the values currently in effect. This shows you the values a pending change would replace once approved.
Use pending to retrieve the values submitted in a change that is still under review. The request returns 404 if no change is under review.
If you omit this parameter and a change is under review, the endpoint returns the pending values. Otherwise, it returns the active values.
Response
Business details retrieved successfully
Example response
{
"legal_name": "The Online Retailer",
"trading_name": "Online Retail Co",
"registered_address": {
"address_line1": "444 Test Avenue",
"city": "Anytown",
"zip": "67890-1234",
"country": "US",
"state": "FL"
},
"principal_address": {
"address_line1": "123 Anywhere St.",
"city": "Anytown",
"zip": "12345-6789",
"country": "US",
"address_line2": "Apt. 456",
"state": "AL"
},
"status": "active",
"additional_trading_names": [
"Online Retail"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.