Javascript
import Ivy from '@getivy/node-sdk'; const client = new Ivy({ apiKey: 'My API Key', }); const subaccount = await client.subaccounts.retrieve({ id: 'id' }); console.log(subaccount.id);
{ "id": "<string>", "legalName": "<string>", "status": "active", "mcc": "<string>", "ownerId": "<any>", "websiteUrl": "<string>", "createdAt": "<any>", "updatedAt": "<any>" }
Retrieve a Subaccount by id.
API key for authentication
Returns a Subaccount
The response is of type object.
object
Was this page helpful?