Sub Accounts
Get a Sub Account
Get information about a sub account.
get/sub_accounts/{id}
Request
- Base URLhttps://api.justifi.ai/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Headers
Authorizationstring required
the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)
Response
Successfully get a sub account
Example response
{
"id": "prefix_xyz (same as id of data object)",
"type": "sub_account",
"data": {
"id": "acc_xyz",
"name": "The Shire Haberdashery",
"account_type": "live",
"status": "enabled",
"currency": "usd",
"platform_account_id": "acc_xyz",
"payout_account_id": "ba_xyz",
"business_id": "biz_xyz",
"related_accounts": {
"live_account_id": "acc_xyz",
"test_account_id": "acc_xyz"
},
"payments_activated_on": "2021-01-15T12:00:00Z",
"created_at": "2021-01-01T12:00:00Z",
"updated_at": "2021-01-01T12:00:00Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.